diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-12-08 21:53:06 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-12-08 21:53:06 +0000 |
commit | a4b93b869a1bdf637c795956871cbd1c67600d0b (patch) | |
tree | 296479dda1eb997da7474e43869db8c6a95ce602 /sci-visualization | |
parent | Version bump. (diff) | |
download | historical-a4b93b869a1bdf637c795956871cbd1c67600d0b.tar.gz historical-a4b93b869a1bdf637c795956871cbd1c67600d0b.tar.bz2 historical-a4b93b869a1bdf637c795956871cbd1c67600d0b.zip |
Version bump
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/pyxplot/ChangeLog | 8 | ||||
-rw-r--r-- | sci-visualization/pyxplot/files/0.7.0-dont-build-pyx.patch | 23 | ||||
-rw-r--r-- | sci-visualization/pyxplot/metadata.xml | 8 | ||||
-rw-r--r-- | sci-visualization/pyxplot/pyxplot-0.7.0.ebuild | 42 |
4 files changed, 76 insertions, 5 deletions
diff --git a/sci-visualization/pyxplot/ChangeLog b/sci-visualization/pyxplot/ChangeLog index 54ebc0ed0fe3..08698ccbf933 100644 --- a/sci-visualization/pyxplot/ChangeLog +++ b/sci-visualization/pyxplot/ChangeLog @@ -1,6 +1,12 @@ # 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.10 2008/07/02 14:19:00 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/ChangeLog,v 1.11 2008/12/08 21:53:06 bicatali Exp $ + +*pyxplot-0.7.0 (08 Dec 2008) + + 08 Dec 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/0.7.0-dont-build-pyx.patch, +pyxplot-0.7.0.ebuild: + Version bump 02 Jul 2008; Sébastien Fabbro <bicatali@gentoo.org> -files/0.6.3-dont-build-pyx.patch, -files/0.6.3-respect-destdir.patch, diff --git a/sci-visualization/pyxplot/files/0.7.0-dont-build-pyx.patch b/sci-visualization/pyxplot/files/0.7.0-dont-build-pyx.patch new file mode 100644 index 000000000000..8cfe5f68dac9 --- /dev/null +++ b/sci-visualization/pyxplot/files/0.7.0-dont-build-pyx.patch @@ -0,0 +1,23 @@ +--- Makefile.skel.orig 2008-12-08 20:44:22.028136399 +0000 ++++ Makefile.skel 2008-12-08 20:27:10.546223231 +0000 +@@ -68,10 +68,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.10.tar.gz | tar xf - +- mv -f PyX-0.10/pyx src +- rm -rf PyX-0.10 + chmod 755 src/__init__.py + echo "exit" | src/__init__.py + ${PYTHON_COMMAND} manpage_pyxplot.py ${DOCDIR}/pyxplot.pdf > pyxplot.1 +@@ -81,9 +77,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/metadata.xml b/sci-visualization/pyxplot/metadata.xml index 417995a13b72..c38405e71531 100644 --- a/sci-visualization/pyxplot/metadata.xml +++ b/sci-visualization/pyxplot/metadata.xml @@ -3,9 +3,9 @@ <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. + 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> diff --git a/sci-visualization/pyxplot/pyxplot-0.7.0.ebuild b/sci-visualization/pyxplot/pyxplot-0.7.0.ebuild new file mode 100644 index 000000000000..e0d564b84e71 --- /dev/null +++ b/sci-visualization/pyxplot/pyxplot-0.7.0.ebuild @@ -0,0 +1,42 @@ +# 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.7.0.ebuild,v 1.1 2008/12/08 21:53:06 bicatali Exp $ + +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=">=dev-python/pyx-0.10 + sci-libs/scipy + app-text/gv + media-gfx/imagemagick" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PV}-dont-build-pyx.patch + 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 || die "dodoc failed" +} |