1 |
commit: 5cf82d83f6fd99d6a5883d128c4dd3ccba9993b8 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 5 22:17:22 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 5 22:17:57 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cf82d83 |
7 |
|
8 |
dev-python/appdirs: fix distutils patch |
9 |
|
10 |
Bug: https://bugs.gentoo.org/627724 |
11 |
Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7 |
12 |
|
13 |
dev-python/appdirs/Manifest | 4 ++-- |
14 |
.../appdirs/files/appdirs-1.4.3-distutils.patch | 20 ++++++++++++++++---- |
15 |
2 files changed, 18 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/appdirs/Manifest b/dev-python/appdirs/Manifest |
18 |
index 1675f4e5b51..876464b4267 100644 |
19 |
--- a/dev-python/appdirs/Manifest |
20 |
+++ b/dev-python/appdirs/Manifest |
21 |
@@ -1,2 +1,2 @@ |
22 |
-DIST appdirs-1.4.0.tar.gz 14358 SHA256 8fc245efb4387a4e3e0ac8ebcc704582df7d72ff6a42a53f5600bbb18fdaadc5 SHA512 a16fbad419e593acf1b58a3f8f893d206b3fc1a269757213a34d129e6fc39aa041efacb7964d326b82376373315357c93e85b272f374a096d9a63e73e3ce1dac WHIRLPOOL 0e12bf1875e489fbfb2ed48b125917bb6e176b90051a0afe2b64f431bbd1f5be499b7c0631302513387c440a05b2eb067fefaf54141424c260834cba854b7e6f |
23 |
-DIST appdirs-1.4.3.tar.gz 9641 SHA256 5ce44e43c3fd537ce1aaf72141c525aa67032a5af0a14dcf755621e69d72414b SHA512 787f551ef5af355bbc77ffb3059553fab77614cce466b4145e4b55fecb8553d329f8748865fd69005d13451a9b11229a65721095a122db83a8433a2661503dfc WHIRLPOOL 4e88de235789556a220134c9b6cc1741d6fb65070c62e278c94585e3adc464562e3dc259340a8147b33de417e9533b7bc40cc66eb558d04ec3b197f5a092980e |
24 |
+DIST appdirs-1.4.0.tar.gz 14358 BLAKE2B de0248d7ca8211a287bb76f516d5ae5d3b3ac0a5c3e2060fe0fbdf3fa9131e6ab26d0b0d293cdec4cf86f26e852fad7534eb44c386797d18964232fe85239bde SHA512 a16fbad419e593acf1b58a3f8f893d206b3fc1a269757213a34d129e6fc39aa041efacb7964d326b82376373315357c93e85b272f374a096d9a63e73e3ce1dac |
25 |
+DIST appdirs-1.4.3.tar.gz 9641 BLAKE2B edd7f6372e25279f6ba0f36cda595649cab7e69430e22bfdfd1bb5aa8d566a4a2fbf24c281adf80ab3eafea93f0f4f79b396688134395c3e5565476f24db75df SHA512 787f551ef5af355bbc77ffb3059553fab77614cce466b4145e4b55fecb8553d329f8748865fd69005d13451a9b11229a65721095a122db83a8433a2661503dfc |
26 |
|
27 |
diff --git a/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch b/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch |
28 |
index 11ce163d14c..e5245f255fe 100644 |
29 |
--- a/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch |
30 |
+++ b/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch |
31 |
@@ -1,9 +1,21 @@ |
32 |
Force setup.py to use distutils in order to break setuptools cyclic dependency. |
33 |
|
34 |
---- appdirs-1.4.0/setup.py |
35 |
-+++ appdirs-1.4.0/setup.py |
36 |
-@@ -38,8 +38,6 @@ |
37 |
- Programming Language :: Python :: 3.2 |
38 |
+--- a/setup.py |
39 |
++++ b/setup.py |
40 |
+@@ -3,10 +3,7 @@ |
41 |
+ import os |
42 |
+ import os.path |
43 |
+ # appdirs is a dependency of setuptools, so allow installing without it. |
44 |
+-try: |
45 |
+- from setuptools import setup |
46 |
+-except ImportError: |
47 |
+- from distutils.core import setup |
48 |
++from distutils.core import setup |
49 |
+ import appdirs |
50 |
+ |
51 |
+ tests_require = [] |
52 |
+@@ -45,8 +42,6 @@ |
53 |
+ Programming Language :: Python :: Implementation :: CPython |
54 |
Topic :: Software Development :: Libraries :: Python Modules |
55 |
""".split('\n') if c.strip()], |
56 |
- test_suite='test.test_api', |