diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-05 00:44:07 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-05 00:44:07 +0000 |
commit | 5d04584a93993878c13cd4e2ab229e553ecc1760 (patch) | |
tree | d3ebe0f134e5f8a1a9fb723135fe8ffa1e211d85 /app-portage | |
parent | Update patch. (diff) | |
download | gentoo-2-5d04584a93993878c13cd4e2ab229e553ecc1760.tar.gz gentoo-2-5d04584a93993878c13cd4e2ab229e553ecc1760.tar.bz2 gentoo-2-5d04584a93993878c13cd4e2ab229e553ecc1760.zip |
Set SUPPORT_PYTHON_ABIS.
(Portage version: 14926-svn/cvs/Linux x86_64)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/layman/ChangeLog | 6 | ||||
-rw-r--r-- | app-portage/layman/layman-1.2.4.ebuild | 23 |
2 files changed, 17 insertions, 12 deletions
diff --git a/app-portage/layman/ChangeLog b/app-portage/layman/ChangeLog index a233a2e879d2..b925cd313623 100644 --- a/app-portage/layman/ChangeLog +++ b/app-portage/layman/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-portage/layman # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.78 2009/12/04 23:42:48 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.79 2009/12/05 00:44:07 arfrever Exp $ + + 05 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + layman-1.2.4.ebuild: + Set SUPPORT_PYTHON_ABIS. *layman-1.2.4 (04 Dec 2009) diff --git a/app-portage/layman/layman-1.2.4.ebuild b/app-portage/layman/layman-1.2.4.ebuild index ed532c82287e..92441baaaf1d 100644 --- a/app-portage/layman/layman-1.2.4.ebuild +++ b/app-portage/layman/layman-1.2.4.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/app-portage/layman/layman-1.2.4.ebuild,v 1.1 2009/12/04 23:42:48 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-1.2.4.ebuild,v 1.2 2009/12/05 00:44:07 arfrever Exp $ EAPI="2" +SUPPORT_PYTHON_ABIS="1" inherit eutils distutils @@ -25,6 +26,7 @@ RDEPEND=">=dev-lang/python-2.5 >=dev-util/subversion-1.5.4[webdav-serf] ) )" +RESTRICT_PYTHON_ABIS="2.4 3.*" pkg_setup() { if ! has_version dev-util/subversion; then @@ -38,8 +40,14 @@ pkg_setup() { fi } -src_install() { +src_test() { + testing() { + PYTHONPATH="." "$(PYTHON)" layman/tests/dtest.py + } + python_execute_function testing +} +src_install() { distutils_src_install dodir /etc/layman @@ -52,16 +60,9 @@ src_install() { keepdir /usr/local/portage/layman } -src_test() { - einfo "Running layman doctests..." - echo - if ! PYTHONPATH="." ${python} layman/tests/dtest.py; then - eerror "DocTests failed - please submit a bug report" - die "DocTesting failed!" - fi -} - pkg_postinst() { + distutils_pkg_postinst + einfo "You are now ready to add overlays into your system." einfo einfo "layman -L" |