diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2016-10-30 14:48:41 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2016-10-30 14:48:53 -0700 |
commit | bb3fa9973bd2f3ab240fdd4aa2d83955142a4e14 (patch) | |
tree | f25a89c211bdb8e956186e3635100e2041528ae7 /dev-python/pydns | |
parent | 46ed60a899c46cddb07ff0b6ecb215c1a51d3c3d (diff) | |
download | gentoo-bb3fa9973bd2f3ab240fdd4aa2d83955142a4e14.tar.gz gentoo-bb3fa9973bd2f3ab240fdd4aa2d83955142a4e14.tar.xz |
dev-python/pydns: bump.
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-python/pydns')
-rw-r--r-- | dev-python/pydns/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pydns/pydns-3.1.1.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/pydns/Manifest b/dev-python/pydns/Manifest index 0736ee64c8a..74e38c5b908 100644 --- a/dev-python/pydns/Manifest +++ b/dev-python/pydns/Manifest @@ -1,2 +1,3 @@ DIST py3dns-3.1.0.tar.gz 29501 SHA256 124d7833fd0a6fbaebe17d093b028cfa77b155b5feab8e1c6265959a4b9e7fb7 SHA512 ba2cb397351b587539072b608f6be878066bfb317f4cca472c2d3102638432de48a25d8a6efc41a88b9f77d939fa71ffb396d1a2dfab46e8d2b431d0eb89f7a4 WHIRLPOOL 8fdd8e9c75293c86120770da8e09f093cf6b8783b87e8cd7dccbf1fe8e3dfb3aad89fd371cd1a512b83db626a4a627f21ff1a497211cfaa027d08ebc650ed53b +DIST py3dns-3.1.1.tar.gz 29981 SHA256 bfea628ea61becb79ef83616069957fd5b49058115e347ca7b77c72053af187c SHA512 5f22ba12db502f997be4c2479697cc21fe15aac218da1d347bd400a3ab73d86ad32b57740292a10eacb73e07eba977f67b881e59be16f902afab47053efd6c6e WHIRLPOOL 7176b34a7820ac64fb15a6ba3833e69484f1ca7b0fd80ecbb4ca6c6e89be829bff637b9e684ce51f470ed033b91a032ca359e3d0b619b3af426da9a23cc119c5 DIST pydns-2.3.6.tar.gz 28220 SHA256 d3cf6fc4ec088e934cf2dd4d71080efdb5c09ae79cbb2512427eb0fc393f2417 SHA512 261598c085c7d9f7adf5ce881814e444cdcf48a946dc17db467268ab6164f6045c204507cc58eff8e6f826b9786715ad2a9e766a72193ac8666969913180954b WHIRLPOOL 76d5f6caaddbaf027e4e7677d767263c270c5fc0db6e35bfb3bc99a8c229fbb2704dbbb2a2bd5207dc9c3a2f571a8b0351a492a16dc3a3fbe0c7f5cf88a91389 diff --git a/dev-python/pydns/pydns-3.1.1.ebuild b/dev-python/pydns/pydns-3.1.1.ebuild new file mode 100644 index 00000000000..5ed8dfbbb1b --- /dev/null +++ b/dev-python/pydns/pydns-3.1.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{3_3,3_4} ) + +inherit distutils-r1 + +MY_PN="${PN/py/py3}" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Python DNS (Domain Name System) library" +HOMEPAGE="https://launchpad.net/py3dns" +SRC_URI="https://launchpad.net/${MY_PN}/trunk/${PV}/+download/${MY_P}.tar.gz" + +LICENSE="CNRI" +SLOT="3" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" +IUSE="examples" + +DEPEND="" +RDEPEND="" + +# Most if not all of the tests require network access. +RESTRICT=test + +S="${WORKDIR}/${MY_P}" + +python_test() { + # Some of the tests are broken. + for test in tests/{test{,2,4}.py,testsrv.py} + do + "${PYTHON}" ${test} || die + done + + "${PYTHON}" tests/test5.py example.org || die +} + +python_install_all() { + use examples && local EXAMPLES=( ./{tests,tools}/. ) + distutils-r1_python_install_all +} |