1 |
commit: c4a92df7b473c523351a9dd5ba769b464b77d6a1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 13 08:22:42 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 13 09:02:58 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4a92df7 |
7 |
|
8 |
dev-python/appdirs: Add missing ebuild for 1.4.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/appdirs/appdirs-1.4.4.ebuild | 24 ++++++++++++++++++++++++ |
13 |
1 file changed, 24 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/appdirs/appdirs-1.4.4.ebuild b/dev-python/appdirs/appdirs-1.4.4.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..fcb6e362e93 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/appdirs/appdirs-1.4.4.ebuild |
20 |
@@ -0,0 +1,24 @@ |
21 |
+# Copyright 1999-2020 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=7 |
25 |
+ |
26 |
+# note the patch below |
27 |
+DISTUTILS_USE_SETUPTOOLS=no |
28 |
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="Module for determining appropriate platform-specific dirs" |
33 |
+HOMEPAGE="https://github.com/ActiveState/appdirs" |
34 |
+SRC_URI="https://github.com/ActiveState/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="MIT" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
39 |
+ |
40 |
+PATCHES=( "${FILESDIR}"/${PN}-1.4.4-distutils.patch ) |
41 |
+ |
42 |
+python_test() { |
43 |
+ "${PYTHON}" test/test_api.py -v || die "Tests fail with ${EPYTHON}" |
44 |
+} |