diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-08-24 20:45:49 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-08-24 20:45:49 +0000 |
commit | 88597797bb50a46a56da5b8f8dd4de6867207cdf (patch) | |
tree | 1ff30f2519189c55cb43d3dbeabe986bf76ee805 /sci-visualization | |
parent | Fixed syntax error in patch name, closing bug #333397, thanks RStefano Takekawa (diff) | |
download | historical-88597797bb50a46a56da5b8f8dd4de6867207cdf.tar.gz historical-88597797bb50a46a56da5b8f8dd4de6867207cdf.tar.bz2 historical-88597797bb50a46a56da5b8f8dd4de6867207cdf.zip |
Version bump
Package-Manager: portage-2.2_rc68/cvs/Linux x86_64
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/pyxplot/ChangeLog | 8 | ||||
-rw-r--r-- | sci-visualization/pyxplot/Manifest | 13 | ||||
-rw-r--r-- | sci-visualization/pyxplot/files/pyxplot-0.8.2-flags.patch | 103 | ||||
-rw-r--r-- | sci-visualization/pyxplot/pyxplot-0.8.2.ebuild | 50 |
4 files changed, 168 insertions, 6 deletions
diff --git a/sci-visualization/pyxplot/ChangeLog b/sci-visualization/pyxplot/ChangeLog index 44f38c42140d..05c6f3ed92ac 100644 --- a/sci-visualization/pyxplot/ChangeLog +++ b/sci-visualization/pyxplot/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-visualization/pyxplot # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/ChangeLog,v 1.19 2010/06/18 16:57:26 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/ChangeLog,v 1.20 2010/08/24 20:45:49 bicatali Exp $ + +*pyxplot-0.8.2 (24 Aug 2010) + + 24 Aug 2010; Sébastien Fabbro <bicatali@gentoo.org> + +pyxplot-0.8.2.ebuild, +files/pyxplot-0.8.2-flags.patch: + Version bump 18 Jun 2010; Sébastien Fabbro <bicatali@gentoo.org> pyxplot-0.8.1.ebuild: Filtering -O0 and above from upstream recommendation diff --git a/sci-visualization/pyxplot/Manifest b/sci-visualization/pyxplot/Manifest index 58681b4d1ae8..1b5b9186905e 100644 --- a/sci-visualization/pyxplot/Manifest +++ b/sci-visualization/pyxplot/Manifest @@ -2,16 +2,19 @@ Hash: SHA1 AUX pyxplot-0.8.1-linking.patch 5470 RMD160 cc1b45baa23f34f90466b8b3098efef27129b494 SHA1 c46af1c5ed2087c06f78a9f07f0caf92d73658c9 SHA256 dd5952c90269a3d7ee291b9d0bf2ccd06dfe5d5d4f1324119c1a6f96eb358071 +AUX pyxplot-0.8.2-flags.patch 5228 RMD160 aeb98af44773a5cea3ea6da3e3212c044ee0159c SHA1 77c34c1a86ef6f41779a753a0187031e3f3a7e2b SHA256 a490e3856d2b56270fbc130f7f46313206e5a4c28fcb4a050e87b6f2b51337b0 DIST pyxplot_0.7.1.tar.gz 2439857 RMD160 f1383bbdb0b92ca0197614e835f6690475e140bf SHA1 ad69725bb6a545acd786a5084a9f29d7728d1ecc SHA256 262b4337c1fdb8e54c11eb76415b814243f6dbab28163fd1e208378d860d2a84 DIST pyxplot_0.8.1.tar.gz 3417286 RMD160 16566263d762b8c7f9b05979b34ca077c67a3dc3 SHA1 941456676e5eb5805adc2f805f800a60ef089854 SHA256 ca8a1362b9942485e9d1b04c1b6c9e9198b64b5a414ad6d8f38c589739e65c20 +DIST pyxplot_0.8.2.tar.gz 3698885 RMD160 d962983624ab136bc4392fd42b20ebd5c870401d SHA1 a3ecb758f26ef3ceb2e7b750a77d50bdc675605b SHA256 ea6acc896a70ca4aca0effe0133be45d3e09f2077bea50dd7abd716233f5af2a EBUILD pyxplot-0.7.1.ebuild 1251 RMD160 15dcde6632e90c09dd35052bf6e1857de137667b SHA1 039766369303a646b6083df72761c7661a363083 SHA256 8433a6a128e3a3033b8f2e9a861ee9c34758c587da2869ec15d09632b5acd0b0 EBUILD pyxplot-0.8.1.ebuild 1255 RMD160 198287ce7c7af3f2a76b881a4a67f2cbebac33f6 SHA1 20ee68f4b10b9d92b7a420efbe72c437fddc1b89 SHA256 b570a5f45ff7d13cf09e9772f47e29d4e3135284eee9f7dd3fdc5a1eb61cdeec -MISC ChangeLog 3359 RMD160 307ec744ca0767c1f55ab121b0961ad36a62fe9a SHA1 b0359a97f008dfdfaff7e48f92d8affde4416e11 SHA256 6ec602420ec6c1b4fb6f5a84a92fcd56af64723bac54e4f271ad67f70695977c +EBUILD pyxplot-0.8.2.ebuild 1297 RMD160 3ebd26579e979cd0c3ad50c1fffa90c3edeae62c SHA1 0e5a8a68a568b921bd1095f254750a6b43a93f57 SHA256 c9d3857dab08990b8400933aa95714e7f685c4d554592f20cd18145d38ef0df6 +MISC ChangeLog 3519 RMD160 a6070557db41d7f9721db3f6f2ca97db0dbdd269 SHA1 075b1d2a5bfc2991fe417e11826c260ade284673 SHA256 1147585787ffd25951fa6bd101279ddf3ffaccd2556f27fd152750be0dd8d665 MISC metadata.xml 463 RMD160 9002790a044085c85a9ef8f94e310a3f0602b667 SHA1 3f2b28ca789f28fdca734821c144549edf23ed26 SHA256 af4c2cc250cdbadddb1c217fb2e1feec6da9f7b7247f84c1cc760de4ed8f67fb -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) +Version: GnuPG v2.0.16 (GNU/Linux) -iEYEARECAAYFAkwbpYEACgkQ1ycZbhPLE2ACcwCggA+xN0BsIbN6v/0PVTnIh5j/ -0koAn3EM9UaGWmxx0geUPptf2s4e3AWE -=tZe6 +iEYEARECAAYFAkx0OtgACgkQ1ycZbhPLE2CsSQCfVTfS8cnrpDjrAb7bZCksDnda +vGYAoKHfnXyDWeZ2K27HVAlIQ65UVWWN +=DZpS -----END PGP SIGNATURE----- diff --git a/sci-visualization/pyxplot/files/pyxplot-0.8.2-flags.patch b/sci-visualization/pyxplot/files/pyxplot-0.8.2-flags.patch new file mode 100644 index 000000000000..85a2f7a90f38 --- /dev/null +++ b/sci-visualization/pyxplot/files/pyxplot-0.8.2-flags.patch @@ -0,0 +1,103 @@ +--- Makefile.skel.orig 2010-08-24 22:15:23.000000000 +0100 ++++ Makefile.skel 2010-08-24 22:29:21.000000000 +0100 +@@ -39,12 +39,13 @@ + VERSION = 0.8.2 + DATE = 04/08/2010 + +-COMPILE = $(CC) -Wall -g `xml2-config --cflags` `gsl-config --cflags` -c -I $(CWD)/src +-LINK = $(CC) -Wall -g `xml2-config --libs` `gsl-config --libs` -lm $(LINK_FFTW) $(LINK_READLINE) -lz -lpng $(LINK_KPATHSEA) ++COMPILE = $(CC) -Wall `xml2-config --cflags` `pkg-config --cflags cfitsio gsl` -c -I $(CWD)/src ++LIBS = `xml2-config --libs` `pkg-config --libs cfitsio gsl` -lm $(LINK_FFTW) $(LINK_READLINE) -lz -lpng $(LINK_KPATHSEA) ++LINK = $(CC) + + OPTIMISATION = -O0 + +-DEBUG = -D DEBUG=1 -D MEMDEBUG1=1 -D MEMDEBUG2=0 ++DEBUG = -g -D DEBUG=1 -D MEMDEBUG1=1 -D MEMDEBUG2=0 + NODEBUG = -D DEBUG=0 -D MEMDEBUG1=0 -D MEMDEBUG2=0 + + LOCAL_SRCDIR = src +@@ -101,15 +102,15 @@ + + $(LOCAL_OBJDIR)/%.o: $(LOCAL_SRCDIR)/%.c $(ALL_HFILES) + mkdir -p $(LOCAL_OBJDIR) $(LOCAL_OBJDIR)/EPSMaker $(LOCAL_OBJDIR)/Helpers $(LOCAL_OBJDIR)/ListTools $(LOCAL_OBJDIR)/MathsTools $(LOCAL_OBJDIR)/StringTools +- $(COMPILE) $(OPTIMISATION) $(NODEBUG) $(NOINSTALL_SWITCHES) $< -o $@ ++ $(COMPILE) $(CFLAGS) $(NODEBUG) $(NOINSTALL_SWITCHES) $< -o $@ + + $(LOCAL_OBJDIR)/%.debug.o: $(LOCAL_SRCDIR)/%.c $(ALL_HFILES) + mkdir -p $(LOCAL_OBJDIR) $(LOCAL_OBJDIR)/EPSMaker $(LOCAL_OBJDIR)/Helpers $(LOCAL_OBJDIR)/ListTools $(LOCAL_OBJDIR)/MathsTools $(LOCAL_OBJDIR)/StringTools +- $(COMPILE) $(OPTIMISATION) $(DEBUG) $(DEBUG_SWITCHES) $< -o $@ ++ $(COMPILE) $(CFLAGS) $(DEBUG) $(DEBUG_SWITCHES) $< -o $@ + + $(LOCAL_OBJDIR)/%.install.o: $(LOCAL_SRCDIR)/%.c $(ALL_HFILES) + mkdir -p $(LOCAL_OBJDIR) $(LOCAL_OBJDIR)/EPSMaker $(LOCAL_OBJDIR)/Helpers $(LOCAL_OBJDIR)/ListTools $(LOCAL_OBJDIR)/MathsTools $(LOCAL_OBJDIR)/StringTools +- $(COMPILE) $(OPTIMISATION) $(NODEBUG) $(INSTALL_SWITCHES) $< -o $@ ++ $(COMPILE) $(CFLAGS) $(NODEBUG) $(INSTALL_SWITCHES) $< -o $@ + + # + # Make the pyxplot binaries +@@ -117,17 +118,17 @@ + + $(LOCAL_BINDIR)/pyxplot: $(PPL_OBJECTS) + mkdir -p $(LOCAL_BINDIR) +- $(LINK) $(OPTIMISATION) $(PPL_OBJECTS) -o $(LOCAL_BINDIR)/pyxplot ++ $(LINK) $(LDFLAGS) $(PPL_OBJECTS) $(LIBS) -o $(LOCAL_BINDIR)/pyxplot + + $(LOCAL_BINDIR)/debug/pyxplot: $(PPL_OBJECTS_DEBUG) + mkdir -p $(LOCAL_BINDIR)/debug + echo "The files in this directory are binaries with debugging options enabled: they produce activity logs called 'pyxplot.log'. It should be noted that these binaries can up to ten times slower than non-debugging versions." > $(LOCAL_BINDIR)/debug/README +- $(LINK) $(OPTIMISATION) $(PPL_OBJECTS_DEBUG) -o $(LOCAL_BINDIR)/debug/pyxplot ++ $(LINK) $(LDFLAGS) $(PPL_OBJECTS_DEBUG) $(LIBS) -o $(LOCAL_BINDIR)/debug/pyxplot + + $(LOCAL_BINDIR)/install/pyxplot: $(PPL_OBJECTS_INSTALL) + mkdir -p $(LOCAL_BINDIR)/install + echo "The files in this directory are binaries intended to be installed with 'make install'. They should not be used in their present location, as they contain hard-coded links to files which are created by the 'make install' step." > $(LOCAL_BINDIR)/debug/README +- $(LINK) $(OPTIMISATION) $(PPL_OBJECTS_INSTALL) -o $(LOCAL_BINDIR)/install/pyxplot ++ $(LINK) $(LDFLAGS) $(PPL_OBJECTS_INSTALL) $(LIBS) -o $(LOCAL_BINDIR)/install/pyxplot + + # + # Make the pyxplot_watch binaries +@@ -135,15 +136,15 @@ + + $(LOCAL_BINDIR)/pyxplot_watch: $(PPLW_OBJECTS) + mkdir -p $(LOCAL_BINDIR) +- $(LINK) $(OPTIMISATION) $(PPLW_OBJECTS) -o $(LOCAL_BINDIR)/pyxplot_watch ++ $(LINK) $(LDFLAGS) $(PPLW_OBJECTS) $(LIBS) -o $(LOCAL_BINDIR)/pyxplot_watch + + $(LOCAL_BINDIR)/debug/pyxplot_watch: $(PPLW_OBJECTS_DEBUG) + mkdir -p $(LOCAL_BINDIR)/debug +- $(LINK) $(OPTIMISATION) $(PPLW_OBJECTS_DEBUG) -o $(LOCAL_BINDIR)/debug/pyxplot_watch ++ $(LINK) $(LDFLAGS) $(PPLW_OBJECTS_DEBUG) $(LIBS) -o $(LOCAL_BINDIR)/debug/pyxplot_watch + + $(LOCAL_BINDIR)/install/pyxplot_watch: $(PPLW_OBJECTS_INSTALL) + mkdir -p $(LOCAL_BINDIR)/install +- $(LINK) $(OPTIMISATION) $(PPLW_OBJECTS_INSTALL) -o $(LOCAL_BINDIR)/install/pyxplot_watch ++ $(LINK) $(LDFLAGS) $(PPLW_OBJECTS_INSTALL) $(LIBS) -o $(LOCAL_BINDIR)/install/pyxplot_watch + + # + # Make fits helper binaries +@@ -151,11 +152,11 @@ + + $(LOCAL_BINDIR)/pyxplot_fitshelper: $(FITSHELP_OBJECTS) + mkdir -p $(LOCAL_BINDIR) +- $(LINK) $(LINK_FITSIO) $(OPTIMISATION) $(FITSHELP_OBJECTS) -o $(LOCAL_BINDIR)/pyxplot_fitshelper ++ $(LINK) $(LDFLAGS) $(FITSHELP_OBJECTS) $(LINK_FITSIO) $(LIBS) -o $(LOCAL_BINDIR)/pyxplot_fitshelper + + $(LOCAL_BINDIR)/install/pyxplot_fitshelper: $(FITSHELP_OBJECTS_INSTALL) + mkdir -p $(LOCAL_BINDIR)/install +- $(LINK) $(LINK_FITSIO) $(OPTIMISATION) $(FITSHELP_OBJECTS_INSTALL) -o $(LOCAL_BINDIR)/install/pyxplot_fitshelper ++ $(LINK) $(LDFLAGS) $(FITSHELP_OBJECTS_INSTALL) $(LINK_FITSIO) $(LIBS) -o $(LOCAL_BINDIR)/install/pyxplot_fitshelper + + # + # Make time helper +--- configure.orig 2010-08-24 22:29:10.000000000 +0100 ++++ configure 2010-08-24 22:29:37.000000000 +0100 +@@ -197,7 +197,7 @@ + rm -f conf.* + echo "YES" + echo "HAVE_READLINE=-D HAVE_READLINE=1" >> Makefile +- echo "LINK_READLINE=-ltermcap -lreadline" >> Makefile ++ echo "LINK_READLINE=-lreadline" >> Makefile + else + rm -f conf.* + echo "NO" diff --git a/sci-visualization/pyxplot/pyxplot-0.8.2.ebuild b/sci-visualization/pyxplot/pyxplot-0.8.2.ebuild new file mode 100644 index 000000000000..4333ae550c71 --- /dev/null +++ b/sci-visualization/pyxplot/pyxplot-0.8.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.8.2.ebuild,v 1.1 2010/08/24 20:45:49 bicatali Exp $ + +EAPI="2" +PYTHON_DEPEND="2" + +inherit eutils python flag-o-matic + +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/cfitsio + sci-libs/fftw:3.0 + >=sci-libs/gsl-1.10 + sci-libs/scipy + media-libs/libpng + dev-libs/libxml2 + app-text/gv + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-flags.patch + # upstream: does not work with -O1 and above + replace-flags -O? -O0 + sed -i \ + -e 's:/local:/:' \ + -e "s:/lib/:/$(get_libdir)/:" \ + -e "s:\${USRDIR}/share/${PN}:/$(python_get_sitedir)/${PN}:" \ + -e "s:/doc/${PN}:/doc/${PF}:" \ + Makefile.skel || die "sed Makefile.skel failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README AUTHORS ChangeLog +} |