aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <donnie@supernova.(none)>2006-09-21 08:18:34 -0700
committerDonnie Berkholz <dberkholz@gentoo.org>2006-09-21 08:18:34 -0700
commitc483b3143fbc2a72f4ab38bb678fd65deea3cd45 (patch)
treeb84ec0ac6768c870ec61f8779177bcd463ac88e4 /sci-visualization
parentghemical: build against mopac7 using gcc-4. (diff)
downloaddberkholz-c483b3143fbc2a72f4ab38bb678fd65deea3cd45.tar.gz
dberkholz-c483b3143fbc2a72f4ab38bb678fd65deea3cd45.tar.bz2
dberkholz-c483b3143fbc2a72f4ab38bb678fd65deea3cd45.zip
Add non-working scipy bump, and new package PyXPlot.
new scipy should work with numpy 1.0* but I can't get it compiling yet. PyXPlot is like gnuplot but produces better graphs.
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/pyxplot/Manifest8
-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/pyxplot-0.5.8.ebuild49
5 files changed, 119 insertions, 0 deletions
diff --git a/sci-visualization/pyxplot/Manifest b/sci-visualization/pyxplot/Manifest
new file mode 100644
index 0000000..839ea27
--- /dev/null
+++ b/sci-visualization/pyxplot/Manifest
@@ -0,0 +1,8 @@
+DIST pyxplot_0.5.8.tar.gz 519766 RMD160 6b94e740412da9ef48f5002372421fc4994759e8 SHA1 658d64614222f87c044c47cc79b19989dc78d7fc SHA256 7d9cbdfeca913ca7ca439f87818aed7e08dc182772cd58e9474bf913b0be5d8f
+EBUILD pyxplot-0.5.8.ebuild 558 RMD160 ce0fd8644071757c4ac543183bdb9fe38230ca00 SHA1 8896725fadbb0950c27a3e0e58b5c343422dd58c SHA256 6296ce14e93641fdedd817d99bda9255cb9132cb2f71943b930edd9f360a5642
+MD5 80dd70f1d8292ecb19fbdfdadb60febb pyxplot-0.5.8.ebuild 558
+RMD160 ce0fd8644071757c4ac543183bdb9fe38230ca00 pyxplot-0.5.8.ebuild 558
+SHA256 6296ce14e93641fdedd817d99bda9255cb9132cb2f71943b930edd9f360a5642 pyxplot-0.5.8.ebuild 558
+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 0000000..6f17ce7
--- /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 0000000..591c025
--- /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 ${DESTDIR}/${SRCDIR}/__init__.py ${BINDIR}/pyxplot
++ rm -f ${DESTDIR}/${BINDIR}/pyxplot_watch
++ ln -s ${DESTDIR}/${SRCDIR}/pyxplot_watch ${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 0000000..e3df534
--- /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/pyxplot-0.5.8.ebuild b/sci-visualization/pyxplot/pyxplot-0.5.8.ebuild
new file mode 100644
index 0000000..bbe0a6f
--- /dev/null
+++ b/sci-visualization/pyxplot/pyxplot-0.5.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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=""
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RDEPEND="dev-python/pyx
+ 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}
+ sed -i \
+ -e "s:^\(USRDIR=\).*:\1/usr:g" \
+ -e 's:^\(MANDIR=\).*:\1MANDIR=${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
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
+
+pkg_postinst() {
+ python_mod_optimize
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}