diff options
-rw-r--r-- | sci-visualization/pyxplot/ChangeLog | 11 | ||||
-rw-r--r-- | sci-visualization/pyxplot/Manifest | 16 | ||||
-rw-r--r-- | sci-visualization/pyxplot/files/0.6.3.1-dont-build-pyx.patch | 23 | ||||
-rw-r--r-- | sci-visualization/pyxplot/files/0.6.3.1-respect-destdir.patch | 38 | ||||
-rw-r--r-- | sci-visualization/pyxplot/pyxplot-0.6.3.1.ebuild | 76 | ||||
-rw-r--r-- | sci-visualization/pyxplot/pyxplot-0.7.1.ebuild | 40 |
6 files changed, 56 insertions, 148 deletions
diff --git a/sci-visualization/pyxplot/ChangeLog b/sci-visualization/pyxplot/ChangeLog index dc7f109f0091..0fd2d5e986f4 100644 --- a/sci-visualization/pyxplot/ChangeLog +++ b/sci-visualization/pyxplot/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-visualization/pyxplot -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/ChangeLog,v 1.12 2008/12/08 22:03:56 bicatali Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/ChangeLog,v 1.13 2009/11/26 20:07:50 bicatali Exp $ + +*pyxplot-0.7.1 (26 Nov 2009) + + 26 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org> + -files/0.6.3.1-dont-build-pyx.patch, -pyxplot-0.6.3.1.ebuild, + -files/0.6.3.1-respect-destdir.patch, +pyxplot-0.7.1.ebuild: + Version bump 08 Dec 2008; Sébastien Fabbro <bicatali@gentoo.org> pyxplot-0.6.3.1.ebuild, pyxplot-0.7.0.ebuild: diff --git a/sci-visualization/pyxplot/Manifest b/sci-visualization/pyxplot/Manifest index d7b17b89a057..7bd4e3eca22a 100644 --- a/sci-visualization/pyxplot/Manifest +++ b/sci-visualization/pyxplot/Manifest @@ -1,19 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX 0.6.3.1-dont-build-pyx.patch 880 RMD160 a30aa0452cf77bc770ab61d8e530a4d13196788a SHA1 6d1e0507861dfa85dd6da1771dd40abf682cd533 SHA256 3c06ca34929c68592317f4a8c267c02679d7e28a5ab81f16da07aa8f144ed854 -AUX 0.6.3.1-respect-destdir.patch 2020 RMD160 f45943c12d8799c0437c28c91cccd77e93097766 SHA1 ae164c78b776ae90cabf55ba1dc1493f892eef56 SHA256 969ccc9269e02514ea37dabddb1b44a0d174a1bb4a0df05c4430298fe7ccd432 AUX 0.7.0-dont-build-pyx.patch 907 RMD160 986ab5c9beb99789f73f0ef759768ac7213179b3 SHA1 3f131e22a9469d7b394e7f47c97d459409f74da1 SHA256 72849e7b7a30d82d0c826bc288233f62cfff20755f9444be60c4563501df0bab -DIST pyxplot_0.6.3.1.tar.gz 838500 RMD160 a4010822ed223e045fa248b4f6cb84c579106313 SHA1 1f2fd567bb9107e3981b2d3fc2a96cc05f72fc28 SHA256 9dab7ea79e7fcbe800ea682915b685d47267a19ce09a6ffa9850ebafc8800b79 DIST pyxplot_0.7.0.tar.gz 2621958 RMD160 3bcbe60a26a032057cb89493feecd6417dd81686 SHA1 ee91d4f6b45b7ad7ced7c6577207661387007a0c SHA256 e0818db7847c7ce9269cc19f3fc0642e68125221ef42d202473bc4e438fdc5ae -EBUILD pyxplot-0.6.3.1.ebuild 2042 RMD160 892486a54c467871c64b4f9fa470c15f617a7bde SHA1 5e891d480d26030c5f9bfa853171d3a9a2370bf3 SHA256 cc147512e3bbd8f382b0ffe65bd902f50d1641d7b6a92513a17ac5b9d14a62b9 +DIST pyxplot_0.7.1.tar.gz 2439857 RMD160 f1383bbdb0b92ca0197614e835f6690475e140bf SHA1 ad69725bb6a545acd786a5084a9f29d7728d1ecc SHA256 262b4337c1fdb8e54c11eb76415b814243f6dbab28163fd1e208378d860d2a84 EBUILD pyxplot-0.7.0.ebuild 1261 RMD160 e96bab2612413ba15156691d7f5bba62424b2b3d SHA1 05decea0f932945608ed64b2d7eadc46f39ab3a7 SHA256 d62d5413eb2acef3c6bf363f5b43ae596e970bbf0e092f158795400f758e5f5e -MISC ChangeLog 2244 RMD160 43a47c79e83d3ce834cdc1c6799bfa30b9ede192 SHA1 83656d9fc2d6fbd6aca06b92d94660c394143b1d SHA256 44dbe8be321dff36271fa1d8c8a3a74f563424f7db0b59924b26e6afc026b0c2 +EBUILD pyxplot-0.7.1.ebuild 1196 RMD160 d867376bc7bc16624bb0ea48563762fae986267f SHA1 5c2903e127745727737e284e610ac88d5373d12e SHA256 b90bf3a9ba3edfffe974f11a511c879e789db01a05869b154f60e671c6124d29 +MISC ChangeLog 2472 RMD160 9050b96160a984925a373442afaba879910f2aa6 SHA1 b66e4a865b6df6001ed19b297699a4fc3ea0c90c SHA256 43acf254ee27e37e79d70db906987af1031b60d20769f30f77a0ddff7d30439d MISC metadata.xml 463 RMD160 9002790a044085c85a9ef8f94e310a3f0602b667 SHA1 3f2b28ca789f28fdca734821c144549edf23ed26 SHA256 af4c2cc250cdbadddb1c217fb2e1feec6da9f7b7247f84c1cc760de4ed8f67fb -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.13 (GNU/Linux) -iEYEARECAAYFAkk9mdUACgkQ1ycZbhPLE2CXTQCglADvjNCY2hKn2uGc9io4KDl3 -JcEAn22v4rJXRlkjm3axLxUzOzy4kZW1 -=7jLl +iEYEARECAAYFAksO6agACgkQ1ycZbhPLE2Cf7gCghtkn+Byj+4txQYMNGs7upC6K +XGsAn3HAKxwqHjtx4VmPkBDXPLICovA7 +=s86W -----END PGP SIGNATURE----- diff --git a/sci-visualization/pyxplot/files/0.6.3.1-dont-build-pyx.patch b/sci-visualization/pyxplot/files/0.6.3.1-dont-build-pyx.patch deleted file mode 100644 index ca3c94a4a7c1..000000000000 --- a/sci-visualization/pyxplot/files/0.6.3.1-dont-build-pyx.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- Makefile.skel.orig 2007-10-11 15:23:42.037242960 +0100 -+++ Makefile.skel 2007-10-11 15:27:00.832571660 +0100 -@@ -66,10 +66,6 @@ - echo "DOCDIR='${DOCDIR}'" >> src/gp_version_install.py - echo "GHOSTVIEW='${GV_COMMAND}'" >> src/gp_version_install.py - echo "GHOSTVIEW_OPT='${GV_OPT}'" >> 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 -@@ -80,9 +76,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} diff --git a/sci-visualization/pyxplot/files/0.6.3.1-respect-destdir.patch b/sci-visualization/pyxplot/files/0.6.3.1-respect-destdir.patch deleted file mode 100644 index 3e3c82439a61..000000000000 --- a/sci-visualization/pyxplot/files/0.6.3.1-respect-destdir.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- Makefile.skel.orig 2007-10-11 15:52:39.973789373 +0100 -+++ Makefile.skel 2007-10-11 15:54:08.970345535 +0100 -@@ -75,19 +75,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}/${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 ${DESTDIR}/${SRCDIR}/__init__.py ${DESTDIR}/${BINDIR}/pyxplot -+ rm -f ${DESTDIR}/${BINDIR}/pyxplot_watch -+ ln -s ${DESTDIR}/${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 diff --git a/sci-visualization/pyxplot/pyxplot-0.6.3.1.ebuild b/sci-visualization/pyxplot/pyxplot-0.6.3.1.ebuild deleted file mode 100644 index 3ac78b24329c..000000000000 --- a/sci-visualization/pyxplot/pyxplot-0.6.3.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2008 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.1.ebuild,v 1.7 2008/12/08 22:03:56 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/latex-base - app-text/gv - 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" \ - Makefile.skel || die "sed Makefile.skel failed" - - 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" \ - 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" \ - Makefile.skel || die "sed commands failed" - - # install fig_init for examples to work once installed - sed -i \ - -e 's/ex_\*/{ex_,fig}\*/' \ - Makefile.skel || die "sed examples failed" -} - -src_compile() { - econf || die "econf failed" - # To prevent sandbox violations by metafont - VARTEXFONTS="${T}"/fonts emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc README AUTHORS ChangeLog || die "dodoc failed" -} - -pkg_postinst() { - python_mod_optimize /usr/share/${PN} -} - -pkg_postrm() { - python_mod_cleanup /usr/share/${PN} -} diff --git a/sci-visualization/pyxplot/pyxplot-0.7.1.ebuild b/sci-visualization/pyxplot/pyxplot-0.7.1.ebuild new file mode 100644 index 000000000000..53075e005a7e --- /dev/null +++ b/sci-visualization/pyxplot/pyxplot-0.7.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.7.1.ebuild,v 1.1 2009/11/26 20:07:50 bicatali Exp $ + +EAPI=2 +inherit eutils python + +DESCRIPTION="Gnuplot like graphing program 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="" + +RDEPEND="virtual/latex-base + sci-libs/scipy + app-text/gv + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}" + +src_prepare() { + python_version + sed -i \ + -e "s:^\(USRDIR=\).*:\1/usr:g" \ + -e "s:^\(SRCDIR=\).*:\1/usr/$(get_libdir)/python${PYVER}/${PN}:g" \ + -e 's:^\(MANDIR=\).*:\1${USRDIR}/share/man/man1:g' \ + -e "s:^\(DOCDIR=\).*:\1\${USRDIR}/share/doc/${PF}:g" \ + -e '/install:/,$s:${\(SRC\|BIN\|DOC\|MAN\)DIR:${DESTDIR}/${\1DIR:g' \ + -e "/pyc/d" \ + -e 's/ex_\*/{ex_,fig}\*/' \ + Makefile.skel || die "sed Makefile.skel failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README AUTHORS ChangeLog +} |