1 |
commit: ddb95045b6f06dc7c69e4d8d721232be0460e7a4 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 27 00:15:42 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 27 00:16:16 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb95045 |
7 |
|
8 |
1.4.3 bup and taking it over (used in openstack) |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/appdirs/Manifest | 1 + |
13 |
dev-python/appdirs/appdirs-1.4.3.ebuild | 23 ++++++++++++++++++++++ |
14 |
.../appdirs/files/appdirs-1.4.3-distutils.patch | 13 ++++++++++++ |
15 |
dev-python/appdirs/metadata.xml | 8 ++++++-- |
16 |
4 files changed, 43 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/appdirs/Manifest b/dev-python/appdirs/Manifest |
19 |
index c48e90de719..6d9c53feb68 100644 |
20 |
--- a/dev-python/appdirs/Manifest |
21 |
+++ b/dev-python/appdirs/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST appdirs-1.4.0.tar.gz 14358 SHA256 8fc245efb4387a4e3e0ac8ebcc704582df7d72ff6a42a53f5600bbb18fdaadc5 SHA512 a16fbad419e593acf1b58a3f8f893d206b3fc1a269757213a34d129e6fc39aa041efacb7964d326b82376373315357c93e85b272f374a096d9a63e73e3ce1dac WHIRLPOOL 0e12bf1875e489fbfb2ed48b125917bb6e176b90051a0afe2b64f431bbd1f5be499b7c0631302513387c440a05b2eb067fefaf54141424c260834cba854b7e6f |
24 |
DIST appdirs-1.4.1.tar.gz 9486 SHA256 b45f2af7f028906134ad368d401bf51952554bcfa389e3c4feee50739dbc1642 SHA512 e228c2e6b7e09ec82997a7b2bf53137ac32d4dc9d085950b84fa03dbcf29b2ddb175fcb93fde7e65629dccd1f1d74c0e77d4b435563a79a7aa5f15ebb276c3bf WHIRLPOOL 38c092b5dbbcc999631ba88107a3321f4a6220c5890c6f8b9e491d8680eb3bc6492f3423133dedcde41990935901ae79edcaad2666207a6560a788a0518e6eaf |
25 |
+DIST appdirs-1.4.3.tar.gz 9641 SHA256 5ce44e43c3fd537ce1aaf72141c525aa67032a5af0a14dcf755621e69d72414b SHA512 787f551ef5af355bbc77ffb3059553fab77614cce466b4145e4b55fecb8553d329f8748865fd69005d13451a9b11229a65721095a122db83a8433a2661503dfc WHIRLPOOL 4e88de235789556a220134c9b6cc1741d6fb65070c62e278c94585e3adc464562e3dc259340a8147b33de417e9533b7bc40cc66eb558d04ec3b197f5a092980e |
26 |
|
27 |
diff --git a/dev-python/appdirs/appdirs-1.4.3.ebuild b/dev-python/appdirs/appdirs-1.4.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..1dbac218815 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/appdirs/appdirs-1.4.3.ebuild |
32 |
@@ -0,0 +1,23 @@ |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Module for determining appropriate platform-specific dirs" |
43 |
+HOMEPAGE="https://github.com/ActiveState/appdirs" |
44 |
+SRC_URI="https://github.com/ActiveState/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
49 |
+IUSE="" |
50 |
+ |
51 |
+PATCHES=( "${FILESDIR}"/${PN}-1.4.3-distutils.patch ) |
52 |
+ |
53 |
+python_test() { |
54 |
+ "${PYTHON}" test/test_api.py || die "Tests fail with ${EPYTHON}" |
55 |
+} |
56 |
|
57 |
diff --git a/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch b/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch |
58 |
new file mode 100644 |
59 |
index 00000000000..11ce163d14c |
60 |
--- /dev/null |
61 |
+++ b/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch |
62 |
@@ -0,0 +1,13 @@ |
63 |
+Force setup.py to use distutils in order to break setuptools cyclic dependency. |
64 |
+ |
65 |
+--- appdirs-1.4.0/setup.py |
66 |
++++ appdirs-1.4.0/setup.py |
67 |
+@@ -38,8 +38,6 @@ |
68 |
+ Programming Language :: Python :: 3.2 |
69 |
+ Topic :: Software Development :: Libraries :: Python Modules |
70 |
+ """.split('\n') if c.strip()], |
71 |
+- test_suite='test.test_api', |
72 |
+- tests_require=tests_require, |
73 |
+ keywords='application directory log cache user', |
74 |
+ author='Trent Mick', |
75 |
+ author_email='trentm@×××××.com', |
76 |
|
77 |
diff --git a/dev-python/appdirs/metadata.xml b/dev-python/appdirs/metadata.xml |
78 |
index 3f9c7b39c0c..b0d682902c1 100644 |
79 |
--- a/dev-python/appdirs/metadata.xml |
80 |
+++ b/dev-python/appdirs/metadata.xml |
81 |
@@ -2,8 +2,12 @@ |
82 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
83 |
<pkgmetadata> |
84 |
<maintainer type="person"> |
85 |
- <email>aidecoe@g.o</email> |
86 |
- <name>Amadeusz Żołnowski</name> |
87 |
+ <email>prometheanfire@g.o</email> |
88 |
+ <name>Matthew Thode</name> |
89 |
+ </maintainer> |
90 |
+ <maintainer type="project"> |
91 |
+ <email>openstack@g.o</email> |
92 |
+ <name>Openstack</name> |
93 |
</maintainer> |
94 |
<maintainer type="project"> |
95 |
<email>python@g.o</email> |