summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2011-09-12 22:12:30 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2011-09-12 22:12:30 +0000
commit77f28f0aa33c1222d7f676b1ae3da5e0265c73fa (patch)
treebda616f5eaa6e145a5a1f7f03e4f003a6ec8dd6b /dev-python
parentadd more BUILD_xxx helpers, and unify the variable lookup logic a bit more in... (diff)
downloadgentoo-2-77f28f0aa33c1222d7f676b1ae3da5e0265c73fa.tar.gz
gentoo-2-77f28f0aa33c1222d7f676b1ae3da5e0265c73fa.tar.bz2
gentoo-2-77f28f0aa33c1222d7f676b1ae3da5e0265c73fa.zip
Does not build against python3, bug 382579
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pycups/ChangeLog5
-rw-r--r--dev-python/pycups/pycups-1.9.58.ebuild10
2 files changed, 11 insertions, 4 deletions
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 <reavertm@gentoo.org> pycups-1.9.58.ebuild:
+ Does not build against python3, bug 382579
06 Sep 2011; Maciej Mrozowski <reavertm@gentoo.org> 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