1 |
commit: 9a6cf98346cbe3e00c3c244fe7bcc5ae0e13fe8b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 19 07:52:47 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 19 08:17:17 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a6cf983 |
7 |
|
8 |
dev-python/setuptools_scm: Bump to 3.2.0 |
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.2.0.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 bee0350f7c7..a65015f3a39 100644 |
18 |
--- a/dev-python/setuptools_scm/Manifest |
19 |
+++ b/dev-python/setuptools_scm/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST setuptools_scm-1.15.7.tar.gz 15426 BLAKE2B 6c23f2bd74f51ec8633a814ce22e63e5 |
21 |
DIST setuptools_scm-1.16.1.tar.gz 28956 BLAKE2B 6721830e9ef171768afb94e6d6aacb829665658599409880e87c58e1bf2c6366d04a666ff60ed5d689bf376c258eda93367a4c52fe28ec694a3a93ac109db1fb SHA512 fd5017648c4a8af696e8528eab37061776e8495e2de3640f726e5e4347836eca5a13cbe54fc0c2223c3ae80ede1a81a6f3d9c0910a417545b9f9f206e5177a13 |
22 |
DIST setuptools_scm-2.1.0.tar.gz 32776 BLAKE2B 7a141f3fa826a82931b6c33afd19d3185f98b735451c03651b875051e514eab287b20ee382a9576841b6f1283b9d1bf3dcbd0aabc41d2f1143cf960b856c8492 SHA512 69ce171aa4d3b576883efffb350c59f38bfe8b35bd8e4e8fa1128d9f8a3e6cfaab832633e91fada36126f8e7e2c18663fad621d62c9834be1b5d36c58ae1d1c8 |
23 |
DIST setuptools_scm-3.1.0.tar.gz 35585 BLAKE2B 7ecbdf325467cb3e5217150c548b99603e1bb851a3bc8c694acf3aeb0da798ec853d13b29ad0537bdf5c1010834576786e0dde3965d61991554a12cf206ba7e0 SHA512 bd84bb02900ddc7de2f02dd7cb62bafdea7040ebdc2506b72d05f2c6a6d16be903321e576f63a04f2aa13d8c75b1834dec7d9ea8444e8330281f8e586a3d6426 |
24 |
+DIST setuptools_scm-3.2.0.tar.gz 39646 BLAKE2B 922e2e09a9826e8573900e8d279daf937289f91f8fead5230ea7082d85275d5d988d655854a36afd48d6b621eaa261ac9a0cd486acc115f0e389fb6828645e8b SHA512 1995754654f8bf509ec7f2186857ba0005dbaea0b1c734f521becb9d022c127e7b36f21da8defd5ec9883de5d0d4afe006f9d152c4cefe6beadf8b878e949eb2 |
25 |
|
26 |
diff --git a/dev-python/setuptools_scm/setuptools_scm-3.2.0.ebuild b/dev-python/setuptools_scm/setuptools_scm-3.2.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..aed0e197593 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/setuptools_scm/setuptools_scm-3.2.0.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_{4,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 |
+} |