diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-06-22 18:29:12 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-06-22 18:29:12 +0000 |
commit | b45d8f344004518b9512791380a22c0229aae7a6 (patch) | |
tree | 1effd70e9061dc9d189b29249af7485afb59d02e /sci-visualization/fityk | |
parent | Tweak python dependency. (diff) | |
download | gentoo-2-b45d8f344004518b9512791380a22c0229aae7a6.tar.gz gentoo-2-b45d8f344004518b9512791380a22c0229aae7a6.tar.bz2 gentoo-2-b45d8f344004518b9512791380a22c0229aae7a6.zip |
Version bump, thanks Michelangelo Scopelliti bug #27468
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/fityk')
-rw-r--r-- | sci-visualization/fityk/ChangeLog | 10 | ||||
-rw-r--r-- | sci-visualization/fityk/files/fityk-0.8.7-3rdparty.patch | 32 | ||||
-rw-r--r-- | sci-visualization/fityk/fityk-0.8.7.ebuild | 51 |
3 files changed, 91 insertions, 2 deletions
diff --git a/sci-visualization/fityk/ChangeLog b/sci-visualization/fityk/ChangeLog index 595430c37809..b8b1b5e45f6b 100644 --- a/sci-visualization/fityk/ChangeLog +++ b/sci-visualization/fityk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-visualization/fityk -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/ChangeLog,v 1.4 2008/08/22 18:06:19 bicatali Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/ChangeLog,v 1.5 2009/06/22 18:29:11 bicatali Exp $ + +*fityk-0.8.7 (22 Jun 2009) + + 22 Jun 2009; Sébastien Fabbro <bicatali@gentoo.org> +fityk-0.8.7.ebuild, + +files/fityk-0.8.7-3rdparty.patch: + Version bump, thanks Michelangelo Scopelliti bug #274683 22 Aug 2008; Sébastien Fabbro <bicatali@gentoo.org> -files/fityk-0.8.4-as-needed.patch, +files/fityk-0.8.6-3rdparty.patch, diff --git a/sci-visualization/fityk/files/fityk-0.8.7-3rdparty.patch b/sci-visualization/fityk/files/fityk-0.8.7-3rdparty.patch new file mode 100644 index 000000000000..9ca89bd2bd3c --- /dev/null +++ b/sci-visualization/fityk/files/fityk-0.8.7-3rdparty.patch @@ -0,0 +1,32 @@ +--- configure.ac~ 2009-06-11 04:40:18.000000000 +0200 ++++ configure.ac 2009-06-18 21:32:55.000000000 +0200 +@@ -119,9 +119,11 @@ + if test "$enable_3rdparty" = "yes"; then + CPPFLAGS_3RDPARTY="-I\$(top_srcdir)/3rdparty -I\$(top_srcdir)/3rdparty/xylib" + XYLIB_LDADD="\$(top_builddir)/3rdparty/xylib/xylib/libxy.la" ++ DIR_3RDPARTY=3rdparty + else + CPPFLAGS_3RDPARTY= + XYLIB_LDADD="-lxy" ++ DIR_3RDPARTY= + fi + + +@@ -185,6 +187,7 @@ + AC_SUBST(PYBINDINGDIR) + AC_SUBST(CPPFLAGS_3RDPARTY) + AC_SUBST(XYLIB_LDADD) ++AC_SUBST(DIR_3RDPARTY) + AC_SUBST(LIBRARY_VERSION_FLAG) + + # check for erf and erfc function +--- Makefile.am~ 2009-06-10 13:28:40.000000000 +0200 ++++ Makefile.am 2009-06-18 21:43:32.000000000 +0200 +@@ -6,6 +6,7 @@ + macosx/fityk.icns + AUTOMAKE_OPTIONS = dist-bzip2 + SUBDIRS = @DOC@ 3rdparty src samples config @PYBINDINGDIR@ ++SUBDIRS = @DOC@ @DIR_3RDPARTY@ src samples config @PYBINDINGDIR@ + + icondir = $(datadir)/pixmaps + desktopdir = $(datadir)/applications diff --git a/sci-visualization/fityk/fityk-0.8.7.ebuild b/sci-visualization/fityk/fityk-0.8.7.ebuild new file mode 100644 index 000000000000..c9c6f652a11a --- /dev/null +++ b/sci-visualization/fityk/fityk-0.8.7.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/fityk-0.8.7.ebuild,v 1.1 2009/06/22 18:29:11 bicatali Exp $ + +EAPI="2" +WX_GTK_VER="2.8" + +inherit eutils autotools wxwidgets + +DESCRIPTION="General-purpose nonlinear curve fitting and data analysis" +HOMEPAGE="http://www.unipress.waw.pl/fityk/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples gnuplot readline wxwidgets" + +DEPEND=">=sci-libs/xylib-0.4 + readline? ( sys-libs/readline ) + wxwidgets? ( x11-libs/wxGTK:2.8 ) + dev-libs/boost" + +RDEPEND="${DEPEND} + gnuplot? ( sci-visualization/gnuplot )" + +src_prepare() { + # avoid building xylib when 3rdparty is disabled + epatch "${FILESDIR}"/${P}-3rdparty.patch + eautoreconf + + has_version ">=dev-libs/boost-1.37" && + sed -i 's:impl/directives.i:directives.h:' "${S}/src/optional_suffix.h" +} + +src_configure() { + econf \ + --disable-3rdparty \ + $(use_enable wxwidgets GUI) \ + $(use_with doc) \ + $(use_with readline) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc NEWS README TODO || die + rm -f samples/Makefile* + insinto /usr/share/doc/${PF} + use examples && doins -r samples +} |