1 |
commit: 29a7bda6343d32b047a409b1afc739ea47c8b7b0 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 12 09:27:47 2019 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 12 09:32:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a7bda6 |
7 |
|
8 |
dev-python/deprecation: bump to 2.0.6, add tests, PyPy{,3}, fix deps |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
12 |
|
13 |
dev-python/deprecation/Manifest | 1 + |
14 |
dev-python/deprecation/deprecation-2.0.6.ebuild | 30 +++++++++++++++++++++++++ |
15 |
2 files changed, 31 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/deprecation/Manifest b/dev-python/deprecation/Manifest |
18 |
index cc33c1fa1da..d2de4799983 100644 |
19 |
--- a/dev-python/deprecation/Manifest |
20 |
+++ b/dev-python/deprecation/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST deprecation-1.0.1.tar.gz 9596 BLAKE2B afc4cb457ce224f120d41944e6eb71c212ef4d40d5a7c5d6d695d31bd105a4a5291daf5d3c7af0f94b58049f7e745e7e5be462495de88c48cabf5a28c22b3637 SHA512 fc35e6516e1617e2baad598a91e5d83ca95ab8a2d6a2753751d6752675de93cb44210109450a2aad9eb52b3c772a8b753c1d42ab2356c6663d2a03c4f779f086 |
23 |
+DIST deprecation-2.0.6.tar.gz 13381 BLAKE2B 1f21a4b8bd9293d50e9068762d4f909afe02fb1f7a8f352c5b3d5d10e0da90d122927a97cf060bec626ff8538478f83740dc1d79e050fe43dc27ade8729f26d1 SHA512 69dcf5e07cfc1c746564e03063088cce65690e2b34cffe327d59edad24f00d23cf9904089ab9ff5e67dce2b6b02ed617e53959be4a907074440ddb778576aa2f |
24 |
|
25 |
diff --git a/dev-python/deprecation/deprecation-2.0.6.ebuild b/dev-python/deprecation/deprecation-2.0.6.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..73bd41c2de6 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/deprecation/deprecation-2.0.6.ebuild |
30 |
@@ -0,0 +1,30 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="A library to handle automated deprecations" |
41 |
+HOMEPAGE="https://deprecation.readthedocs.io/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
47 |
+IUSE="test" |
48 |
+ |
49 |
+RDEPEND="dev-python/packaging[${PYTHON_USEDEP}]" |
50 |
+BDEPEND=" |
51 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
52 |
+ test? ( |
53 |
+ dev-python/unittest2[${PYTHON_USEDEP}] |
54 |
+ ${RDEPEND} |
55 |
+ ) |
56 |
+" |
57 |
+ |
58 |
+python_test() { |
59 |
+ "${EPYTHON}" -m unittest discover -v || die "tests failed with ${EPYTHON}" |
60 |
+} |