From 77f28f0aa33c1222d7f676b1ae3da5e0265c73fa Mon Sep 17 00:00:00 2001 From: Maciej Mrozowski Date: Mon, 12 Sep 2011 22:12:30 +0000 Subject: Does not build against python3, bug 382579 (Portage version: 2.2.0_alpha55/cvs/Linux x86_64) --- dev-python/pycups/ChangeLog | 5 ++++- dev-python/pycups/pycups-1.9.58.ebuild | 10 +++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'dev-python') diff --git a/dev-python/pycups/ChangeLog b/dev-python/pycups/ChangeLog index f96e0bb0cb39..15dd25da4e48 100644 --- a/dev-python/pycups/ChangeLog +++ b/dev-python/pycups/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/pycups # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.37 2011/09/06 22:46:45 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.38 2011/09/12 22:12:30 reavertm Exp $ + + 12 Sep 2011; Maciej Mrozowski pycups-1.9.58.ebuild: + Does not build against python3, bug 382579 06 Sep 2011; Maciej Mrozowski metadata.xml: My email fixed. diff --git a/dev-python/pycups/pycups-1.9.58.ebuild b/dev-python/pycups/pycups-1.9.58.ebuild index 88215ef8ff72..68d6fb8ddc73 100644 --- a/dev-python/pycups/pycups-1.9.58.ebuild +++ b/dev-python/pycups/pycups-1.9.58.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.58.ebuild,v 1.1 2011/08/22 23:08:42 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.58.ebuild,v 1.2 2011/09/12 22:12:30 reavertm Exp $ EAPI="3" -RESTRICT_PYTHON_ABIS="3.* *-jython" -SUPPORT_PYTHON_ABIS="1" +PYTHON_DEPEND="2:2.5" +RESTRICT_PYTHON_ABIS="*-jython" inherit distutils flag-o-matic DESCRIPTION="Python bindings for the CUPS API" @@ -24,6 +24,10 @@ DEPEND="${RDEPEND} doc? ( dev-python/epydoc ) " +pkg_setup() { + python_set_active_version 2 +} + src_compile() { append-cflags -DVERSION=\\\"${PV}\\\" distutils_src_compile -- cgit v1.2.3-65-gdbad