1 |
commit: 61567ead234279e44685f68c95671fb94a7702ab |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 31 20:44:54 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 31 21:00:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61567ead |
7 |
|
8 |
dev-python/setuptools_scm: Bump to 4.1.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-4.1.2.ebuild | 41 ++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/setuptools_scm/Manifest b/dev-python/setuptools_scm/Manifest |
17 |
index 8acc80ffa98..bc8aa2a0af8 100644 |
18 |
--- a/dev-python/setuptools_scm/Manifest |
19 |
+++ b/dev-python/setuptools_scm/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST setuptools_scm-3.5.0.tar.gz 46272 BLAKE2B 132711c8312dfbe48f9e2d3d7fcd0a86b057bbcf9a5f6b2e61afe018e116a4df96c3bf5cddf067bc92b96915f70182013749ce65b8fa5feb92ccef903859ee3f SHA512 f7e2cdae7a8a3d5ef3d12effcda5ce7f362c426e11aecaef69ef604bede9abbab2aa1eee6f5310cdd72a9bf11a927dbd1f42671e28bd467ad7b15f2dba5b81d9 |
22 |
DIST setuptools_scm-4.1.0.tar.gz 48740 BLAKE2B 70c7530af963ad49c013f65a2279a76aa8f1ec6809fe463f95803011ecc6725cb18154f6c49f0a976e86a8c60cface13d1caecfa61a51acfa1775df291870e30 SHA512 96f8f3668f4efdb47f422ec33a417d8ad67697b953788757f7557ac3c8910425ff6f9438e2b724bbbd542da1f736dc1f5e02eb5305935d87bb9c4b943aff2f16 |
23 |
DIST setuptools_scm-4.1.1.tar.gz 48784 BLAKE2B 3e9fe54ccd622ccb6fbc48edc0ad58fc32f8b81fbcb985c5308ac2cd6721544d16f704b0f8cc16393aaa9e034638fb8ee974f010a08bb37b5af936f48a6a4888 SHA512 acc44de4a5096adc34ecb67bbcfdaf7fd80954b1595c34a0cb8291ff5bb351a4e3dbbf26832f7f1973ddb834d8bf1caac5caf699eb1b864bf00aeff963bc3fca |
24 |
+DIST setuptools_scm-4.1.2.tar.gz 48784 BLAKE2B 258fab119d3c37c17bd173e4ac34d338a222cee5f55f6b4756f2cb7feeb09e366f8578eead56caeeebc02d1b048199c0b560609e5aecacb23870398ae86f0cf7 SHA512 3d9d1e0479f00f6159b57f9e5b24e34df035d2009ec50d3779c77b1246aabc6d816f2a2d3e6651791316009e39dfcc8a1b84b779077c39501b9de5740abe6af6 |
25 |
|
26 |
diff --git a/dev-python/setuptools_scm/setuptools_scm-4.1.2.ebuild b/dev-python/setuptools_scm/setuptools_scm-4.1.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f28a4689c95 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/setuptools_scm/setuptools_scm-4.1.2.ebuild |
31 |
@@ -0,0 +1,41 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Manage versions by scm tags via setuptools" |
43 |
+HOMEPAGE="https://github.com/pypa/setuptools_scm 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 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
49 |
+IUSE="test" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+BDEPEND=" |
53 |
+ !!<dev-python/setuptools_scm-2 |
54 |
+ test? ( |
55 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
56 |
+ dev-python/toml[${PYTHON_USEDEP}] |
57 |
+ dev-vcs/git |
58 |
+ !sparc? ( dev-vcs/mercurial ) )" |
59 |
+ |
60 |
+python_prepare_all() { |
61 |
+ # network access |
62 |
+ sed -i -e 's:test_pip_download:_&:' testing/test_regressions.py || die |
63 |
+ # all fetch specific setuptools versions |
64 |
+ rm testing/test_setuptools_support.py || die |
65 |
+ |
66 |
+ distutils-r1_python_prepare_all |
67 |
+} |
68 |
+ |
69 |
+python_test() { |
70 |
+ distutils_install_for_testing |
71 |
+ pytest -v -v -x || die "Tests fail with ${EPYTHON}" |
72 |
+} |