Hanno Böck commited on 2020-09-03 16:54:41
Zeige 2 geänderte Dateien mit 46 Einfügungen und 0 Löschungen.
| ... | ... |
@@ -0,0 +1,2 @@ |
| 1 |
+DIST dnspython-1.16.0.tar.gz 167172 BLAKE2B a246684aae8651d94b4312a4b4cce2236a0c4f2289a8fe8a2bb8e81c6beddf6e81a7d54928bc50f950fde862b27e589e83fa9f7aaff7d263a6442f47fe9bb3bb SHA512 825a1815855e036ea1dfece6ec0d42242f83163960439ecba3da58d9adb85b65dda7e628cf38c386807a6c0c36aa026d5e95f7a1bdc2927aa2f6f042f873c14c |
|
| 2 |
+EBUILD dnspython-1.16.0-r1.ebuild 1219 BLAKE2B d565b4754b471a8ca98f2b84c25c1eb61a869f0dec3378ebd889191ed73bc8424e3c1229184d93bcdbaba59e4b22200fc1a747722ae894e50876c27f5a980e22 SHA512 20f3dfee95722c0965dfa2b9a4fc69307e6358752510211183de7e6f7469981efedbe2a3951b71a5ea241b7a6686fb8286cf99c30034e6d7ed8467711ec12756 |
| ... | ... |
@@ -0,0 +1,44 @@ |
| 1 |
+# Copyright 1999-2020 Gentoo Authors |
|
| 2 |
+# Distributed under the terms of the GNU General Public License v2 |
|
| 3 |
+ |
|
| 4 |
+EAPI=7 |
|
| 5 |
+ |
|
| 6 |
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
|
|
| 7 |
+ |
|
| 8 |
+inherit distutils-r1 |
|
| 9 |
+ |
|
| 10 |
+DESCRIPTION="DNS toolkit for Python" |
|
| 11 |
+HOMEPAGE="http://www.dnspython.org/ https://pypi.org/project/dnspython/" |
|
| 12 |
+SRC_URI="https://github.com/rthalley/dnspython/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 13 |
+ |
|
| 14 |
+LICENSE="ISC" |
|
| 15 |
+SLOT="0" |
|
| 16 |
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" |
|
| 17 |
+IUSE="examples" |
|
| 18 |
+ |
|
| 19 |
+RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
|
|
| 20 |
+ >=dev-python/ecdsa-0.13[${PYTHON_USEDEP}]
|
|
| 21 |
+ >=dev-python/idna-2.1[${PYTHON_USEDEP}]
|
|
| 22 |
+ $(python_gen_cond_dep 'dev-python/typing[${PYTHON_USEDEP}]' -2)
|
|
| 23 |
+ !dev-python/dnspython:py2 |
|
| 24 |
+ !dev-python/dnspython:py3" |
|
| 25 |
+ |
|
| 26 |
+src_prepare() {
|
|
| 27 |
+ sed -i -e '/network_avail/s:True:False:' \ |
|
| 28 |
+ tests/test_resolver.py || die |
|
| 29 |
+ distutils-r1_src_prepare |
|
| 30 |
+} |
|
| 31 |
+ |
|
| 32 |
+python_test() {
|
|
| 33 |
+ pushd tests >/dev/null || die |
|
| 34 |
+ "${EPYTHON}" utest.py || die "tests failed under ${EPYTHON}"
|
|
| 35 |
+ popd > /dev/null || die |
|
| 36 |
+} |
|
| 37 |
+ |
|
| 38 |
+python_install_all() {
|
|
| 39 |
+ distutils-r1_python_install_all |
|
| 40 |
+ if use examples; then |
|
| 41 |
+ dodoc -r examples |
|
| 42 |
+ docompress -x /usr/share/doc/${PF}/examples
|
|
| 43 |
+ fi |
|
| 44 |
+} |
|
| 0 | 45 |