summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2005-02-28 23:05:42 +0000
committerCarsten Lohrke <carlo@gentoo.org>2005-02-28 23:05:42 +0000
commitdc3452a876c5c8ed699cf98e05061cae5e9ef64b (patch)
treec8ad92e678db723dfe68c93b4f8a7977ecffddea /dev-python/pyqwt
parentarm lovin (diff)
downloadgentoo-2-dc3452a876c5c8ed699cf98e05061cae5e9ef64b.tar.gz
gentoo-2-dc3452a876c5c8ed699cf98e05061cae5e9ef64b.tar.bz2
gentoo-2-dc3452a876c5c8ed699cf98e05061cae5e9ef64b.zip
Initial ebuild.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-python/pyqwt')
-rw-r--r--dev-python/pyqwt/ChangeLog10
-rw-r--r--dev-python/pyqwt/Manifest4
-rw-r--r--dev-python/pyqwt/files/digest-pyqwt-4.21
-rw-r--r--dev-python/pyqwt/metadata.xml6
-rw-r--r--dev-python/pyqwt/pyqwt-4.2.ebuild44
5 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/pyqwt/ChangeLog b/dev-python/pyqwt/ChangeLog
new file mode 100644
index 000000000000..5a4864e57a70
--- /dev/null
+++ b/dev-python/pyqwt/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/pyqwt
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyqwt/ChangeLog,v 1.1 2005/02/28 23:05:42 carlo Exp $
+
+*pyqwt-4.2 (01 Mar 2005)
+
+ 01 Mar 2005; Carsten Lohrke <carlo@gentoo.org> +metadata.xml,
+ +pyqwt-4.2.ebuild:
+ Initial ebuild. Thanks to Toby Dickenson, #30101
+
diff --git a/dev-python/pyqwt/Manifest b/dev-python/pyqwt/Manifest
new file mode 100644
index 000000000000..aca992e4144d
--- /dev/null
+++ b/dev-python/pyqwt/Manifest
@@ -0,0 +1,4 @@
+MD5 c570d9da65cc9a81e0bae8c77e329a3b pyqwt-4.2.ebuild 1136
+MD5 3e3b4c9a2bdfa208421543af154135fb ChangeLog 280
+MD5 811c07ba7510a315382249fc3adb44fc metadata.xml 175
+MD5 5f65fedd7bab477d2b60b91281d10d9a files/digest-pyqwt-4.2 62
diff --git a/dev-python/pyqwt/files/digest-pyqwt-4.2 b/dev-python/pyqwt/files/digest-pyqwt-4.2
new file mode 100644
index 000000000000..3416216570e8
--- /dev/null
+++ b/dev-python/pyqwt/files/digest-pyqwt-4.2
@@ -0,0 +1 @@
+MD5 70cf89765cc51c3e9e2e5d1eef9522f1 PyQwt-4.2.tar.gz 1416358
diff --git a/dev-python/pyqwt/metadata.xml b/dev-python/pyqwt/metadata.xml
new file mode 100644
index 000000000000..a789e7bbe9ee
--- /dev/null
+++ b/dev-python/pyqwt/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+<herd>qt</herd>
+</pkgmetadata>
diff --git a/dev-python/pyqwt/pyqwt-4.2.ebuild b/dev-python/pyqwt/pyqwt-4.2.ebuild
new file mode 100644
index 000000000000..2b8b4369a5cc
--- /dev/null
+++ b/dev-python/pyqwt/pyqwt-4.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyqwt/pyqwt-4.2.ebuild,v 1.1 2005/02/28 23:05:42 carlo Exp $
+
+
+inherit distutils eutils
+
+MY_P=PyQwt-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Python bindings for the Qwt library"
+SRC_URI="mirror://sourceforge/pyqwt/${MY_P}.tar.gz"
+HOMEPAGE="http://pyqwt.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE="debug"
+
+DEPEND=">=dev-lang/python-2.3.2
+ ~x11-libs/qwt-4.2.0
+ >=dev-python/PyQt-3.14
+ >=dev-python/sip-4.2
+ >=dev-python/numarray-1.1.1
+ >=dev-python/numeric-23.7"
+
+src_compile() {
+ cd ${S}/configure
+ local myconf="-d /usr/$(get_libdir)/python${PYVER}/site-packages -l /usr/$(get_libdir) \
+ -i /usr/include/qwt -v /usr/share/sip -x /usr/share/sip"
+ use debug && myconf="${myconf} -u"
+ has distcc ${FEATURES} || myconf="${myconf} -c"
+
+ python configure.py ${myconf}
+ emake || die "emake failed"
+}
+
+src_install() {
+ python setup.py install --prefix=/usr --root=${D} || die "install failed"
+
+ dodoc ANNOUNCEMENT-4.2.TXT AUTHORS COPYING* README THANKS
+ use doc && mv ${D}/usr/share/doc/${MY_P}/* ${D}/usr/share/doc/${PF}
+ rm -rf ${D}/usr/share/doc/${MY_P}
+}