diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-06-12 15:54:12 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-06-12 15:54:12 +0000 |
commit | da514c50a0166563eb8d9322f1fd314042f59dd8 (patch) | |
tree | e0023e547caf8590d2ba6cefa761a2b7a0c9e497 /sci-visualization/pyxplot | |
parent | Remove older versions (diff) | |
download | historical-da514c50a0166563eb8d9322f1fd314042f59dd8.tar.gz historical-da514c50a0166563eb8d9322f1fd314042f59dd8.tar.bz2 historical-da514c50a0166563eb8d9322f1fd314042f59dd8.zip |
Version bump. Add dependency on gsl, fftw, cfitsio. Fix more linking problems and flags propagation
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-visualization/pyxplot')
-rw-r--r-- | sci-visualization/pyxplot/ChangeLog | 10 | ||||
-rw-r--r-- | sci-visualization/pyxplot/Manifest | 16 | ||||
-rw-r--r-- | sci-visualization/pyxplot/files/0.7.0-dont-build-pyx.patch | 23 | ||||
-rw-r--r-- | sci-visualization/pyxplot/files/pyxplot-0.8.1-linking.patch | 113 | ||||
-rw-r--r-- | sci-visualization/pyxplot/pyxplot-0.8.1.ebuild | 46 |
5 files changed, 182 insertions, 26 deletions
diff --git a/sci-visualization/pyxplot/ChangeLog b/sci-visualization/pyxplot/ChangeLog index 7c3949a1d04c..7da7b8307175 100644 --- a/sci-visualization/pyxplot/ChangeLog +++ b/sci-visualization/pyxplot/ChangeLog @@ -1,6 +1,14 @@ # 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.17 2010/06/04 17:03:33 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/ChangeLog,v 1.18 2010/06/12 15:54:12 bicatali Exp $ + +*pyxplot-0.8.1 (12 Jun 2010) + + 12 Jun 2010; SĂ©bastien Fabbro <bicatali@gentoo.org> + -files/0.7.0-dont-build-pyx.patch, +pyxplot-0.8.1.ebuild, + +files/pyxplot-0.8.1-linking.patch: + Version bump. Add dependency on gsl, fftw, cfitsio. Fix more linking + problems and flags propagation 04 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> pyxplot-0.7.1.ebuild: diff --git a/sci-visualization/pyxplot/Manifest b/sci-visualization/pyxplot/Manifest index 1079fa1f3aac..bc1e591a2aac 100644 --- a/sci-visualization/pyxplot/Manifest +++ b/sci-visualization/pyxplot/Manifest @@ -1,5 +1,17 @@ -AUX 0.7.0-dont-build-pyx.patch 907 RMD160 986ab5c9beb99789f73f0ef759768ac7213179b3 SHA1 3f131e22a9469d7b394e7f47c97d459409f74da1 SHA256 72849e7b7a30d82d0c826bc288233f62cfff20755f9444be60c4563501df0bab +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX pyxplot-0.8.1-linking.patch 5470 RMD160 cc1b45baa23f34f90466b8b3098efef27129b494 SHA1 c46af1c5ed2087c06f78a9f07f0caf92d73658c9 SHA256 dd5952c90269a3d7ee291b9d0bf2ccd06dfe5d5d4f1324119c1a6f96eb358071 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 EBUILD pyxplot-0.7.1.ebuild 1251 RMD160 15dcde6632e90c09dd35052bf6e1857de137667b SHA1 039766369303a646b6083df72761c7661a363083 SHA256 8433a6a128e3a3033b8f2e9a861ee9c34758c587da2869ec15d09632b5acd0b0 -MISC ChangeLog 2938 RMD160 c605ec8c1c7e62ee43bb4c263fd5c43e24421cd1 SHA1 54aa5750961ca84436963b0cd4ad9477c3b09988 SHA256 e07b5e0758e11c7db83f779a1b7d0029b5806d07d45215253d502abea41f1ecd +EBUILD pyxplot-0.8.1.ebuild 1173 RMD160 9c0d91db41ff103782eda291081e88dfd21a3e2e SHA1 03a3e7a6d95954567a91ecc62c389a1e398a1531 SHA256 bdacc78263316494404199b4514a76dcd381ce4afb819724e81701494b4e146c +MISC ChangeLog 3226 RMD160 766543422c9fd1356685b3db7585f3a8c525f4ea SHA1 7bbef89f9da49f64473cf781b978519c2580ed07 SHA256 ed320e0013c40f5ab86363e29d6275c93d16ee54b86fa71cd594fff7e85f481d MISC metadata.xml 463 RMD160 9002790a044085c85a9ef8f94e310a3f0602b667 SHA1 3f2b28ca789f28fdca734821c144549edf23ed26 SHA256 af4c2cc250cdbadddb1c217fb2e1feec6da9f7b7247f84c1cc760de4ed8f67fb +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.15 (GNU/Linux) + +iEYEARECAAYFAkwTtRkACgkQ1ycZbhPLE2CKOwCeIvDPu140WXmeACd/z7DA7u/i +MPAAn21uTD27iiSBWSywfDk7P7qQ7bhw +=MA1b +-----END PGP SIGNATURE----- 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 deleted file mode 100644 index 8cfe5f68dac9..000000000000 --- a/sci-visualization/pyxplot/files/0.7.0-dont-build-pyx.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- 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/files/pyxplot-0.8.1-linking.patch b/sci-visualization/pyxplot/files/pyxplot-0.8.1-linking.patch new file mode 100644 index 000000000000..cc96de257889 --- /dev/null +++ b/sci-visualization/pyxplot/files/pyxplot-0.8.1-linking.patch @@ -0,0 +1,113 @@ +--- Makefile.skel.orig 2010-06-12 16:42:31.000000000 +0100 ++++ Makefile.skel 2010-06-12 16:54:10.000000000 +0100 +@@ -39,12 +39,10 @@ + VERSION = 0.8.1 + DATE = 01/06/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 -lkpathsea ++COMPILE = $(CC) -Wall `xml2-config --cflags` `pkg-config --cflags gsl cfitsio` -c -I $(CWD)/src ++LIBS = `xml2-config --libs` `pkg-config --libs gsl` $(LINK_FFTW) $(LINK_READLINE) -lm -lz -lpng -lkpathsea + +-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 +99,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 +115,17 @@ + + $(LOCAL_BINDIR)/pyxplot: $(PPL_OBJECTS) + mkdir -p $(LOCAL_BINDIR) +- $(LINK) $(OPTIMISATION) $(PPL_OBJECTS) -o $(LOCAL_BINDIR)/pyxplot ++ $(CC) $(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 ++ $(CC) $(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 ++ $(CC) $(LDFLAGS) $(PPL_OBJECTS_INSTALL) $(LIBS) -o $(LOCAL_BINDIR)/install/pyxplot + + # + # Make the pyxplot_watch binaries +@@ -135,15 +133,15 @@ + + $(LOCAL_BINDIR)/pyxplot_watch: $(PPLW_OBJECTS) + mkdir -p $(LOCAL_BINDIR) +- $(LINK) $(OPTIMISATION) $(PPLW_OBJECTS) -o $(LOCAL_BINDIR)/pyxplot_watch ++ $(CC) $(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 ++ $(CC) $(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 ++ $(CC) $(LDFLAGS) $(PPLW_OBJECTS_INSTALL) $(LIBS) -o $(LOCAL_BINDIR)/install/pyxplot_watch + + # + # Make fits helper binaries +@@ -151,11 +149,11 @@ + + $(LOCAL_BINDIR)/pyxplot_fitshelper: $(FITSHELP_OBJECTS) + mkdir -p $(LOCAL_BINDIR) +- $(LINK) $(LINK_FITSIO) $(OPTIMISATION) $(FITSHELP_OBJECTS) -o $(LOCAL_BINDIR)/pyxplot_fitshelper ++ $(CC) $(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 ++ $(CC) $(LDFLAGS) $(FITSHELP_OBJECTS_INSTALL) $(LINK_FITSIO) $(LIBS) -o $(LOCAL_BINDIR)/install/pyxplot_fitshelper + + # + # Make time helper +--- configure.orig 2010-06-12 16:42:24.000000000 +0100 ++++ configure 2010-06-12 16:55:52.000000000 +0100 +@@ -185,7 +185,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" +@@ -200,8 +200,8 @@ + then + rm -f conf.* + echo "YES" +- echo "HAVE_FITSIO=-D HAVE_FITSIO=1" >> Makefile +- echo "LINK_FITSIO=-lcfitsio" >> Makefile ++ echo "HAVE_FITSIO=-D HAVE_FITSIO=1 `pkg-config --cflags cfitsio`" >> Makefile ++ echo "LINK_FITSIO=`pkg-config --libs cfitsio`" >> Makefile + else + rm -f conf.* + echo "NO" diff --git a/sci-visualization/pyxplot/pyxplot-0.8.1.ebuild b/sci-visualization/pyxplot/pyxplot-0.8.1.ebuild new file mode 100644 index 000000000000..61785c30b786 --- /dev/null +++ b/sci-visualization/pyxplot/pyxplot-0.8.1.ebuild @@ -0,0 +1,46 @@ +# 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.1.ebuild,v 1.1 2010/06/12 15:54:12 bicatali Exp $ + +EAPI="2" +PYTHON_DEPEND="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/cfitsio + sci-libs/fftw:3.0 + sci-libs/gsl + sci-libs/scipy + 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}-linking.patch + 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 +} |