From 3f10bbd3ed516192096ee0862ebc2043e092632e Mon Sep 17 00:00:00 2001 From: Ian Delaney Date: Thu, 4 Sep 2014 15:29:11 +0000 Subject: bump (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) --- dev-python/dnspython/ChangeLog | 7 ++++- dev-python/dnspython/dnspython-1.12.0.ebuild | 41 ++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 dev-python/dnspython/dnspython-1.12.0.ebuild (limited to 'dev-python/dnspython') diff --git a/dev-python/dnspython/ChangeLog b/dev-python/dnspython/ChangeLog index fb3285ffe816..4d1dc6914180 100644 --- a/dev-python/dnspython/ChangeLog +++ b/dev-python/dnspython/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/dnspython # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.88 2014/08/30 11:55:58 nimiux Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.89 2014/09/04 15:29:11 idella4 Exp $ + +*dnspython-1.12.0 (04 Sep 2014) + + 04 Sep 2014; Ian Delaney +dnspython-1.12.0.ebuild: + bump 30 Aug 2014; Chema Alonso dnspython-1.11.1.ebuild: Stable for amd64 wrt bug #513558 diff --git a/dev-python/dnspython/dnspython-1.12.0.ebuild b/dev-python/dnspython/dnspython-1.12.0.ebuild new file mode 100644 index 000000000000..0f739d6a04ea --- /dev/null +++ b/dev-python/dnspython/dnspython-1.12.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 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.ebuild,v 1.1 2014/09/04 15:29:11 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_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}" + +# For tests +DISTUTILS_IN_SOURCE_BUILD=1 + +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 + einfo "Testsuite passed under ${EPYTHON}" +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} -- cgit v1.2.3-65-gdbad