1 |
commit: 8812ac5eca6a15128735f2c08ec5d328e69c5de7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 5 09:56:52 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 5 10:13:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8812ac5e |
7 |
|
8 |
dev-python/setuptools_scm: Bump to 5.0.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/setuptools_scm/Manifest | 1 + |
13 |
.../setuptools_scm/setuptools_scm-5.0.2.ebuild | 37 ++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/setuptools_scm/Manifest b/dev-python/setuptools_scm/Manifest |
17 |
index 6ce4d008407..00476fe566a 100644 |
18 |
--- a/dev-python/setuptools_scm/Manifest |
19 |
+++ b/dev-python/setuptools_scm/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST setuptools_scm-5.0.1.tar.gz 51679 BLAKE2B 33f43b437b675291ded4408dd5e68ffbf4615938f963516c0047ead023b2f2a50b28a0d91c7c72a8bdff678d9b8b292aeec36bf418b43f8d039f13560b1fbeb6 SHA512 055403539a26caeb119f3d6623e7b32ef52ccc11a39757fdd9b265ba191265346be5a062a5926a381ba47bbd1a666ffa632653ee6055050689cc38fe0f90cd0f |
22 |
+DIST setuptools_scm-5.0.2.tar.gz 52273 BLAKE2B a4166b293f26161be8748f0c4b819dba0c03186a95d0c06b6fd6fdee7910de60e034ab81f6f1d89f7a1b47381441deb8a38d05421aef3287b35705bbddee33ee SHA512 1e92d03e2d8473425c146a885eb641e98895c43afebcd3c66c1455ace2d81f187b87681072f8aacc5e8be166577f00138cc7c53e4b7d77cb1b598f835b72b010 |
23 |
|
24 |
diff --git a/dev-python/setuptools_scm/setuptools_scm-5.0.2.ebuild b/dev-python/setuptools_scm/setuptools_scm-5.0.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..07d1b065978 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/setuptools_scm/setuptools_scm-5.0.2.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
36 |
+PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Manage versions by scm tags via setuptools" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/pypa/setuptools_scm/ |
43 |
+ https://pypi.org/project/setuptools-scm/" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
49 |
+ |
50 |
+BDEPEND=" |
51 |
+ !!<dev-python/setuptools_scm-2 |
52 |
+ test? ( |
53 |
+ dev-python/toml[${PYTHON_USEDEP}] |
54 |
+ dev-vcs/git |
55 |
+ !sparc? ( dev-vcs/mercurial ) )" |
56 |
+ |
57 |
+distutils_enable_tests --install pytest |
58 |
+ |
59 |
+python_prepare_all() { |
60 |
+ # network access |
61 |
+ sed -i -e 's:test_pip_download:_&:' testing/test_regressions.py || die |
62 |
+ # all fetch specific setuptools versions |
63 |
+ rm testing/test_setuptools_support.py || die |
64 |
+ |
65 |
+ distutils-r1_python_prepare_all |
66 |
+} |