diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-08 20:18:50 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-08 20:18:50 +0000 |
commit | f34dd1d872caf3b36241d25335d86fcf609654f9 (patch) | |
tree | dfc271a3944cd4dfb409258e824ba5f66e685a30 /dev-python/dnspython | |
parent | Set SUPPORT_PYTHON_ABIS. (diff) | |
download | historical-f34dd1d872caf3b36241d25335d86fcf609654f9.tar.gz historical-f34dd1d872caf3b36241d25335d86fcf609654f9.tar.bz2 historical-f34dd1d872caf3b36241d25335d86fcf609654f9.zip |
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-14218-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/dnspython')
-rw-r--r-- | dev-python/dnspython/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/dnspython/dnspython-1.7.1.ebuild | 26 |
2 files changed, 23 insertions, 9 deletions
diff --git a/dev-python/dnspython/ChangeLog b/dev-python/dnspython/ChangeLog index 3588ebfd2c13..9278abb5cf68 100644 --- a/dev-python/dnspython/ChangeLog +++ b/dev-python/dnspython/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/dnspython # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.45 2009/09/07 19:34:27 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.46 2009/09/08 20:14:30 arfrever Exp $ + + 08 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + dnspython-1.7.1.ebuild: + Set SUPPORT_PYTHON_ABIS. *dnspython-1.7.1 (07 Sep 2009) diff --git a/dev-python/dnspython/dnspython-1.7.1.ebuild b/dev-python/dnspython/dnspython-1.7.1.ebuild index 2e0363d79787..78b8bd678d69 100644 --- a/dev-python/dnspython/dnspython-1.7.1.ebuild +++ b/dev-python/dnspython/dnspython-1.7.1.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.7.1.ebuild,v 1.1 2009/09/07 19:34:27 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.7.1.ebuild,v 1.2 2009/09/08 20:14:30 arfrever Exp $ -NEED_PYTHON=2.2 +EAPI="2" +SUPPORT_PYTHON_ABIS="1" inherit distutils @@ -15,8 +16,21 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" IUSE="examples" +DEPEND="" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +PYTHON_MODNAME="dns" DOCS="TODO" +src_test() { + cd tests + testing() { + PYTHONPATH="../build-${PYTHON_ABI}/lib:${PYTHONPATH}" emake + } + python_execute_function testing +} + src_install() { distutils_src_install @@ -29,13 +43,9 @@ src_install() { doins -r tests } -src_test() { - export PYTHONPATH="${S}/build/lib:${PYTHONPATH}" - cd tests - emake || die "Unit tests failed!" -} - pkg_postinst() { + distutils_pkg_postinst + elog "Documentation is sparse at the moment. Use pydoc," elog "or read the HTML documentation at the dnspython's home page." } |