# ChangeLog for sci-visualization/pyxplot
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/ChangeLog,v 1.3 2007/02/19 12:53:16 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/ChangeLog,v 1.4 2007/03/02 15:30:07 bicatali Exp $
+
+*pyxplot-0.6.3 (02 Mar 2007)
+
+ 02 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/0.6.3-dont-build-pyx.patch, +files/0.6.3-respect-destdir.patch,
+ metadata.xml, +pyxplot-0.6.3.ebuild:
+ Version bump. Added xdg-utils dependency to plot postcript files.
+ Cleani, new patches.
19 Feb 2007; Sébastien Fabbro <bicatali@gentoo.org> pyxplot-0.5.8.ebuild:
keyword ~amd64.
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
+AUX 0.6.3-dont-build-pyx.patch 880 RMD160 50cdf4c2020f03ccaac723087b0407e95434dd1f SHA1 67d0c141e332b119600faa5de416f4b6ad794444 SHA256 b266a749756653445c8917d5224cc6b39815335328ffcb5c26879a8319a81a76
+MD5 7dfc52c196795bce6510b598c26a51b9 files/0.6.3-dont-build-pyx.patch 880
+RMD160 50cdf4c2020f03ccaac723087b0407e95434dd1f files/0.6.3-dont-build-pyx.patch 880
+SHA256 b266a749756653445c8917d5224cc6b39815335328ffcb5c26879a8319a81a76 files/0.6.3-dont-build-pyx.patch 880
+AUX 0.6.3-respect-destdir.patch 2009 RMD160 d587d455ca6c6ece14d9c4fbdaa98bd674a188f7 SHA1 589cc705468e38a0ffe02fdec0556de2d6640402 SHA256 e76f52c59b50501f6a5e7cd498b8a9ff7219f6b0456d3837f28d7bb5f355640c
+MD5 ad3e5d6211aa9406262818f0e3f76883 files/0.6.3-respect-destdir.patch 2009
+RMD160 d587d455ca6c6ece14d9c4fbdaa98bd674a188f7 files/0.6.3-respect-destdir.patch 2009
+SHA256 e76f52c59b50501f6a5e7cd498b8a9ff7219f6b0456d3837f28d7bb5f355640c files/0.6.3-respect-destdir.patch 2009
DIST pyxplot_0.5.8.tar.gz 519766 RMD160 6b94e740412da9ef48f5002372421fc4994759e8 SHA1 658d64614222f87c044c47cc79b19989dc78d7fc SHA256 7d9cbdfeca913ca7ca439f87818aed7e08dc182772cd58e9474bf913b0be5d8f
+DIST pyxplot_0.6.3.tar.gz 859075 RMD160 064b9394ceb09be931d32c0563319c899ff16ba7 SHA1 6d520e668b01b5ffd0f09887e7387cb8906b9cf6 SHA256 05a617eaae96a1b496274d664ffc1cd99756897ced0db1a1944bb61552c9206f
EBUILD pyxplot-0.5.8.ebuild 1526 RMD160 adbda32fe4ee1a735614a1c4108c089c2a64b0bc SHA1 fe725b36c6dcb4fc997de731c1f91144700f722a SHA256 a597fda75fa27341da1133177db5301a812779c5bca618bdacf8f290d2774a5a
MD5 7f11f6110f4ad4e8a3bfe42667376821 pyxplot-0.5.8.ebuild 1526
RMD160 adbda32fe4ee1a735614a1c4108c089c2a64b0bc pyxplot-0.5.8.ebuild 1526
SHA256 a597fda75fa27341da1133177db5301a812779c5bca618bdacf8f290d2774a5a pyxplot-0.5.8.ebuild 1526
-MISC ChangeLog 739 RMD160 86a59fa9877496bdd7f2f2dafc752eef2a85499f SHA1 314102e2ba37b09389b79bf70c8224e671fe0cc2 SHA256 a2354cdfb93034d7d5ac68c880d110ce13e0e77871d6cc069cf84ef39dcc3938
-MD5 2c493140f9dde8d4e7c17dd3ad1183ce ChangeLog 739
-RMD160 86a59fa9877496bdd7f2f2dafc752eef2a85499f ChangeLog 739
-SHA256 a2354cdfb93034d7d5ac68c880d110ce13e0e77871d6cc069cf84ef39dcc3938 ChangeLog 739
-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
+EBUILD pyxplot-0.6.3.ebuild 2032 RMD160 4ae5e175078dd2c298fdc0992b5a63d014c5a695 SHA1 f985bdea8fcd5726820957efdbc0367b763afba2 SHA256 47f7871e6d227a085026bf71d6c47973e7f829c42a64865ac3b0f846ae4d33c2
+MD5 9246e2f4981147108edd6e7e5b3d61dc pyxplot-0.6.3.ebuild 2032
+RMD160 4ae5e175078dd2c298fdc0992b5a63d014c5a695 pyxplot-0.6.3.ebuild 2032
+SHA256 47f7871e6d227a085026bf71d6c47973e7f829c42a64865ac3b0f846ae4d33c2 pyxplot-0.6.3.ebuild 2032
+MISC ChangeLog 1029 RMD160 b43f1e253453d5bf0c969c916f70521fcc7b12f0 SHA1 bdd69a840d1610641a5d1abc62a865c7d705c32a SHA256 19f9e388772127d0adf0d0cb418af4599dd258007080fe892be3794e4f1627e6
+MD5 4c936657438a2eceb70fcd2f990b8747 ChangeLog 1029
+RMD160 b43f1e253453d5bf0c969c916f70521fcc7b12f0 ChangeLog 1029
+SHA256 19f9e388772127d0adf0d0cb418af4599dd258007080fe892be3794e4f1627e6 ChangeLog 1029
+MISC metadata.xml 455 RMD160 19894cb59adef186838eece64dc7586de87b36af SHA1 9a9ebeb35973deb6b462962f64b4b9c1406ff274 SHA256 412da2e3730aa03670e3a9cbde734bbbed99ac51a21b769a25eba2759e113c98
+MD5 bfc60aeb3e8cfd738f7c7f4ca2ccc8e7 metadata.xml 455
+RMD160 19894cb59adef186838eece64dc7586de87b36af metadata.xml 455
+SHA256 412da2e3730aa03670e3a9cbde734bbbed99ac51a21b769a25eba2759e113c98 metadata.xml 455
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
+MD5 480d903cd4ff91184810b05693e0c525 files/digest-pyxplot-0.6.3 241
+RMD160 cff6c6f71bd8ef066b6f88c99eeb2da06b87e002 files/digest-pyxplot-0.6.3 241
+SHA256 d1a5d266e17610707e254a4925c10df9b930fb8fcc7b588f0cb356ad1aa3de6a files/digest-pyxplot-0.6.3 241
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-iD8DBQFF2Z3JWc/Ciu+QQGkRAjarAJ9I7Rmo5JmsrfISuGYek5UtNtR5sgCfa/Sv
-fAg34o3kY35EkvcW++e8Qdg=
-=SpDM
+iD8DBQFF6EMIWc/Ciu+QQGkRAvUuAJ4gbKPhzWnQazwION++3n1EWscsHgCfZwgY
+FrjKy9xtc0gdwpnxAPYp/Hw=
+=BCuA
-----END PGP SIGNATURE-----
--- /dev/null
+--- Makefile.skel.orig 2007-02-26 19:07:09.000000000 +0000
++++ Makefile.skel 2007-03-01 22:01:06.000000000 +0000
+@@ -64,10 +64,6 @@
+ echo "SRCDIR='${SRCDIR}'" >> src/gp_version_install.py
+ echo "DOCDIR='${DOCDIR}'" >> src/gp_version_install.py
+ echo "GHOSTVIEW='${GV_COMMAND}'" >> src/gp_version_install.py
+- rm -rf src/pyx
+- gzip -dc PyX-0.9.tar.gz | tar xf -
+- mv -f PyX-0.9/pyx src
+- rm -rf PyX-0.9
+ chmod 755 src/__init__.py
+ ${MAKE_COMMAND} -s -C doc PYXPLOT=../src/__init__.py
+ echo "exit" | src/__init__.py
+@@ -78,9 +74,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/gp_version_install.py ${SRCDIR}/gp_version.py
+ install -m644 src/*.pyc ${SRCDIR}
--- /dev/null
+--- Makefile.skel.orig 2007-03-01 22:01:06.000000000 +0000
++++ Makefile.skel 2007-03-02 15:23:06.000000000 +0000
+@@ -73,19 +73,19 @@
+ ln -s src/__init__.py pyxplot
+
+ install:
+- install -d ${SRCDIR} ${BINDIR} ${DOCDIR} ${MANDIR} ${DOCDIR}/examples ${DOCDIR}/examples/eps
+- install -m644 src/*.py ${SRCDIR}
+- install -m644 src/gp_version_install.py ${SRCDIR}/gp_version.py
+- 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/ex_* ${DOCDIR}/examples
+- install -m644 doc/examples/eps/* ${DOCDIR}/examples/eps
+- install -m644 pyxplot.1 ${MANDIR}/pyxplot.1
+- install -m644 pyxplot_watch.1 ${MANDIR}/pyxplot_watch.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/gp_version_install.py ${DESTDIR}/${SRCDIR}/gp_version.py
++ 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/ex_* ${DESTDIR}/${DOCDIR}/examples
++ install -m644 doc/examples/eps/* ${DESTDIR}/${DOCDIR}/examples/eps
++ install -m644 pyxplot.1 ${DESTDIR}/${MANDIR}/pyxplot.1
++ install -m644 pyxplot_watch.1 ${DESTDIR}/${MANDIR}/pyxplot_watch.1
--- /dev/null
+MD5 1fde6f074f788d83e8cbb0015b0134ef pyxplot_0.6.3.tar.gz 859075
+RMD160 064b9394ceb09be931d32c0563319c899ff16ba7 pyxplot_0.6.3.tar.gz 859075
+SHA256 05a617eaae96a1b496274d664ffc1cd99756897ced0db1a1944bb61552c9206f pyxplot_0.6.3.tar.gz 859075
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
+<longdescription lang="en">
+PyXPlot is a command-line graphing package with a simple interface
+that produces publication-quality output. Its command line interface is very
+gnuplot oriented and has actually some compatibility. The output
+is based on LaTeX typesetting environment.
+</longdescription>
</pkgmetadata>
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.6.3.ebuild,v 1.1 2007/03/02 15:30:07 bicatali 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="~amd64 ~x86"
+IUSE=""
+# test is actually done during emake in src_compile
+RESTRICT="test"
+
+# should use xdg-utils once those are working for postcript viewers
+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' \
+ -e "s:^\(DOCDIR=\).*:\1\${USRDIR}/share/doc/${PF}: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 || die "sed pyx failed"
+
+ # allows proper commands
+ sed -i \
+ -e 's/${MAKE_COMMAND}/$(MAKE)/g' \
+ -e "s:\${PYTHON_COMMAND}:/usr/bin/python$(python_version):g" \
+ "${S}"/Makefile.skel || die "sed commands failed"
+
+ # install fig_init for examples to work once installed
+ sed -i \
+ -e 's/ex_\*/{ex_,fig}\*/' \
+ "${S}"/Makefile.skel || die "sed examples failed"
+
+}
+
+src_compile() {
+ # latex...
+ addwrite /var/cache/fonts
+
+ econf || die "econf failed"
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README AUTHORS ChangeLog
+}
+
+pkg_postinst() {
+ python_mod_optimize ${ROOT}usr/share/pyxplot
+}
+
+pkg_postrm() {
+ python_mod_cleanup ${ROOT}usr/share/pyxplot
+}