dev-python/setuptools_scm: Block old versions
authorMichał Górny <mgorny@gentoo.org>
Fri, 10 May 2019 14:30:56 +0000 (16:30 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 10 May 2019 14:35:59 +0000 (16:35 +0200)
Block old versions since presence of one causes the build to fail.
A better solution than a blocker would be preferred but after spending
over an hour fighitng it I wasn't able to come up with one.

Closes: https://bugs.gentoo.org/676024
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/setuptools_scm/setuptools_scm-3.2.0.ebuild
dev-python/setuptools_scm/setuptools_scm-3.3.1.ebuild

index 7ea05108202ace56d16756c3129240bbcf2ed918..4217156ad367292a48c6817c2f4bab13a8ba68f4 100644 (file)
@@ -18,6 +18,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 DEPEND="
+       !!<dev-python/setuptools_scm-3
        dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
                dev-python/pytest[${PYTHON_USEDEP}]
index 7ea05108202ace56d16756c3129240bbcf2ed918..4217156ad367292a48c6817c2f4bab13a8ba68f4 100644 (file)
@@ -18,6 +18,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 DEPEND="
+       !!<dev-python/setuptools_scm-3
        dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
                dev-python/pytest[${PYTHON_USEDEP}]