1 |
commit: a20b2d6d0002c3c39f558f34edce88dc6c73e17d |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue May 31 08:51:15 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Tue May 31 09:30:14 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a20b2d6d |
7 |
|
8 |
dev-python/axisregistry: remove setuptools_scm constraint |
9 |
|
10 |
Closes: https://bugs.gentoo.org/835890 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
dev-python/axisregistry/axisregistry-0.2.0.ebuild | 2 ++ |
14 |
.../axisregistry-0.2.0-remove-setuptools_scm-constraint.patch | 11 +++++++++++ |
15 |
2 files changed, 13 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/axisregistry/axisregistry-0.2.0.ebuild b/dev-python/axisregistry/axisregistry-0.2.0.ebuild |
18 |
index bec7cc8fa..39fdb1de2 100644 |
19 |
--- a/dev-python/axisregistry/axisregistry-0.2.0.ebuild |
20 |
+++ b/dev-python/axisregistry/axisregistry-0.2.0.ebuild |
21 |
@@ -24,6 +24,8 @@ DEPEND=" |
22 |
>=dev-python/setuptools_scm-4[${PYTHON_USEDEP}] |
23 |
" |
24 |
|
25 |
+PATCHES=( "${FILESDIR}/${P}-remove-setuptools_scm-constraint.patch" ) |
26 |
+ |
27 |
distutils_enable_tests pytest |
28 |
|
29 |
python_prepare_all() { |
30 |
|
31 |
diff --git a/dev-python/axisregistry/files/axisregistry-0.2.0-remove-setuptools_scm-constraint.patch b/dev-python/axisregistry/files/axisregistry-0.2.0-remove-setuptools_scm-constraint.patch |
32 |
new file mode 100644 |
33 |
index 000000000..630f53983 |
34 |
--- /dev/null |
35 |
+++ b/dev-python/axisregistry/files/axisregistry-0.2.0-remove-setuptools_scm-constraint.patch |
36 |
@@ -0,0 +1,11 @@ |
37 |
+--- a/setup.py |
38 |
++++ b/setup.py |
39 |
+@@ -45,7 +45,7 @@ |
40 |
+ 'Programming Language :: Python :: 3' |
41 |
+ ], |
42 |
+ python_requires=">=3.7", |
43 |
+- setup_requires=['setuptools_scm>=4,<6.1'], |
44 |
++ setup_requires=['setuptools_scm>=4'], |
45 |
+ install_requires=[ |
46 |
+ 'protobuf' |
47 |
+ ] |