summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-01-20 13:29:13 -0800
committerZac Medico <zmedico@gentoo.org>2020-01-20 13:30:19 -0800
commit126b9ce99ab6c590a7f752c8bfc27207af3a573c (patch)
tree430c42046f89570a350e95948a4a8384ea7a5436 /dev-python
parentsci-libs/symmetrica: new C library for representation theory and more. (diff)
downloadgentoo-126b9ce99ab6c590a7f752c8bfc27207af3a573c.tar.gz
gentoo-126b9ce99ab6c590a7f752c8bfc27207af3a573c.tar.bz2
gentoo-126b9ce99ab6c590a7f752c8bfc27207af3a573c.zip
dev-python/python-varlink: Remove setuptools_scm dependency
Reported-by: Toralf Förster <toralf@gentoo.org> Closes: https://bugs.gentoo.org/705968 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/python-varlink/python-varlink-30.3.0.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/python-varlink/python-varlink-30.3.0.ebuild b/dev-python/python-varlink/python-varlink-30.3.0.ebuild
index ebf96d3a69e4..4839a2529d53 100644
--- a/dev-python/python-varlink/python-varlink-30.3.0.ebuild
+++ b/dev-python/python-varlink/python-varlink-30.3.0.ebuild
@@ -20,6 +20,13 @@ RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
DEPEND="${RDEPEND}"
S="${WORKDIR}/python-${PV}"
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+
+ sed -e 's|^[[:space:]]*setuptools_scm$||' \
+ -i setup.cfg || die
+}
+
python_test() {
esetup.py test || die "tests failed with ${EPYTHON}"
}