summaryrefslogtreecommitdiff
path: root/dev-python/pydns
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pydns
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pydns')
-rw-r--r--dev-python/pydns/Manifest9
-rw-r--r--dev-python/pydns/metadata.xml17
-rw-r--r--dev-python/pydns/pydns-2.3.6-r1.ebuild47
-rw-r--r--dev-python/pydns/pydns-3.1.0.ebuild41
-rw-r--r--dev-python/pydns/pydns-3.1.1.ebuild38
5 files changed, 152 insertions, 0 deletions
diff --git a/dev-python/pydns/Manifest b/dev-python/pydns/Manifest
new file mode 100644
index 000000000000..aaf477612599
--- /dev/null
+++ b/dev-python/pydns/Manifest
@@ -0,0 +1,9 @@
+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
+EBUILD pydns-2.3.6-r1.ebuild 1148 SHA256 4f48790d5d695f163523bf425579de81eb946917956304e36cb2218b6e468573 SHA512 fe04302f1f137a5c4a1eca0df809781ccadef8366a9777d99992dd188878d5adfd4d300cb3e8eeb507820521c48307c56de387cd981a531ab2f03ab10dfc4fb5 WHIRLPOOL fc082e597c54c037c90a9bc8d1445756ac4d0813ebc4aad3508126e9c0d064c04b92b45ac2d643491674110539a54d8fb36352907632c895584c8d636e448268
+EBUILD pydns-3.1.0.ebuild 880 SHA256 aeb4583dd94ec42530f50c043ae0e95956b265de5444c6fdfcae0117cf7fb862 SHA512 7944157e36616e2c646deca3afd4c459625a6ae5f6dfd95132b55557b9decb88e9dd5bdc87d675fa2ef63731efed9593ce30cbecd12f9f2998344c51b5b615c8 WHIRLPOOL a21cf3481b93c82415cd56f13c85df1d39634601d83a0fae592ffb4638017b6d4e6058b7aec9c1ac455786ed58f22dbc98c369af441384b6573f2c8b21f48601
+EBUILD pydns-3.1.1.ebuild 861 SHA256 f090a2f9990fa7b4c4755b247990960dddd27b1ac89cfeb94328cc7b0fd90550 SHA512 2b44f04bc0702fb34482c210bdb24c7ae129ad04cbba586ac8bf0b011a8bdeb8067c6226d2f6402c300fb977c48e9ddd26954dd8a42b87f6dc686bcdb7360cfa WHIRLPOOL 4d4954d19fbf33503281727ced44fa3153f9b5c4a8d747e36de84477bd53523cd4e6c7d5b6062c20347d6058662789fd15d03ae3ca6eef11b153dbcd77293a03
+MISC ChangeLog 3460 SHA256 edfd383b02ce8ae14ff16dcbff8b00e4da6078d790026734ed70f1ca1b04cf73 SHA512 bb8a99fb00c0f7f454e1350ef3e40399a6ba77c48def54912b2da4e804f0a701f1a917726c9459d080b079b59868d12ab42eee49ce7eb300354fe0d6e0e9b535 WHIRLPOOL cf810672ed7ef9ba85b6b6c3e88cbc699972822157db896d1f923701211017c530f71597db2a96096d9ee93b4e8de18d6a79f0909f91bb64216d28794bf71d68
+MISC ChangeLog-2015 5075 SHA256 98b9f443004e506ae3e7bb53e4777cacb041f5faea86b4db759b2edfc8d2ab72 SHA512 e065426e8be13d218693f3d79db707ce40b893bbe2c3667c796c04623f9e635052901ee2d95ea241e26747d72e29ef84566ecfc74424ae82c757a67c1ddd60c6 WHIRLPOOL 2680d069ba6b528382bfd597ca5c047a2c106b9c71854f8c639aeabb9e79166c82b7db98246030aace43864778304e5587a8559bc69c4689c639d42c6ea24158
+MISC metadata.xml 662 SHA256 57d2ad282c14c2d81e784232a70645390bb2b3f318328b8e376d1895c25da7f2 SHA512 a87cafcd69bb347d9737d97589211360b71181b80caa73c4f117790596f5482e0b3177dc712eb89afb200c7a56669eb8a805f7c3f4974f9527dcaff8c4cbc821 WHIRLPOOL 181bbe7bb3c4f07957fac7056dd88dd3688143a9973619c2f95ae3e470f0ca5f9db6e3c0a68681bf88c1dec2dd8c40cbd0aac8c4870ec241719ea4844484cc00
diff --git a/dev-python/pydns/metadata.xml b/dev-python/pydns/metadata.xml
new file mode 100644
index 000000000000..199be52bf51b
--- /dev/null
+++ b/dev-python/pydns/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">PyDNS provides a module for performing DNS queries from python
+ applications. This was originally based on Guido van Rossum's DNS
+ library code, but has drifted further and further away from it over
+ time.</longdescription>
+ <upstream>
+ <remote-id type="pypi">pydns</remote-id>
+ <remote-id type="launchpad">py3dns</remote-id>
+ <remote-id type="sourceforge">pydns</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pydns/pydns-2.3.6-r1.ebuild b/dev-python/pydns/pydns-2.3.6-r1.ebuild
new file mode 100644
index 000000000000..61a6144767c1
--- /dev/null
+++ b/dev-python/pydns/pydns-2.3.6-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Python module for DNS (Domain Name Service)"
+HOMEPAGE="http://pydns.sourceforge.net/ https://pypi.python.org/pypi/pydns"
+SRC_URI="http://downloads.sourceforge.net/project/pydns/pydns/${P}/${P}.tar.gz"
+
+LICENSE="CNRI"
+SLOT="2"
+KEYWORDS="amd64 hppa ~ia64 ~ppc ~sparc x86"
+IUSE="examples"
+
+DEPEND="!dev-python/pydns:0
+ virtual/libiconv"
+RDEPEND=""
+
+# Funny a dns package attempts to use the network on tests
+# Await the day that gentoo chills out on such a blanket law.
+RESTRICT=test
+
+python_prepare_all() {
+ # Fix encodings (should be utf-8 but is latin1).
+ local i
+ for i in DNS/{Lib,Type}.py; do
+ iconv -f ISO-8859-1 -t UTF-8 "${i}" > "${i}.utf8" || die
+ mv -f "${i}.utf8" "${i}" || die
+ done
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ local test
+ for test in tests/{test.py,test[2-5].py,testsrv.py}
+ do
+ "${PYTHON}" $test || die
+ done
+}
+
+python_install_all() {
+ use examples && local EXAMPLES=( ./{tests,tools}/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/pydns/pydns-3.1.0.ebuild b/dev-python/pydns/pydns-3.1.0.ebuild
new file mode 100644
index 000000000000..1b0e6e0a85c0
--- /dev/null
+++ b/dev-python/pydns/pydns-3.1.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python3_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
+}
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 000000000000..6004c2f169d1
--- /dev/null
+++ b/dev-python/pydns/pydns-3.1.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6} pypy3 )
+
+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="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# Tests require network access
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+python_test() {
+ "${EPYTHON}" -m unittest || die "tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ if use examples; then
+ docinto examples
+ dodoc -r tests/. tools/.
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+ distutils-r1_python_install_all
+}