1 |
commit: 1a0ab61fbc8c2a55ded9e3d794666bf43b0e4f6f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 10 12:51:23 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 10 14:35:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0ab61f |
7 |
|
8 |
dev-python/setuptools_scm: Bump to 3.3.1 |
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-3.3.1.ebuild | 39 ++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/setuptools_scm/Manifest b/dev-python/setuptools_scm/Manifest |
17 |
index dd118b5c122..6a6b42e60aa 100644 |
18 |
--- a/dev-python/setuptools_scm/Manifest |
19 |
+++ b/dev-python/setuptools_scm/Manifest |
20 |
@@ -5,3 +5,4 @@ DIST setuptools_scm-2.1.0.tar.gz 32776 BLAKE2B 7a141f3fa826a82931b6c33afd19d3185 |
21 |
DIST setuptools_scm-3.1.0.tar.gz 35585 BLAKE2B 7ecbdf325467cb3e5217150c548b99603e1bb851a3bc8c694acf3aeb0da798ec853d13b29ad0537bdf5c1010834576786e0dde3965d61991554a12cf206ba7e0 SHA512 bd84bb02900ddc7de2f02dd7cb62bafdea7040ebdc2506b72d05f2c6a6d16be903321e576f63a04f2aa13d8c75b1834dec7d9ea8444e8330281f8e586a3d6426 |
22 |
DIST setuptools_scm-3.2.0.tar.gz 39646 BLAKE2B 922e2e09a9826e8573900e8d279daf937289f91f8fead5230ea7082d85275d5d988d655854a36afd48d6b621eaa261ac9a0cd486acc115f0e389fb6828645e8b SHA512 1995754654f8bf509ec7f2186857ba0005dbaea0b1c734f521becb9d022c127e7b36f21da8defd5ec9883de5d0d4afe006f9d152c4cefe6beadf8b878e949eb2 |
23 |
DIST setuptools_scm-3.3.0.tar.gz 40061 BLAKE2B 374b5d61ba9e4e9a7d5a7f9505ecafe7761d05bd8593a609a1a969af8323ec8fb29793c91276e8540552ef4e31dcca1f993d37374bd01f2c9f97e674447944d1 SHA512 e25be0e7efe56b5dcdaacf31ed512b3396285664a52a14a3d25d9ff4e2d6f3bb8e632d87b78d4ae323e0bbbfd16ac172a7d1b03a6837bf44a9753df1a4b92d0f |
24 |
+DIST setuptools_scm-3.3.1.tar.gz 40183 BLAKE2B 417cb000c3edba7da8e92b8fb5b1d906d2ef0170eecc4c0b9d2ea490ef6bad4cbf5ca172bee0fc536c83605d361604c728bf4097f520ef8e62ee2d4f004e3db1 SHA512 cd8f3d1e97743097791001197c18a2c8336b9e499a543ec5d1ab6e9b613ef1417b59e34c329507a73c2626506ee892ccaee74dddc5c0950ff71c0bdfba954dc3 |
25 |
|
26 |
diff --git a/dev-python/setuptools_scm/setuptools_scm-3.3.1.ebuild b/dev-python/setuptools_scm/setuptools_scm-3.3.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..7ea05108202 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/setuptools_scm/setuptools_scm-3.3.1.ebuild |
31 |
@@ -0,0 +1,39 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="package to manage versions by scm tags via setuptools" |
42 |
+HOMEPAGE="https://github.com/pypa/setuptools_scm https://pypi.org/project/setuptools_scm/" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
48 |
+IUSE="test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ test? ( |
54 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
55 |
+ dev-vcs/git |
56 |
+ dev-vcs/mercurial )" |
57 |
+ |
58 |
+python_prepare_all() { |
59 |
+ # network access |
60 |
+ sed -i -e 's:test_pip_download:_&:' testing/test_regressions.py || die |
61 |
+ # all fetch specific setuptools versions |
62 |
+ rm testing/test_setuptools_support.py || die |
63 |
+ |
64 |
+ distutils-r1_python_prepare_all |
65 |
+} |
66 |
+ |
67 |
+python_test() { |
68 |
+ distutils_install_for_testing |
69 |
+ py.test -v -v -x || die "Tests fail with ${EPYTHON}" |
70 |
+} |