diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-08 19:54:57 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-08 19:54:57 +0000 |
commit | 006645d0688baf1f30ef82e3b5be6d326fc2bef8 (patch) | |
tree | bdafb16ae1d3f8cc3c29bb7e1529073fa6a40aa7 /dev-python/dnspython | |
parent | Support for long user names, #348152 (diff) | |
download | gentoo-2-006645d0688baf1f30ef82e3b5be6d326fc2bef8.tar.gz gentoo-2-006645d0688baf1f30ef82e3b5be6d326fc2bef8.tar.bz2 gentoo-2-006645d0688baf1f30ef82e3b5be6d326fc2bef8.zip |
Version bump.
(Portage version: 2.2.0_alpha7_p5/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/dnspython')
-rw-r--r-- | dev-python/dnspython/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/dnspython/dnspython-1.9.2.ebuild | 48 |
2 files changed, 55 insertions, 1 deletions
diff --git a/dev-python/dnspython/ChangeLog b/dev-python/dnspython/ChangeLog index d44ba8fc69fc..4656560e8f56 100644 --- a/dev-python/dnspython/ChangeLog +++ b/dev-python/dnspython/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/dnspython # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.61 2010/08/16 16:50:27 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.62 2010/12/08 19:54:57 arfrever Exp $ + +*dnspython-1.9.2 (08 Dec 2010) + + 08 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +dnspython-1.9.2.ebuild: + Version bump. 16 Aug 2010; Fabian Groffen <grobian@gentoo.org> dnspython-1.8.0.ebuild: Marked ~x64-macos, bug #306705 diff --git a/dev-python/dnspython/dnspython-1.9.2.ebuild b/dev-python/dnspython/dnspython-1.9.2.ebuild new file mode 100644 index 000000000000..f9297a94812a --- /dev/null +++ b/dev-python/dnspython/dnspython-1.9.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.9.2.ebuild,v 1.1 2010/12/08 19:54:57 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +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="as-is" +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" + +DEPEND="dev-python/pycrypto" +RDEPEND="${DEPEND}" + +DOCS="ChangeLog README TODO" +PYTHON_MODNAME="dns" + +src_test() { + cd tests + + testing() { + local exit_status="0" test + for test in *.py; do + echo "Running ${test}..." + PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" "${test}" || exit_status="1" + done + return "${exit_status}" + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/* || die "Installation of examples failed" + fi +} |