diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2011-11-10 23:23:01 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2011-11-10 23:23:01 +0000 |
commit | 6e573aa43d2d8694c6e699d450b4c1cefdc45eb4 (patch) | |
tree | c751c71f9e5d9b21bb665a76f87d1bf43c1890c6 /dev-python/pydns | |
parent | Imported qt-mobility from qting-edge. (diff) | |
download | historical-6e573aa43d2d8694c6e699d450b4c1cefdc45eb4.tar.gz historical-6e573aa43d2d8694c6e699d450b4c1cefdc45eb4.tar.bz2 historical-6e573aa43d2d8694c6e699d450b4c1cefdc45eb4.zip |
rev-bump and slotting python2 version, version-bump and slotting python3 version. slot=3 replaces dev-python/py3dns.
Package-Manager: portage-2.2.0_alpha72/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pydns')
-rw-r--r-- | dev-python/pydns/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pydns/Manifest | 17 | ||||
-rw-r--r-- | dev-python/pydns/pydns-2.3.5-r1.ebuild | 54 | ||||
-rw-r--r-- | dev-python/pydns/pydns-3.0.1.ebuild | 48 |
4 files changed, 121 insertions, 8 deletions
diff --git a/dev-python/pydns/ChangeLog b/dev-python/pydns/ChangeLog index bead6f7103a7..57fb0f137f03 100644 --- a/dev-python/pydns/ChangeLog +++ b/dev-python/pydns/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-python/pydns # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pydns/ChangeLog,v 1.10 2011/07/10 00:51:10 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pydns/ChangeLog,v 1.11 2011/11/10 23:23:01 sbriesen Exp $ + +*pydns-3.0.1 (10 Nov 2011) +*pydns-2.3.5-r1 (10 Nov 2011) + + 10 Nov 2011; Stefan Briesenick <sbriesen@gentoo.org> +pydns-2.3.5-r1.ebuild, + +pydns-3.0.1.ebuild: + rev-bump and slotting python2 version, version-bump and slotting python3 + version. slot=3 replaces dev-python/py3dns. *pydns-2.3.5 (10 Jul 2011) diff --git a/dev-python/pydns/Manifest b/dev-python/pydns/Manifest index da31a1dc64ac..0cc0f867d005 100644 --- a/dev-python/pydns/Manifest +++ b/dev-python/pydns/Manifest @@ -1,18 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 +DIST py3dns-3.0.1.tar.gz 28693 RMD160 45197730463a7b8c89fa4bb2f573d1117b15a0a6 SHA1 09831f052b26cf0688b3eca708ae88b1551c4152 SHA256 4524cdb058795108c3835bfbbfea7595cd2d8a37ee477ea9f552360f24ed63b7 DIST pydns-2.3.4.tar.gz 24513 RMD160 43d63deeda868a8295ddb7125bea38fb8504cd02 SHA1 544e3c0e64d58f556c53fb1eba44d0cc652801d7 SHA256 2d6ced52ad1e893d0ed6eca76b4b1eccdafbd76c54b41d2fa9cdaacd702853ea DIST pydns-2.3.5.tar.gz 27473 RMD160 d7cc7c2e97ac9c7b4ae051860301880609439e2a SHA1 d924787c42c86124774f0b54a85983570e925265 SHA256 c2385c17625bd19b1891c1c96319e8f5c2b2e8ba5d9d7bfd6459bbf10067c940 EBUILD pydns-2.3.4.ebuild 1194 RMD160 302de8ac870e6e139c4bc282d6b85c0dcbe2bde0 SHA1 3293c6f20b313f068d4d6035c3fa0793acaae79f SHA256 1c569b788968a6621801cd9e2f8fc762104e9e82d750942f3a631f2feae60c0e +EBUILD pydns-2.3.5-r1.ebuild 1361 RMD160 6230fc25937026bcb043da7697d2a717e7f2ce0e SHA1 f9cfcf979f7739e21a635ee0c67149998908a48e SHA256 332a64ff4338d3f34f9b30d721fc51274bb3d5ad5de86c4183d34351174de6bc EBUILD pydns-2.3.5.ebuild 1227 RMD160 84ffdaaca39d93c4b387ba79522f8bb6a426e295 SHA1 b22f99f9c4d5d2e7a5c3d6cbbe0e8295de7de373 SHA256 ac98c37975e4fe9d8ae039f701a6d4e0411002d22b76647800fef905b6a62485 -MISC ChangeLog 1473 RMD160 d85b031b49fa68b9a46a10774091899abac3614d SHA1 24488d1eb3cd3216996aef89d788e876a708cba0 SHA256 5fafb805ad366e021f72f3322503077426275e63551a049ed2051ef4b2e7103e +EBUILD pydns-3.0.1.ebuild 1131 RMD160 d6523e0570f00a1e5b0a4e04d41165a32a8da8fd SHA1 e1b413bc303bfc2dec56a1c2478187f4fa55403a SHA256 e6b9ed32f57a00e0f409471cffc0642f82ef69ec1cd9456e8960f199aea01f59 +MISC ChangeLog 1755 RMD160 ba36133c6b62d92390cba8e3e14db19f86a3ec67 SHA1 cf99c012787794376151fee92472529ec873365a SHA256 ffba7595e938dd316791f9aeafe3a3d25a0bce620f2e56319c4e4fba7c9a6260 MISC metadata.xml 498 RMD160 3802c2d9c128d592396592db709d7e95027cc372 SHA1 ff4032734ca2a33f7dbb2eebccb58adef7ccdc2b SHA256 1ce9b6965cb0f1ef5aca76f807c84dc7469cf3b22b2a53264a6bf464a7736b0a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iJwEAQEIAAYFAk59lXoACgkQfXuS5UK5QB16FQP9EIExhGGtPFVN2wYY3NArZksx -oV0BIgbVR69jx5AHQu4NZDo/dgXFBedY3UNO1SGCmj8DIEXEgp2czY5F/gW9+Fnm -c5mmqNL9vp8s9HkoRI2QXhrsJQjjmKypJwx8gMQBCk7rsfJ6g687HtrIngVKM9w+ -uf57NwioysBzF6rBVaA= -=/GT7 +iJwEAQECAAYFAk68XOIACgkQIaLonLtsQsf7pQP9HmfY5qjnlsH62pCJJkekfJft +LRLVDrQWyr6u9IVxwN+CTjLdZUOdRt0mxjGxGwllNPYWLFgjjZL2QKFXBccty2jI +dDHPulm7e/PqNdNKpvxuvSxlujffBR9NfnEKTW0C3oKOrpqluprOgkDV+I6RuP1l +BFey2JifyHvpkEdEuIk= +=f3Pd -----END PGP SIGNATURE----- diff --git a/dev-python/pydns/pydns-2.3.5-r1.ebuild b/dev-python/pydns/pydns-2.3.5-r1.ebuild new file mode 100644 index 000000000000..e464792339ed --- /dev/null +++ b/dev-python/pydns/pydns-2.3.5-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pydns/pydns-2.3.5-r1.ebuild,v 1.1 2011/11/10 23:23:01 sbriesen Exp $ + +EAPI="4" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +DESCRIPTION="Python module for DNS (Domain Name Service)" +HOMEPAGE="http://pydns.sourceforge.net/ http://pypi.python.org/pypi/pydns" +SRC_URI="http://downloads.sourceforge.net/project/pydns/pydns/${P}/${P}.tar.gz" + +LICENSE="CNRI" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="!dev-python/pydns:0 + virtual/libiconv" +RDEPEND="" + +DOCS="CREDITS" +PYTHON_MODNAME="DNS" + +src_prepare() { + # Fix encodings (should be utf-8 but is latin1). + for i in "${PYTHON_MODNAME}"/{Lib,Type}.py; do + iconv -f ISO-8859-1 -t UTF-8 < "${i}" > "${i}~" && mv -f "${i}~" "${i}" || rm -f "${i}~" + done + + # Don't compile bytecode. + sed -i -e 's:^\(compile\|optimize\).*:\1 = 0:g' setup.cfg + + # Fix Python shebangs in examples. + python_convert_shebangs -r 2 . + + # cleanup docs + rm -f -- "README-guido.txt" + mv -f -- "README.txt" "README" + mv -f -- "CREDITS.txt" "CREDITS" +} + +src_install(){ + distutils_src_install + + if use examples; then + insinto /usr/share/doc/${PF}/examples + docompress -x /usr/share/doc/${PF}/examples + doins tests/*.py tools/*.py + fi +} diff --git a/dev-python/pydns/pydns-3.0.1.ebuild b/dev-python/pydns/pydns-3.0.1.ebuild new file mode 100644 index 000000000000..c0346d976f76 --- /dev/null +++ b/dev-python/pydns/pydns-3.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pydns/pydns-3.0.1.ebuild,v 1.1 2011/11/10 23:23:01 sbriesen Exp $ + +EAPI="4" +PYTHON_DEPEND="3" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.*" + +inherit distutils + +DESCRIPTION="Python module for DNS (Domain Name Service)" +HOMEPAGE="http://pydns.sourceforge.net/ http://pypi.python.org/pypi/pydns" +SRC_URI="http://downloads.sourceforge.net/project/pydns/py3dns/${P/py/py3}.tar.gz" + +LICENSE="CNRI" +SLOT="3" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="!dev-python/py3dns + virtual/libiconv" +RDEPEND="" + +DOCS="CHANGES CREDITS" +PYTHON_MODNAME="DNS" + +S="${WORKDIR}/${P/py/py3}" + +src_prepare() { + # Don't compile bytecode. + sed -i -e 's:^\(compile\|optimize\).*:\1 = 0:g' setup.cfg + + # cleanup docs + rm -f -- "README-guido.txt" + mv -f -- "README.txt" "README" + mv -f -- "CREDITS.txt" "CREDITS" +} + +src_install(){ + distutils_src_install + + if use examples; then + insinto /usr/share/doc/${PF}/examples + docompress -x /usr/share/doc/${PF}/examples + doins tests/*.py tools/*.py + fi +} |