diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-03-25 21:25:47 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-03-25 21:25:47 +0000 |
commit | 8fb2eeb671579f4d7f331b799d6f2170d6fd3b41 (patch) | |
tree | c5aec8d3b4cc9a85a29478d4e4dedae3f76c8d34 /dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild | |
parent | Stable on amd64 wrt bug #327725 (diff) | |
download | gentoo-2-8fb2eeb671579f4d7f331b799d6f2170d6fd3b41.tar.gz gentoo-2-8fb2eeb671579f4d7f331b799d6f2170d6fd3b41.tar.bz2 gentoo-2-8fb2eeb671579f4d7f331b799d6f2170d6fd3b41.zip |
Set SUPPORT_PYTHON_ABIS (bug #329477).
(Portage version: 2.2.0_alpha28_p7/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild')
-rw-r--r-- | dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild b/dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild index 254ec38845bf..e1d7f2e7aba0 100644 --- a/dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild +++ b/dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild @@ -1,6 +1,11 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild,v 1.2 2010/06/22 18:43:49 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild,v 1.3 2011/03/25 21:25:47 arfrever Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" inherit distutils @@ -15,11 +20,17 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86" IUSE="" -DEPEND="dev-lang/python - >=dev-vcs/subversion-1.0.9" +DEPEND=">=dev-vcs/subversion-1.0.9" RDEPEND="${DEPEND} dev-vcs/rcs" +PYTHON_MODNAME="cvs2svn_lib cvs2svn_rcsparse" + +src_prepare() { + distutils_src_prepare + python_convert_shebangs -r 2 . +} + src_install() { distutils_src_install insinto "/usr/share/${PN}" @@ -28,6 +39,7 @@ src_install() { } pkg_postinst() { + distutils_pkg_postinst elog "Additional scripts and examples have been installed to:" elog " ${ROOT}usr/share/${PN}/" } @@ -35,5 +47,9 @@ pkg_postinst() { src_test() { # Need this because subversion is localized, but the tests aren't export LC_ALL=C - python run-tests.py || die "tests failed" + + testing() { + "$(PYTHON)" run-tests.py + } + python_execute_function testing } |