summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-30 07:32:54 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-30 09:20:33 +0200
commit92aac19cbf12b5b476182fb01edb45826e0a13b6 (patch)
tree9d685af8ee141db3d35b4e750d7ac0f99df07ffb /dev-python
parentdev-python/moto: Bump to 3.1.11 (diff)
downloadgentoo-92aac19cbf12b5b476182fb01edb45826e0a13b6.tar.gz
gentoo-92aac19cbf12b5b476182fb01edb45826e0a13b6.tar.bz2
gentoo-92aac19cbf12b5b476182fb01edb45826e0a13b6.zip
dev-python/flit_scm: Bump to 1.6.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/flit_scm/Manifest1
-rw-r--r--dev-python/flit_scm/flit_scm-1.6.2.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/flit_scm/Manifest b/dev-python/flit_scm/Manifest
index b0394997d589..539cccae922b 100644
--- a/dev-python/flit_scm/Manifest
+++ b/dev-python/flit_scm/Manifest
@@ -1 +1,2 @@
DIST flit_scm-1.5.0.tar.bz2 3230 BLAKE2B f29f7c0cc341fe12d621d0a8f91b5d983f8f7e4259155a7119b07d8e159a12755ae60e007d1ace9054385104aa2a572454653ef9f92a3043777b1e631dfd5f20 SHA512 1b8d4a653dffb4685ad91843147ba6dc693b6d1d4f21e8766782d04edc1ec992e3ad4a3ce82d25e01a089816648f86228db75024e39a7a277b6fae9f8fc4567a
+DIST flit_scm-1.6.2.tar.bz2 3230 BLAKE2B 3977f1be820f2f590f4f781f065661adfc4a05427a87882093acad81f87eee2ba20d910ba3662b5b19997735f0356d262a4f150ba940310166b62a019b68ba05 SHA512 32690af4d24eb704338c78fdb0080d9f910a0741066d282e79eb88c473ada8d9a3daeba1a9aecfe830b2a6d0cea8da471bf6ef904b105fd8036994e4a0e12d12
diff --git a/dev-python/flit_scm/flit_scm-1.6.2.ebuild b/dev-python/flit_scm/flit_scm-1.6.2.ebuild
new file mode 100644
index 000000000000..58badd36d354
--- /dev/null
+++ b/dev-python/flit_scm/flit_scm-1.6.2.ebuild
@@ -0,0 +1,37 @@
+# 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 ~x86"
+
+RDEPEND="
+ >=dev-python/flit_core-3.5.0[${PYTHON_USEDEP}]
+ >=dev-python/setuptools_scm-6.4.2[${PYTHON_USEDEP}]
+ <dev-python/tomli-3[${PYTHON_USEDEP}]
+ >=dev-python/tomli-2[${PYTHON_USEDEP}]
+"
+
+src_prepare() {
+ # unpin deps
+ sed -i -e 's:~=[0-9.]*::' pyproject.toml || die
+ distutils-r1_src_prepare
+}
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}