summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-09-24 02:06:33 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-09-24 02:06:33 +0000
commit4be37fcb15cd28cca0eb35b5574e5d295e468f5f (patch)
treed8a314a68ce7b63b3612e8f6bfbbc76a65079835 /sci-visualization
parent(#138631) Bump. (diff)
downloadgentoo-2-4be37fcb15cd28cca0eb35b5574e5d295e468f5f.tar.gz
gentoo-2-4be37fcb15cd28cca0eb35b5574e5d295e468f5f.tar.bz2
gentoo-2-4be37fcb15cd28cca0eb35b5574e5d295e468f5f.zip
Graphing program similar to gnuplot to produce publication-quality figures.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/pyxplot/ChangeLog11
-rw-r--r--sci-visualization/pyxplot/Manifest24
-rw-r--r--sci-visualization/pyxplot/files/0.5.8-dont-build-pyx.patch23
-rw-r--r--sci-visualization/pyxplot/files/0.5.8-respect-destdir.patch36
-rw-r--r--sci-visualization/pyxplot/files/digest-pyxplot-0.5.83
-rw-r--r--sci-visualization/pyxplot/metadata.xml5
-rw-r--r--sci-visualization/pyxplot/pyxplot-0.5.8.ebuild59
7 files changed, 161 insertions, 0 deletions
diff --git a/sci-visualization/pyxplot/ChangeLog b/sci-visualization/pyxplot/ChangeLog
new file mode 100644
index 000000000000..4b4e15b311e8
--- /dev/null
+++ b/sci-visualization/pyxplot/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-visualization/pyxplot
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/ChangeLog,v 1.1 2006/09/24 02:06:33 dberkholz Exp $
+
+*pyxplot-0.5.8 (24 Sep 2006)
+
+ 24 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+ +files/0.5.8-dont-build-pyx.patch, +files/0.5.8-respect-destdir.patch,
+ +metadata.xml, +pyxplot-0.5.8.ebuild:
+ Graphing program similar to gnuplot to produce publication-quality figures.
+
diff --git a/sci-visualization/pyxplot/Manifest b/sci-visualization/pyxplot/Manifest
new file mode 100644
index 000000000000..a79850345a33
--- /dev/null
+++ b/sci-visualization/pyxplot/Manifest
@@ -0,0 +1,24 @@
+AUX 0.5.8-dont-build-pyx.patch 809 RMD160 587b9670f4080cb3bf76d78bb51db60197ab2ef5 SHA1 7e93e5e1f75c60b667f9307e6822be47b9bed9cb SHA256 f3dd064e51010dbccee58be53c9996be530ab7fc1647b1290c414bf08871af21
+MD5 7435d1ac6361cae0937be1d4053c5873 files/0.5.8-dont-build-pyx.patch 809
+RMD160 587b9670f4080cb3bf76d78bb51db60197ab2ef5 files/0.5.8-dont-build-pyx.patch 809
+SHA256 f3dd064e51010dbccee58be53c9996be530ab7fc1647b1290c414bf08871af21 files/0.5.8-dont-build-pyx.patch 809
+AUX 0.5.8-respect-destdir.patch 1796 RMD160 42f8e30c3d3eb547dc85b2e13995fb200145c31e SHA1 7d0d89556ba1adb15640f77273fde2402e4492fb SHA256 1e3b9ed3fc624b6e34a83162afc12af91c1e62ac4ff9e9cd51ce7f50a03ef596
+MD5 27e4cb012a619ec03b535ee820c14a80 files/0.5.8-respect-destdir.patch 1796
+RMD160 42f8e30c3d3eb547dc85b2e13995fb200145c31e files/0.5.8-respect-destdir.patch 1796
+SHA256 1e3b9ed3fc624b6e34a83162afc12af91c1e62ac4ff9e9cd51ce7f50a03ef596 files/0.5.8-respect-destdir.patch 1796
+DIST pyxplot_0.5.8.tar.gz 519766 RMD160 6b94e740412da9ef48f5002372421fc4994759e8 SHA1 658d64614222f87c044c47cc79b19989dc78d7fc SHA256 7d9cbdfeca913ca7ca439f87818aed7e08dc182772cd58e9474bf913b0be5d8f
+EBUILD pyxplot-0.5.8.ebuild 1320 RMD160 c141dfdd51b9d6efdb4fd97517b1ca4c4bc51cf6 SHA1 31427aa161947bd79c8688ae6ab19d7d9288ba33 SHA256 82f5e6714831c165df0074bfd4c0ae4ec2db5ddb90759efde4019f2073cb7f89
+MD5 025c0012726a6f9a04a88423a9ccace7 pyxplot-0.5.8.ebuild 1320
+RMD160 c141dfdd51b9d6efdb4fd97517b1ca4c4bc51cf6 pyxplot-0.5.8.ebuild 1320
+SHA256 82f5e6714831c165df0074bfd4c0ae4ec2db5ddb90759efde4019f2073cb7f89 pyxplot-0.5.8.ebuild 1320
+MISC ChangeLog 403 RMD160 8a4157fc749b1dbb2da186dc8e1cf5b6ab150974 SHA1 376120db25779aeb5ed7939311f9990f794c050b SHA256 2f6a6fe61dcffc85712feffefffc12fd115863e21bd92b8303e41a1818f29c23
+MD5 47d940821e3ecc0231f88fa8b0d8c8f6 ChangeLog 403
+RMD160 8a4157fc749b1dbb2da186dc8e1cf5b6ab150974 ChangeLog 403
+SHA256 2f6a6fe61dcffc85712feffefffc12fd115863e21bd92b8303e41a1818f29c23 ChangeLog 403
+MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
+SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156
+MD5 dc7bc2c19919ede4b0e947d44e2ee343 files/digest-pyxplot-0.5.8 241
+RMD160 b046b96e95b09381d0d692c3e0297724e78608be files/digest-pyxplot-0.5.8 241
+SHA256 9523bb7ed5ef2f23e69f9be051628d6173b91a30b5910eaea1f0d7e9b2706605 files/digest-pyxplot-0.5.8 241
diff --git a/sci-visualization/pyxplot/files/0.5.8-dont-build-pyx.patch b/sci-visualization/pyxplot/files/0.5.8-dont-build-pyx.patch
new file mode 100644
index 000000000000..6f17ce70a3c3
--- /dev/null
+++ b/sci-visualization/pyxplot/files/0.5.8-dont-build-pyx.patch
@@ -0,0 +1,23 @@
+--- Makefile.skel.orig 2006-09-20 21:57:01.000000000 -0700
++++ Makefile.skel 2006-09-20 21:57:17.000000000 -0700
+@@ -35,10 +35,6 @@
+ echo -e "DATE='${DATE}'" >> src/gp_version.py
+ echo -e "SRCDIR='${SRCDIR}'" >> src/gp_version.py
+ echo -e "GHOSTVIEW='${GV_COMMAND}'" >> src/gp_version.py
+- rm -rf src/pyx
+- tar xzf PyX-0.9.tar.gz
+- mv PyX-0.9/pyx src
+- rm -rf PyX-0.9
+ chmod 755 src/__init__.py
+ make -s -C doc PYXPLOT=../src/__init__.py
+ echo "exit" | src/__init__.py
+@@ -46,9 +42,6 @@
+
+ install:
+ install -d ${SRCDIR} ${BINDIR} ${DOCDIR} ${MANDIR} ${DOCDIR}/examples ${DOCDIR}/examples/eps
+- rm -rf ${SRCDIR}/pyx
+- cp -r src/pyx ${SRCDIR}
+- chmod -R 755 ${SRCDIR}/pyx
+ install -m644 src/*.py ${SRCDIR}
+ install -m644 src/*.pyc ${SRCDIR}
+ install -m644 src/*.xml ${SRCDIR}
diff --git a/sci-visualization/pyxplot/files/0.5.8-respect-destdir.patch b/sci-visualization/pyxplot/files/0.5.8-respect-destdir.patch
new file mode 100644
index 000000000000..76c645887a41
--- /dev/null
+++ b/sci-visualization/pyxplot/files/0.5.8-respect-destdir.patch
@@ -0,0 +1,36 @@
+Depends on 0.5.8-dont-build-pyx.patch
+
+--- Makefile.skel.orig 2006-09-20 22:04:50.000000000 -0700
++++ Makefile.skel 2006-09-20 22:04:22.000000000 -0700
+@@ -41,17 +41,17 @@
+ python manpage.py ${DOCDIR}/pyxplot.pdf > pyxplot.1
+
+ install:
+- install -d ${SRCDIR} ${BINDIR} ${DOCDIR} ${MANDIR} ${DOCDIR}/examples ${DOCDIR}/examples/eps
+- install -m644 src/*.py ${SRCDIR}
+- install -m644 src/*.pyc ${SRCDIR}
+- install -m644 src/*.xml ${SRCDIR}
+- install -m755 src/__init__.py ${SRCDIR}
+- install -m755 src/pyxplot_watch ${SRCDIR}
+- rm -f ${BINDIR}/pyxplot
+- ln -s ${SRCDIR}/__init__.py ${BINDIR}/pyxplot
+- rm -f ${BINDIR}/pyxplot_watch
+- ln -s ${SRCDIR}/pyxplot_watch ${BINDIR}/pyxplot_watch
+- install -m644 doc/pyxplot.tex doc/pyxplot.pdf ${DOCDIR}
+- install -m644 doc/examples/example* ${DOCDIR}/examples
+- install -m644 doc/examples/eps/* ${DOCDIR}/examples/eps
+- install -m644 pyxplot.1 ${MANDIR}/pyxplot.1
++ install -d ${DESTDIR} ${DESTDIR}/${SRCDIR} ${DESTDIR}/${BINDIR} ${DESTDIR}/${DOCDIR} ${DESTDIR}/${MANDIR} ${DESTDIR}/${DOCDIR}/examples ${DESTDIR}/${DOCDIR}/examples/eps
++ install -m644 src/*.py ${DESTDIR}/${SRCDIR}
++ install -m644 src/*.pyc ${DESTDIR}/${SRCDIR}
++ install -m644 src/*.xml ${DESTDIR}/${SRCDIR}
++ install -m755 src/__init__.py ${DESTDIR}/${SRCDIR}
++ install -m755 src/pyxplot_watch ${DESTDIR}/${SRCDIR}
++ rm -f ${DESTDIR}/${BINDIR}/pyxplot
++ ln -s ${SRCDIR}/__init__.py ${DESTDIR}/${BINDIR}/pyxplot
++ rm -f ${DESTDIR}/${BINDIR}/pyxplot_watch
++ ln -s ${SRCDIR}/pyxplot_watch ${DESTDIR}/${BINDIR}/pyxplot_watch
++ install -m644 doc/pyxplot.tex doc/pyxplot.pdf ${DESTDIR}/${DOCDIR}
++ install -m644 doc/examples/example* ${DESTDIR}/${DOCDIR}/examples
++ install -m644 doc/examples/eps/* ${DESTDIR}/${DOCDIR}/examples/eps
++ install -m644 pyxplot.1 ${DESTDIR}/${MANDIR}/pyxplot.1
diff --git a/sci-visualization/pyxplot/files/digest-pyxplot-0.5.8 b/sci-visualization/pyxplot/files/digest-pyxplot-0.5.8
new file mode 100644
index 000000000000..e3df53484b14
--- /dev/null
+++ b/sci-visualization/pyxplot/files/digest-pyxplot-0.5.8
@@ -0,0 +1,3 @@
+MD5 80cc02e734cc586dcb381c9d14d47248 pyxplot_0.5.8.tar.gz 519766
+RMD160 6b94e740412da9ef48f5002372421fc4994759e8 pyxplot_0.5.8.tar.gz 519766
+SHA256 7d9cbdfeca913ca7ca439f87818aed7e08dc182772cd58e9474bf913b0be5d8f pyxplot_0.5.8.tar.gz 519766
diff --git a/sci-visualization/pyxplot/metadata.xml b/sci-visualization/pyxplot/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-visualization/pyxplot/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>
diff --git a/sci-visualization/pyxplot/pyxplot-0.5.8.ebuild b/sci-visualization/pyxplot/pyxplot-0.5.8.ebuild
new file mode 100644
index 000000000000..c4959a9e5e61
--- /dev/null
+++ b/sci-visualization/pyxplot/pyxplot-0.5.8.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.5.8.ebuild,v 1.1 2006/09/24 02:06:33 dberkholz Exp $
+
+inherit eutils python
+
+DESCRIPTION="Graphing program similar to gnuplot to produce publication-quality figures"
+HOMEPAGE="http://www.pyxplot.org.uk/"
+SRC_URI="http://www.pyxplot.org.uk/src/${PN}_${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RDEPEND=">=dev-python/pyx-0.9
+ sci-libs/scipy
+ virtual/tetex
+ virtual/ghostscript
+ || ( app-text/gv app-text/ggv )
+ media-gfx/imagemagick"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s:^\(USRDIR=\).*:\1/usr:g" \
+ -e 's:^\(MANDIR=\).*:\1${USRDIR}/share/man/man1:g' \
+ "${S}"/Makefile.skel
+ epatch "${FILESDIR}"/${PV}-dont-build-pyx.patch
+ # Depends on dont-build-pyx.patch
+ epatch "${FILESDIR}"/${PV}-respect-destdir.patch
+
+ # It doesn't come with precompiled .pyc files,
+ # so fails if we try to install them.
+ sed -i \
+ -e "/pyc/d" \
+ "${S}"/Makefile.skel
+}
+
+src_compile() {
+ # latex...
+ addwrite /var/cache/fonts
+
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
+
+pkg_postinst() {
+ python_mod_optimize ${ROOT}usr/share/pyxplot
+}
+
+pkg_postrm() {
+ python_mod_cleanup ${ROOT}usr/share/pyxplot
+}