From: Ian Delaney Date: Fri, 6 Mar 2015 11:38:15 +0000 (+0000) Subject: revbump; add py3 support by addition of dnspython3 tarball, SRC_URI updated, virtual... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b1721a41f1f7d69fd5de1ee060fab8a975c29d68;p=gentoo.git revbump; add py3 support by addition of dnspython3 tarball, SRC_URI updated, virtual re-write, assistance from NP-Hardass in achieving final form of the ebuild Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xB8072B0D --- diff --git a/dev-python/dnspython/ChangeLog b/dev-python/dnspython/ChangeLog index c3a25616b205..767aa1979dc6 100644 --- a/dev-python/dnspython/ChangeLog +++ b/dev-python/dnspython/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-python/dnspython # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.93 2015/01/26 14:27:05 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.94 2015/03/06 11:37:48 idella4 Exp $ + +*dnspython-1.12.0-r1 (06 Mar 2015) + + 06 Mar 2015; Ian Delaney +dnspython-1.12.0-r1.ebuild: + revbump; add py3 support by addition of dnspython3 tarball, SRC_URI updated, + virtual re-write, assistance from NP-Hardass in achieving final form of the + ebuild 26 Jan 2015; Manuel Rüger -dnspython-1.10.0-r1.ebuild, -dnspython-1.10.0.ebuild, -dnspython-1.9.4.ebuild: diff --git a/dev-python/dnspython/Manifest b/dev-python/dnspython/Manifest index 499d287b9e4c..a28abec5b123 100644 --- a/dev-python/dnspython/Manifest +++ b/dev-python/dnspython/Manifest @@ -1,6 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST dnspython-1.11.1.tar.gz 129573 SHA256 c0c6fcf3ff52939e7eadd931282d083271f65cf0a174555a703563a400289768 SHA512 03b2d35ae638a05d1af5458e88ab3450c1bf835a4e704b630474f32b8f93844b625ab2fc0000fdf2490bc90e3ec01f56175be130b5de996546c8bcebe57dfc05 WHIRLPOOL d2ad625278ed519c98d2c5612d1384ac06e65a9e9ab01c646e41a8377306a97cacd88c5e090f14a41f161c6fe3e52222314e8bed638316c07f80d5b035062d1e DIST dnspython-1.12.0.tar.gz 135164 SHA256 03fb82af866001c4afa58c48027bcc4b80bbf0a7f27e1d861cf06393eea4724f SHA512 583d069ed7ee9b20f16a964023fa0300f15032c27de6d084205f73394f19a2d5bb1641ef95b08a8ddf1f622eeb5fa8cbfa62b8a2ee478a49b0dff0995e4ae42e WHIRLPOOL abf515aad901b0c752a0f133c293654f60750522cee69985126547602f321f6577e135077cbfa330a30fbc838b125af30b75cbb4f8fdd60d1444b0bd2446bb39 +DIST dnspython3-1.12.0.zip 226945 SHA256 e9630946207864c7a780798809cd2ec9c6bbde6ac88b97a2fda66f018eec1c8d SHA512 02c61eb91c2e872f2c8fa0e09b88d593a067130b5ac3ea6eabd0abec413ecb6d3b7d5472ca502334f4c441af249511109006ae6a7b41d36ba1db3e777971b3ae WHIRLPOOL d3624f8545c607441931dcc71a1e43c83df6e1bd938222d52c8d798b342c4faf15f200bf1da7ea1fd59d2fe96e82644b22c8815764bf7d6304573deee6261f5a EBUILD dnspython-1.11.1.ebuild 1240 SHA256 e44ded29a866b283b281934905220e32e95b1b42d6ee37d5abd2887fd915643b SHA512 0f6599a81e57967e40f3bfe9f4d900a7b94ad782da41e064b7aef716aa5fd515b66ec05b00d6afef4d7fc3070c5b1d45960655ebdb27f1daba0dd3d647d1f832 WHIRLPOOL c21521335f47962431d0fcea1bd0faa9800bf410c236b521e70159c14f7d76fcab8c02e107689cec2ba6dea9799dff189767b150e3512b0f7571d82069ea8311 +EBUILD dnspython-1.12.0-r1.ebuild 1669 SHA256 bf9dae25ea5900adb0db9adad18c153cb3580716958b321e8645789b1e4f880b SHA512 08ffffbfc1e410e8ffe912fdf2583a8ce9ef5fa31da44718473fc536b796d9cb439efe615e5a908e1aa39430686153a18b9f580cc9e159b6c0f39e18c805b068 WHIRLPOOL cde732a337e52783c6c2d76b37848dcc93ab1db3f0a0420dc5c94c3946c0c2c0aeccc65030770487c1b79fc83bd4e627a037af8cd2fe9e470ae96a269595ea46 EBUILD dnspython-1.12.0.ebuild 1047 SHA256 27fa5b2409277b5aff7e2bf972367f8b710d193584865520821972a855d21c54 SHA512 9a71e942dfa5c21314fff49478c77d0a93c913495c082610d2e6efbea4dc40a4238389665b81ab2af794af2ec106de859a6eb7ab82d64082c12a2a2c3638aa81 WHIRLPOOL af41e2a27f35d94cdb647024ddb1093e20c09c0abcd0e19a0b57770485122e413b2148419b67cf9bdc199abece80a350d6722ea4b4fc4181f2063375cdbefd9f -MISC ChangeLog 11142 SHA256 2c6560ac8d30d9e6a2e7d55341b8ffd33066d63efd2eef0f8768793f8be029a3 SHA512 528e7363a089e673e2d2f665beba455e80930df7dff5686f230f68b29072baf1327a630ec7dde36b5bc98c0bc48e3d30b198d80baa5d66caad1e6a69ecdba92f WHIRLPOOL 41a2f99379592fc272c28469b3534c6a965a3ff55ec966e06b16a8e674bf6fc4cb2e295aa94502d88794c2c274123e3071adab1a51879fa197107fc60951958f +MISC ChangeLog 11424 SHA256 e00aa5dfa342c79018ea119ec48d853562286507bd4ad7f76cf6b0b399b05f26 SHA512 9981cbca292c6ddeb8210d7dd151cf855b9ae0c592a08c5a71750bbf06ff96dc646974f0f7439a3bfc70858aa10fa35b9f10b834b6de8ab3acf1ad04be6885e6 WHIRLPOOL 0f9cb8bae980986e59fcc61f5759b581ad3a18f02573030fb86e28ad475b15567276f41047199317991c13f8b2a5a668cc4b4f6fc60498595d6aba19d65fbc72 MISC metadata.xml 1301 SHA256 9e6cfdf51a2995ef9ad7df3a2fd664de677ec4ad5e9a6d6394d429d8af0818bd SHA512 6d2b209e37a8d0eff104b518cc11cb6889f1565747741123af033948afcff7efefe073b5917b9ec8fd638c079245e72c1d4783dedc12938767d09d3543df1e72 WHIRLPOOL 08aeee34d1f740ed2a4c4f3394bc692cc9352d93d011398fa90091f5620bbed292fd141a058a44a63c6d882a2cda67157f93c2bc9307b76cdcb94206f7e69623 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlT5kZ4ACgkQso7CE7gHKw1xxwCfYo970Z04fVMCl5xKkBCGcIQp +aIgAnAvuW9BDtTXRQHFcICGlIF8Uvo0y +=WBbc +-----END PGP SIGNATURE----- diff --git a/dev-python/dnspython/dnspython-1.12.0-r1.ebuild b/dev-python/dnspython/dnspython-1.12.0-r1.ebuild new file mode 100644 index 000000000000..1824e9ba1cd8 --- /dev/null +++ b/dev-python/dnspython/dnspython-1.12.0-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.12.0-r1.ebuild,v 1.1 2015/03/06 11:37:48 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +PN3="${PN}3" +P3="${PN3}-${PV}" + +DESCRIPTION="DNS toolkit for Python" +HOMEPAGE="http://www.dnspython.org/ http://pypi.python.org/pypi/dnspython" +SRC_URI="http://www.dnspython.org/kits/${PV}/${P}.tar.gz + http://www.dnspython.org/kits3/${PV}/${P3}.zip" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +IUSE="examples test" + +DEPEND="dev-python/pycrypto[${PYTHON_USEDEP}] + app-arch/unzip" +RDEPEND="${DEPEND}" + +S2="${S}" +S3="${WORKDIR}/${P3}" + +# For testsuite +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare() { + if python_is_python3; then + cp -r "${WORKDIR}/${P3}" "${BUILD_DIR}" || die + else + distutils-r1_python_prepare + fi +} + +python_compile() { + if python_is_python3; then + run_in_build_dir distutils-r1_python_compile + else + distutils-r1_python_compile + fi +} + +python_install(){ + if python_is_python3; then + run_in_build_dir distutils-r1_python_install + else + distutils-r1_python_install + fi +} + +python_test() { + if python_is_python3; then + pushd "${S3}/tests" &> /dev/null + else + pushd "${S2}/tests" &> /dev/null + fi + "${PYTHON}" utest.py || die "tests failed under ${EPYTHON}" + einfo "Testsuite passed under ${EPYTHON}" + popd &> /dev/null +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +}