diff options
author | Ben de Groot <yngwin@gentoo.org> | 2009-12-27 14:04:22 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2009-12-27 14:04:22 +0000 |
commit | 8c9adafc5e36b4ec288c06af2909dff226a2fbb7 (patch) | |
tree | c9ece10524e367d6ddbb56eb6b83f41cdf8676a6 /dev-python/pyqwt | |
parent | Mask x11-libs/kylixlibs3-borqt for removal. (diff) | |
download | gentoo-2-8c9adafc5e36b4ec288c06af2909dff226a2fbb7.tar.gz gentoo-2-8c9adafc5e36b4ec288c06af2909dff226a2fbb7.tar.bz2 gentoo-2-8c9adafc5e36b4ec288c06af2909dff226a2fbb7.zip |
Version bump (bug 248968). Change sip dep in version 5.1.0 (bug 294630).
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyqwt')
-rw-r--r-- | dev-python/pyqwt/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pyqwt/pyqwt-5.1.0.ebuild | 6 | ||||
-rw-r--r-- | dev-python/pyqwt/pyqwt-5.2.0.ebuild | 59 |
3 files changed, 69 insertions, 4 deletions
diff --git a/dev-python/pyqwt/ChangeLog b/dev-python/pyqwt/ChangeLog index d779a3af4c89..31cf8237575e 100644 --- a/dev-python/pyqwt/ChangeLog +++ b/dev-python/pyqwt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pyqwt # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyqwt/ChangeLog,v 1.13 2009/10/21 14:14:39 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyqwt/ChangeLog,v 1.14 2009/12/27 14:04:22 yngwin Exp $ + +*pyqwt-5.2.0 (27 Dec 2009) + + 27 Dec 2009; Ben de Groot <yngwin@gentoo.org> pyqwt-5.1.0.ebuild, + +pyqwt-5.2.0.ebuild: + Version bump (bug 248968). Change sip dep in version 5.1.0 (bug 294630). 21 Oct 2009; Dirkjan Ochtman <djc@gentoo.org> -pyqwt-4.2-r1.ebuild: Clean up old version that still depended upon numarray. diff --git a/dev-python/pyqwt/pyqwt-5.1.0.ebuild b/dev-python/pyqwt/pyqwt-5.1.0.ebuild index e6cff6b3b74d..3f38eebbe413 100644 --- a/dev-python/pyqwt/pyqwt-5.1.0.ebuild +++ b/dev-python/pyqwt/pyqwt-5.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyqwt/pyqwt-5.1.0.ebuild,v 1.1 2009/04/07 18:21:23 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyqwt/pyqwt-5.1.0.ebuild,v 1.2 2009/12/27 14:04:22 yngwin Exp $ EAPI=2 inherit eutils python toolchain-funcs @@ -17,10 +17,10 @@ KEYWORDS="~amd64 ~ia64 ~x86" IUSE="debug doc examples svg" RDEPEND="=x11-libs/qwt-5.1*[svg?] - >=dev-python/PyQt4-4.2 + dev-python/PyQt4 dev-python/numpy" DEPEND="${DEPEND} - >=dev-python/sip-4.6" + <dev-python/sip-4.9" src_configure() { # the -j option can be buggy diff --git a/dev-python/pyqwt/pyqwt-5.2.0.ebuild b/dev-python/pyqwt/pyqwt-5.2.0.ebuild new file mode 100644 index 000000000000..e620af581d0c --- /dev/null +++ b/dev-python/pyqwt/pyqwt-5.2.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2009 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.1 2009/12/27 14:04:22 yngwin Exp $ + +EAPI=2 +SUPPORT_PYTHON_ABIS="1" +inherit python flag-o-matic + +MY_P="PyQwt-${PV}" +DESCRIPTION="Python bindings for the Qwt library" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +HOMEPAGE="http://pyqwt.sourceforge.net/" + +SLOT="5" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ia64 ~x86" +IUSE="debug doc examples svg" + +RDEPEND=">=x11-libs/qwt-5.1[svg?] + dev-python/PyQt4 + dev-python/numpy" +DEPEND="${DEPEND} + dev-python/sip" + +RESTRICT_PYTHON_ABIS="2.4 2.7 3.*" + +S="${WORKDIR}/${MY_P}/configure" + +src_configure() { + + append-flags -fPIC + + # the -j option can be buggy + python_version + "${python}" configure.py \ + --disable-numarray \ + --disable-numeric \ + -I/usr/include/qwt5 \ + -lqwt \ + || die "python configure.py failed" + + # avoiding strip the libraries + sed -i -e '/strip/d' {iqt5qt4,qwt5qt4}/Makefile || die "sed failed" +} + +src_install() { + python_need_rebuild + emake DESTDIR="${D}" install || die "emake install failed" + cd .. + dodoc ANNOUNCEMENT-${PV} README + if use doc; then + insinto /usr/share/doc/${PF} + doins -r sphinx/build/* || die + fi + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins qt4examples/* || die + fi +} |