dev-python/pydns: bump.
authorRobin H. Johnson <robbat2@gentoo.org>
Sun, 30 Oct 2016 21:48:41 +0000 (14:48 -0700)
committerRobin H. Johnson <robbat2@gentoo.org>
Sun, 30 Oct 2016 21:48:53 +0000 (14:48 -0700)
Package-Manager: portage-2.3.2

dev-python/pydns/Manifest
dev-python/pydns/pydns-3.1.1.ebuild [new file with mode: 0644]

index 0736ee64c8a73ef69aeeaf49ff90d2481f418c6a..74e38c5b9084a581814787ecae437d0eb04848f9 100644 (file)
@@ -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 (file)
index 0000000..5ed8dfb
--- /dev/null
@@ -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
+}