summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-03-26 19:15:42 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2017-03-26 19:16:16 -0500
commitddb95045b6f06dc7c69e4d8d721232be0460e7a4 (patch)
tree49b17ab3909e0138c301da63cfd8b124faab65d6 /dev-python/appdirs
parentnet-p2p/bittornado: add GPL-2 license for bug 426114 (diff)
downloadgentoo-ddb95045b6f06dc7c69e4d8d721232be0460e7a4.tar.gz
gentoo-ddb95045b6f06dc7c69e4d8d721232be0460e7a4.tar.bz2
gentoo-ddb95045b6f06dc7c69e4d8d721232be0460e7a4.zip
1.4.3 bup and taking it over (used in openstack)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/appdirs')
-rw-r--r--dev-python/appdirs/Manifest1
-rw-r--r--dev-python/appdirs/appdirs-1.4.3.ebuild23
-rw-r--r--dev-python/appdirs/files/appdirs-1.4.3-distutils.patch13
-rw-r--r--dev-python/appdirs/metadata.xml8
4 files changed, 43 insertions, 2 deletions
diff --git a/dev-python/appdirs/Manifest b/dev-python/appdirs/Manifest
index c48e90de719c..6d9c53feb684 100644
--- a/dev-python/appdirs/Manifest
+++ b/dev-python/appdirs/Manifest
@@ -1,2 +1,3 @@
DIST appdirs-1.4.0.tar.gz 14358 SHA256 8fc245efb4387a4e3e0ac8ebcc704582df7d72ff6a42a53f5600bbb18fdaadc5 SHA512 a16fbad419e593acf1b58a3f8f893d206b3fc1a269757213a34d129e6fc39aa041efacb7964d326b82376373315357c93e85b272f374a096d9a63e73e3ce1dac WHIRLPOOL 0e12bf1875e489fbfb2ed48b125917bb6e176b90051a0afe2b64f431bbd1f5be499b7c0631302513387c440a05b2eb067fefaf54141424c260834cba854b7e6f
DIST appdirs-1.4.1.tar.gz 9486 SHA256 b45f2af7f028906134ad368d401bf51952554bcfa389e3c4feee50739dbc1642 SHA512 e228c2e6b7e09ec82997a7b2bf53137ac32d4dc9d085950b84fa03dbcf29b2ddb175fcb93fde7e65629dccd1f1d74c0e77d4b435563a79a7aa5f15ebb276c3bf WHIRLPOOL 38c092b5dbbcc999631ba88107a3321f4a6220c5890c6f8b9e491d8680eb3bc6492f3423133dedcde41990935901ae79edcaad2666207a6560a788a0518e6eaf
+DIST appdirs-1.4.3.tar.gz 9641 SHA256 5ce44e43c3fd537ce1aaf72141c525aa67032a5af0a14dcf755621e69d72414b SHA512 787f551ef5af355bbc77ffb3059553fab77614cce466b4145e4b55fecb8553d329f8748865fd69005d13451a9b11229a65721095a122db83a8433a2661503dfc WHIRLPOOL 4e88de235789556a220134c9b6cc1741d6fb65070c62e278c94585e3adc464562e3dc259340a8147b33de417e9533b7bc40cc66eb558d04ec3b197f5a092980e
diff --git a/dev-python/appdirs/appdirs-1.4.3.ebuild b/dev-python/appdirs/appdirs-1.4.3.ebuild
new file mode 100644
index 000000000000..1dbac218815a
--- /dev/null
+++ b/dev-python/appdirs/appdirs-1.4.3.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Module for determining appropriate platform-specific dirs"
+HOMEPAGE="https://github.com/ActiveState/appdirs"
+SRC_URI="https://github.com/ActiveState/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+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"
+IUSE=""
+
+PATCHES=( "${FILESDIR}"/${PN}-1.4.3-distutils.patch )
+
+python_test() {
+ "${PYTHON}" test/test_api.py || die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch b/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch
new file mode 100644
index 000000000000..11ce163d14ca
--- /dev/null
+++ b/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch
@@ -0,0 +1,13 @@
+Force setup.py to use distutils in order to break setuptools cyclic dependency.
+
+--- appdirs-1.4.0/setup.py
++++ appdirs-1.4.0/setup.py
+@@ -38,8 +38,6 @@
+ Programming Language :: Python :: 3.2
+ Topic :: Software Development :: Libraries :: Python Modules
+ """.split('\n') if c.strip()],
+- test_suite='test.test_api',
+- tests_require=tests_require,
+ keywords='application directory log cache user',
+ author='Trent Mick',
+ author_email='trentm@gmail.com',
diff --git a/dev-python/appdirs/metadata.xml b/dev-python/appdirs/metadata.xml
index 3f9c7b39c0cd..b0d682902c1b 100644
--- a/dev-python/appdirs/metadata.xml
+++ b/dev-python/appdirs/metadata.xml
@@ -2,8 +2,12 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>aidecoe@gentoo.org</email>
- <name>Amadeusz Żołnowski</name>
+ <email>prometheanfire@gentoo.org</email>
+ <name>Matthew Thode</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>openstack@gentoo.org</email>
+ <name>Openstack</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>