diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-23 15:14:51 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-23 15:14:51 +0000 |
commit | c15ab85b6cf8b014534c3ec4e88b7e9b034e1db9 (patch) | |
tree | c8d37120f8f00222f8d5e402c220437d370096b8 /dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild | |
parent | Bump gtk-doc dependencies as reported in bug #324601 (by Geoff Madden) (diff) | |
download | gentoo-2-c15ab85b6cf8b014534c3ec4e88b7e9b034e1db9.tar.gz gentoo-2-c15ab85b6cf8b014534c3ec4e88b7e9b034e1db9.tar.bz2 gentoo-2-c15ab85b6cf8b014534c3ec4e88b7e9b034e1db9.zip |
Use PYTHON_DEPEND instead of NEED_PYTHON.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild')
-rw-r--r-- | dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild b/dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild index c200c8a2e650..6807f135abf3 100644 --- a/dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild +++ b/dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild @@ -1,28 +1,28 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild,v 1.3 2009/09/23 18:22:43 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild,v 1.4 2010/06/23 15:14:51 arfrever Exp $ -EAPI="2" -NEED_PYTHON="2.1" +EAPI="3" +PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" inherit distutils eutils MY_P=Gnosis_Utils-${PV} DESCRIPTION="XML pickling and objectification with Python." -SRC_URI="http://www.gnosis.cx/download/${MY_P}.tar.gz" HOMEPAGE="http://www.gnosis.cx/download/" +SRC_URI="http://www.gnosis.cx/download/${MY_P}.tar.gz" + +LICENSE="PYTHON" SLOT="0" KEYWORDS="~amd64 ia64 x86" -LICENSE="PYTHON" IUSE="" DEPEND="" RDEPEND="" -RESTRICT_PYTHON_ABIS="3*" - PYTHON_MODNAME="gnosis" S="${WORKDIR}/${MY_P}" @@ -45,7 +45,7 @@ src_prepare() { src_test() { testing() { - cd "${S}"/gnosis/xml/pickle/test + cd gnosis/xml/pickle/test PYTHONPATH="${S}/build-${PYTHON_ABI}/lib" "$(PYTHON)" test_all.py } python_execute_function testing @@ -58,5 +58,8 @@ src_install() { distutils_src_install - rm -f "${D}"usr/lib*/python*/site-packages/README + delete_README() { + rm -f "${ED}$(python_get_sitedir)/README" + } + python_execute_function -q delete_README } |