1 |
commit: 3acbd46386aa68f85dfe8d50667680703a5703eb |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 5 11:05:34 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 5 11:05:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3acbd463 |
7 |
|
8 |
dev-python/dnspython: Snapshot that supports pycryptodome |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
dev-python/dnspython/Manifest | 1 + |
13 |
.../dnspython/dnspython-1.16.0_pre20180731.ebuild | 43 ++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/dnspython/Manifest b/dev-python/dnspython/Manifest |
17 |
index f547dd89ee4..23080a5bc5f 100644 |
18 |
--- a/dev-python/dnspython/Manifest |
19 |
+++ b/dev-python/dnspython/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST dnspython-1.15.0.zip 252157 BLAKE2B 6766c1e69bc4225b08f3b1b3871fac2aba7ae707de5f16718798ce4d6846308500c5341f9ace1b48d3858ffc965a7295ee42cc2c35ff23ac38d71927dcaecfe9 SHA512 942f7cf083d1b0a9f03f040ceca194c38777f2e40862c388051986112b3f2a4a8426733ff46ec5a155319776e4a856412c3430b052b2f92f251f0e3260eb9bc1 |
22 |
+DIST dnspython-1.16.0_pre20180731.tar.gz 182538 BLAKE2B 3a472091fccc4f37d65681727643677472837fd6be0c4fd6aaa13afd1fd4362eb27a5ba4ff6babca46fe15c2f5318ddbba22ce058b522f763baa797e1e2d1ab9 SHA512 67d17ab7cb48c370c3c2dd5cb935eec5ab7e3ac0c912e179931f395899ad186ba869edd8b870c043ba9fb3545bace18549d2a377f2ae2c278660fc488e68a20d |
23 |
|
24 |
diff --git a/dev-python/dnspython/dnspython-1.16.0_pre20180731.ebuild b/dev-python/dnspython/dnspython-1.16.0_pre20180731.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..1d9163245a6 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/dnspython/dnspython-1.16.0_pre20180731.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
36 |
+ |
37 |
+inherit distutils-r1 vcs-snapshot |
38 |
+ |
39 |
+GIT_COMMIT="be7e71e54a6edc87ead1b15af8981b8921e0e83d" |
40 |
+ |
41 |
+DESCRIPTION="DNS toolkit for Python" |
42 |
+HOMEPAGE="http://www.dnspython.org/ https://pypi.org/project/dnspython/" |
43 |
+SRC_URI="https://github.com/rthalley/dnspython/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="ISC" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" |
48 |
+IUSE="examples test" |
49 |
+ |
50 |
+RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/ecdsa-0.13[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/idna-2.1[${PYTHON_USEDEP}] |
53 |
+ !dev-python/dnspython:py2 |
54 |
+ !dev-python/dnspython:py3" |
55 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
56 |
+ |
57 |
+# For testsuite |
58 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
59 |
+ |
60 |
+python_test() { |
61 |
+ cd tests || die |
62 |
+ "${PYTHON}" utest.py || die "tests failed under ${EPYTHON}" |
63 |
+ einfo "Testsuite passed under ${EPYTHON}" |
64 |
+} |
65 |
+ |
66 |
+python_install_all() { |
67 |
+ distutils-r1_python_install_all |
68 |
+ if use examples; then |
69 |
+ dodoc -r examples |
70 |
+ docompress -x /usr/share/doc/${PF}/examples |
71 |
+ fi |
72 |
+} |