1 |
commit: b39c41bed0201af65dbb892b2f9580664d825d62 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 18 06:15:59 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 18 06:15:59 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b39c41be |
7 |
|
8 |
dev-python/pycares: Bump to version 3.0.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.77, Repoman-2.3.17 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
dev-python/pycares/Manifest | 1 + |
14 |
dev-python/pycares/pycares-3.0.0.ebuild | 31 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 32 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest |
18 |
index 7f4896def1f..3f015d51542 100644 |
19 |
--- a/dev-python/pycares/Manifest |
20 |
+++ b/dev-python/pycares/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST pycares-0c831407bc32c6e78a80c5b3d7865ba4c7ac26df.tar.gz 215641 BLAKE2B 36ae |
22 |
DIST pycares-2.1.1.tar.gz 226787 BLAKE2B 26716906e78a3fa16bcbd143f63e633ffe4664706b2230f698ea933c15d057f92a0fedc45927743690e9ef8f84191e40f4215878ff2845fd1fb4bcf91f49b765 SHA512 c3524a49f5abe4222c9371ca269918eecf30a77bd52258187766833b4663be861678ebe6f1cb2f50e824d36e75938162d5528abd5445c477f23fb85c24572403 |
23 |
DIST pycares-2.3.0.tar.gz 224941 BLAKE2B 9ab59f8f7294930b5ff97c7340c3f64cd039c4b291b7b33d00da85168638cdfc75552508a72afd91db28c4c1b823a018b45c346a3daf8da15d5160fd691b6c4a SHA512 dc707ab0320e03fb20e728e2e2e52e92ed3388afcf19e4553bc2a15c33a129abee39a9bc423edb7be7113d42989286ab8e8ad48699cc7433a6d8823460fd4678 |
24 |
DIST pycares-2.4.0.tar.gz 214021 BLAKE2B 481d46e9a5726d953d0dcb391a549ba4177e5ac1758a0ecb25bf634b9eb6baa2fbb0544874a78ae46e30a1dd4be8a981f5ebdf1b36cb9aa2e42370074731319e SHA512 7770a2b1fd69bb800019a292e5c9fc1f737b044fb4ca5166ead197da3515f2edac55f947a68f3505c9b404745529287114667d742162c98f2ff84b2c330ef295 |
25 |
+DIST pycares-pycares-3.0.0.tar.gz 215445 BLAKE2B 5543d27ee38d9360b9ee74ebf1c09da15f68873d5cc83b486e61f3d337e733353dde44d64d6a0520525f4876e67d34c91a770f1c9717b7a1036f568c227f6c87 SHA512 bf60549044686accae68ed118e6c5e0da07b1d13473b70f91db85693ebd9ac9e4afb87cba763c667f2f7f487de28759e26a1677023081e94311b547a51bf7451 |
26 |
|
27 |
diff --git a/dev-python/pycares/pycares-3.0.0.ebuild b/dev-python/pycares/pycares-3.0.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..5581faeccb3 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/pycares/pycares-3.0.0.ebuild |
32 |
@@ -0,0 +1,31 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+EGIT_COMMIT=pycares-3.0.0 |
42 |
+MY_P=${PN}-${EGIT_COMMIT} |
43 |
+ |
44 |
+DESCRIPTION="Python interface for c-ares" |
45 |
+HOMEPAGE="https://github.com/saghul/pycares/" |
46 |
+SRC_URI="https://github.com/saghul/pycares/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz" |
47 |
+S=${WORKDIR}/${MY_P} |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="" |
53 |
+# Tests fail with network-sandbox, since they try to resolve google.com |
54 |
+RESTRICT="test" |
55 |
+ |
56 |
+# uses bundled/patched c-ares |
57 |
+RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
60 |
+ |
61 |
+python_test() { |
62 |
+ "${EPYTHON}" tests/tests.py -v || die |
63 |
+} |