1 |
commit: 260d5430930237ec04e734d09e907b6830e37704 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 21 14:24:11 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 21 14:24:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=260d5430 |
7 |
|
8 |
dev-python/path-py: Bump to 10.3.1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/642694 |
11 |
|
12 |
dev-python/path-py/Manifest | 1 + |
13 |
dev-python/path-py/path-py-10.3.1.ebuild | 38 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/path-py/Manifest b/dev-python/path-py/Manifest |
17 |
index 89e4b96076a..f738c4977b3 100644 |
18 |
--- a/dev-python/path-py/Manifest |
19 |
+++ b/dev-python/path-py/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST path.py-10.3.1.tar.gz 35871 BLAKE2B 94e45372ad39f9c5dfe4167f5d1fd58e1e501272ed2fa5ecd116f0fffc7b924c66cc436a83a296a167c08bb2f57f169b1ace7692c2ac1284fc9070918b409a3c SHA512 e8dc874521aee6cadc5e3d7a66ca6909010f2069b1e6ed0298a3dbd86466c971ca466b442bff90906cb891fa9f13190fd9b3bf4ae62442e9fe73909169c32c02 |
22 |
DIST path.py-8.1.2.tar.gz 33437 BLAKE2B 0033b64e9d0f4c719414e5345989308a113c9e23f99fb46722ee7d7de85c7bb4b471f5416d646d943771cdd369ac2d8f23f925660d4212b18acf7b82daaa76c0 SHA512 639b6247d99bd7c88e7505f5f41a5896266f23c0517b470ea5c1ec90ca76e87f1971babee623bbd7bea57bbef5f7677a7163bc51bae78c3c54e978eaf7f122d1 |
23 |
|
24 |
diff --git a/dev-python/path-py/path-py-10.3.1.ebuild b/dev-python/path-py/path-py-10.3.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..efd60c7a677 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/path-py/path-py-10.3.1.ebuild |
29 |
@@ -0,0 +1,38 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+MY_P="path.py-${PV}" |
40 |
+ |
41 |
+DESCRIPTION="A module wrapper for os.path" |
42 |
+HOMEPAGE="https://pypi.python.org/pypi/path.py https://github.com/jaraco/path.py" |
43 |
+SRC_URI="mirror://pypi/p/path.py/${MY_P}.tar.gz" |
44 |
+ |
45 |
+SLOT="0" |
46 |
+LICENSE="MIT" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-python/appdirs[${PYTHON_USEDEP}]" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
+ test? ( |
55 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
56 |
+ )" |
57 |
+ |
58 |
+S="${WORKDIR}/${MY_P}" |
59 |
+ |
60 |
+python_prepare_all() { |
61 |
+ sed '/setuptools_scm/d' -i setup.py || die |
62 |
+ distutils-r1_python_prepare_all |
63 |
+} |
64 |
+ |
65 |
+python_test() { |
66 |
+ py.test -v |
67 |
+} |