1 |
commit: f8a4bd037ed9f1b0a7c78e0d79eac0041f76e5e9 |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Tue Feb 25 00:43:23 2020 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 25 02:05:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8a4bd03 |
7 |
|
8 |
dev-python/isodate-0.6.0-r1: revbump, EAPI=7, py37 |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/isodate/isodate-0.6.0-r1.ebuild | 27 +++++++++++++++++++++++++++ |
15 |
1 file changed, 27 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/isodate/isodate-0.6.0-r1.ebuild b/dev-python/isodate/isodate-0.6.0-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..fd81d209047 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/isodate/isodate-0.6.0-r1.ebuild |
22 |
@@ -0,0 +1,27 @@ |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 ) |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="ISO 8601 date/time/duration parser and formatter" |
33 |
+HOMEPAGE="https://pypi.org/project/isodate/" |
34 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="BSD" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
39 |
+IUSE="test" |
40 |
+RESTRICT="!test? ( test )" |
41 |
+ |
42 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
43 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
44 |
+ test? ( ${RDEPEND} )" |
45 |
+ |
46 |
+python_test() { |
47 |
+ "${EPYTHON}" -m unittest discover -v -s "${BUILD_DIR}/lib" \ |
48 |
+ || die "Testing failed with ${EPYTHON}" |
49 |
+} |