1 |
commit: 103e61e2a1c8be63a59357a68d4291e341225da5 |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Wed Nov 27 05:37:56 2019 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 27 07:57:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=103e61e2 |
7 |
|
8 |
dev-python/dnspython-1.16.0-r1: revbump, add py38 |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/dnspython/dnspython-1.16.0-r1.ebuild | 40 +++++++++++++++++++++++++ |
15 |
1 file changed, 40 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/dnspython/dnspython-1.16.0-r1.ebuild b/dev-python/dnspython/dnspython-1.16.0-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..3b57e85601a |
20 |
--- /dev/null |
21 |
+++ b/dev-python/dnspython/dnspython-1.16.0-r1.ebuild |
22 |
@@ -0,0 +1,40 @@ |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="DNS toolkit for Python" |
33 |
+HOMEPAGE="http://www.dnspython.org/ https://pypi.org/project/dnspython/" |
34 |
+SRC_URI="https://github.com/rthalley/dnspython/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="ISC" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" |
39 |
+IUSE="examples test" |
40 |
+ |
41 |
+RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}] |
42 |
+ >=dev-python/ecdsa-0.13[${PYTHON_USEDEP}] |
43 |
+ >=dev-python/idna-2.1[${PYTHON_USEDEP}] |
44 |
+ !dev-python/dnspython:py2 |
45 |
+ !dev-python/dnspython:py3" |
46 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
47 |
+ |
48 |
+RESTRICT+=" !test? ( test )" |
49 |
+ |
50 |
+python_test() { |
51 |
+ pushd tests >/dev/null || die |
52 |
+ "${EPYTHON}" utest.py || die "tests failed under ${EPYTHON}" |
53 |
+ popd > /dev/null || die |
54 |
+} |
55 |
+ |
56 |
+python_install_all() { |
57 |
+ distutils-r1_python_install_all |
58 |
+ if use examples; then |
59 |
+ dodoc -r examples |
60 |
+ docompress -x /usr/share/doc/${PF}/examples |
61 |
+ fi |
62 |
+} |