diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-18 17:49:39 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-18 17:49:39 +0000 |
commit | ed5b337752750014f1ae0cb4c883d72484cb7137 (patch) | |
tree | a90edab573b36142873348208ac9e75919b84d85 /dev-python/pycairo | |
parent | Missing versionator (diff) | |
download | gentoo-2-ed5b337752750014f1ae0cb4c883d72484cb7137.tar.gz gentoo-2-ed5b337752750014f1ae0cb4c883d72484cb7137.tar.bz2 gentoo-2-ed5b337752750014f1ae0cb4c883d72484cb7137.zip |
Use PYTHON_DEPEND instead of NEED_PYTHON.
Diffstat (limited to 'dev-python/pycairo')
-rw-r--r-- | dev-python/pycairo/pycairo-1.8.8.ebuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/dev-python/pycairo/pycairo-1.8.8.ebuild b/dev-python/pycairo/pycairo-1.8.8.ebuild index 57ecdf9f6bc6..a6f1471742c7 100644 --- a/dev-python/pycairo/pycairo-1.8.8.ebuild +++ b/dev-python/pycairo/pycairo-1.8.8.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.8.8.ebuild,v 1.16 2010/02/07 20:55:36 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.8.8.ebuild,v 1.17 2010/06/18 17:49:39 arfrever Exp $ -EAPI="2" - -NEED_PYTHON="2.6" +EAPI="3" +PYTHON_DEPEND="2:2.6" SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.4 2.5 3.*" inherit eutils distutils multilib @@ -22,10 +22,9 @@ RDEPEND=">=x11-libs/cairo-1.8.8[svg?]" DEPEND="${RDEPEND} dev-util/pkgconfig doc? ( >=dev-python/sphinx-0.6 )" -RESTRICT_PYTHON_ABIS="2.4 2.5 3.*" -PYTHON_MODNAME="cairo" DOCS="AUTHORS NEWS README" +PYTHON_MODNAME="cairo" src_prepare() { # Don't run py-compile. @@ -67,7 +66,6 @@ src_test() { } src_install() { - [[ -z "${ED}" ]] && local ED="${D}" PKGCONFIG_DIR="${EPREFIX}/usr/$(get_libdir)/pkgconfig" distutils_src_install if use doc; then |