summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-07-07 21:38:20 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-07-07 22:11:44 +0300
commit1bfe0976e5a09037b28da3888416e651d896a4a4 (patch)
tree84eeefc3394d878010d7b3d4a035eea296798969 /dev-python/flit_scm
parentdev-lang/php: Version bump for 8.0.21 (diff)
downloadgentoo-1bfe0976e5a09037b28da3888416e651d896a4a4.tar.gz
gentoo-1bfe0976e5a09037b28da3888416e651d896a4a4.tar.bz2
gentoo-1bfe0976e5a09037b28da3888416e651d896a4a4.zip
dev-python/flit_scm: add 1.7.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/flit_scm')
-rw-r--r--dev-python/flit_scm/Manifest1
-rw-r--r--dev-python/flit_scm/flit_scm-1.7.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/flit_scm/Manifest b/dev-python/flit_scm/Manifest
index 3f23f94ba118..08f296ab228e 100644
--- a/dev-python/flit_scm/Manifest
+++ b/dev-python/flit_scm/Manifest
@@ -1 +1,2 @@
DIST flit_scm-1.6.2.tar.bz2 3230 BLAKE2B 3977f1be820f2f590f4f781f065661adfc4a05427a87882093acad81f87eee2ba20d910ba3662b5b19997735f0356d262a4f150ba940310166b62a019b68ba05 SHA512 32690af4d24eb704338c78fdb0080d9f910a0741066d282e79eb88c473ada8d9a3daeba1a9aecfe830b2a6d0cea8da471bf6ef904b105fd8036994e4a0e12d12
+DIST flit_scm-1.7.0.tar.bz2 3259 BLAKE2B 9b785f9f92b16494f6bf0c21e16ee1abf6a130ebb5c41d4e0e73f4ab1c892ec14544a4b86fe9ba22dbb43a2c28cebbe84328c172566b27c195d41e3686184b9e SHA512 a030cd2ab9d100b971ac20ad5f52f206d951fb6c88cd48db0250269a32cf0dfae70738bf3dc4d36396a3da3e09c7283eec365e12608f6f6d7be3e9076bb931d2
diff --git a/dev-python/flit_scm/flit_scm-1.7.0.ebuild b/dev-python/flit_scm/flit_scm-1.7.0.ebuild
new file mode 100644
index 000000000000..e89e6c0577ab
--- /dev/null
+++ b/dev-python/flit_scm/flit_scm-1.7.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=standalone
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A PEP 518 build backend combining flit with setuptools_scm"
+HOMEPAGE="
+ https://gitlab.com/WillDaSilva/flit_scm/
+ https://pypi.org/project/flit-scm/
+"
+SRC_URI="
+ https://gitlab.com/WillDaSilva/flit_scm/-/archive/${PV}/${P}.tar.bz2
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/flit_core-3.5.0[${PYTHON_USEDEP}]
+ >=dev-python/setuptools_scm-6.4.2[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ <dev-python/tomli-3[${PYTHON_USEDEP}]
+ >=dev-python/tomli-2[${PYTHON_USEDEP}]
+ ' 3.8 3.9 3.10 )
+
+"
+
+src_prepare() {
+ # unpin deps
+ sed -i -e 's:~=[0-9.]*::' pyproject.toml || die
+ distutils-r1_src_prepare
+}
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}