summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-05 18:14:09 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-05 18:14:09 +0000
commita87077487a6d4f7da99564370f56cd8a61154780 (patch)
tree5f7caa2c2db947c4da82384334714ed0cfe5aed6 /dev-python/pyqwt
parentAdded DEPEND on slotted gtk+-2, to work with upcoming gtk-3. (diff)
downloadgentoo-2-a87077487a6d4f7da99564370f56cd8a61154780.tar.gz
gentoo-2-a87077487a6d4f7da99564370f56cd8a61154780.tar.bz2
gentoo-2-a87077487a6d4f7da99564370f56cd8a61154780.zip
Restrict Jython ABIs.
(Portage version: 2.2.0_alpha26_p6/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyqwt')
-rw-r--r--dev-python/pyqwt/pyqwt-5.2.0.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/dev-python/pyqwt/pyqwt-5.2.0.ebuild b/dev-python/pyqwt/pyqwt-5.2.0.ebuild
index cebbef884527..2ac3d8ff8794 100644
--- a/dev-python/pyqwt/pyqwt-5.2.0.ebuild
+++ b/dev-python/pyqwt/pyqwt-5.2.0.ebuild
@@ -1,10 +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-python/pyqwt/pyqwt-5.2.0.ebuild,v 1.6 2010/06/02 15:47:32 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyqwt/pyqwt-5.2.0.ebuild,v 1.7 2011/03/05 18:14:09 arfrever Exp $
-EAPI="2"
+EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
inherit flag-o-matic python
@@ -24,15 +25,12 @@ RDEPEND=">=x11-libs/qwt-5.1[svg?]
dev-python/numpy"
DEPEND="${DEPEND}
dev-python/sip"
-RESTRICT_PYTHON_ABIS="3.*"
S="${WORKDIR}/${MY_P}/configure"
-pkg_setup() {
+src_configure() {
append-flags -fPIC
-}
-src_configure() {
configuration() {
# '-j' option can be buggy.
"$(PYTHON)" configure.py \
@@ -64,9 +62,9 @@ src_install() {
}
pkg_postinst() {
- python_mod_optimize PyQt4
+ python_mod_optimize PyQt4/Qwt5 PyQt4/uic/widget-plugins/qwt.py
}
pkg_postrm() {
- python_mod_cleanup PyQt4
+ python_mod_cleanup PyQt4/Qwt5 PyQt4/uic/widget-plugins/qwt.py
}