diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-05-29 17:09:00 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-05-29 17:09:00 +0000 |
commit | dab46fc89eccfcfd63c3854a056dcd4670ad5e34 (patch) | |
tree | ff542c48b7e4b48cdbb83228bab7934692ba212e /dev-python/dnspython | |
parent | sci-physics/root: Fix usage of new python r1 eclasses (missing PYTHON_REQUIRE... (diff) | |
download | gentoo-2-dab46fc89eccfcfd63c3854a056dcd4670ad5e34.tar.gz gentoo-2-dab46fc89eccfcfd63c3854a056dcd4670ad5e34.tar.bz2 gentoo-2-dab46fc89eccfcfd63c3854a056dcd4670ad5e34.zip |
revbump, migrate -> distutils-r1
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/dnspython')
-rw-r--r-- | dev-python/dnspython/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/dnspython/dnspython-1.10.0-r1.ebuild | 46 |
2 files changed, 53 insertions, 3 deletions
diff --git a/dev-python/dnspython/ChangeLog b/dev-python/dnspython/ChangeLog index 7177d87759fc..5ba162934e1a 100644 --- a/dev-python/dnspython/ChangeLog +++ b/dev-python/dnspython/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/dnspython -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.79 2012/12/01 01:59:06 radhermit Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.80 2013/05/29 17:09:00 idella4 Exp $ + +*dnspython-1.10.0-r1 (29 May 2013) + + 29 May 2013; Ian Delaney <idella4@gentoo.org> +dnspython-1.10.0-r1.ebuild: + revbump, migrate -> distutils-r1 01 Dec 2012; Tim Harder <radhermit@gentoo.org> dnspython-1.9.4.ebuild, dnspython-1.10.0.ebuild: @@ -296,4 +301,3 @@ 02 May 2004; Bryan Østergaard <kloeri@gentoo.org> +metadata.xml, +dnspython-1.3.0.ebuild: Initial import, bug #46500. - diff --git a/dev-python/dnspython/dnspython-1.10.0-r1.ebuild b/dev-python/dnspython/dnspython-1.10.0-r1.ebuild new file mode 100644 index 000000000000..ff1897ac5e3b --- /dev/null +++ b/dev-python/dnspython/dnspython-1.10.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.10.0-r1.ebuild,v 1.1 2013/05/29 17:09:00 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7} ) + +inherit distutils-r1 + +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" + +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}]" +RDEPEND="${DEPEND}" + +DOCS=( ChangeLog README ) + +python_prepare_all() { + use test && DISTUTILS_IN_SOURCE_BUILD=1 + distutils-r1_python_prepare_all +} + +python_test() { + pushd "${BUILD_DIR}"/../tests &> /dev/null + local test + for test in *.py; do + if ! "${PYTHON}" ${test}; then + die "test $test failed under ${EPYTHON}" + else + einfo "test $test" + fi + done + # make some order out of the output salad + einfo "Testsuite passed under ${EPYTHON}" +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} |