diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-04-25 03:15:56 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-04-25 03:15:56 +0000 |
commit | be9c596e3779891285cfe7b8334878eb8f323e75 (patch) | |
tree | 3c2b2cb3224051e54cbd77728e66134e1bc5f198 /sci-visualization | |
parent | Version bump. Removed old. Synced release ebuild with live ebuild. (diff) | |
download | gentoo-2-be9c596e3779891285cfe7b8334878eb8f323e75.tar.gz gentoo-2-be9c596e3779891285cfe7b8334878eb8f323e75.tar.bz2 gentoo-2-be9c596e3779891285cfe7b8334878eb8f323e75.zip |
Version bump. Tentative fix for random failure which might be due to python-3 set (bug #412805)
(Portage version: 2.1.10.56/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/fityk/ChangeLog | 9 | ||||
-rw-r--r-- | sci-visualization/fityk/fityk-0.9.8.ebuild (renamed from sci-visualization/fityk/fityk-0.9.6.ebuild) | 29 |
2 files changed, 24 insertions, 14 deletions
diff --git a/sci-visualization/fityk/ChangeLog b/sci-visualization/fityk/ChangeLog index 3f455ce1d2d3..1b8e3065123d 100644 --- a/sci-visualization/fityk/ChangeLog +++ b/sci-visualization/fityk/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-visualization/fityk # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/ChangeLog,v 1.18 2012/04/23 17:29:33 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/ChangeLog,v 1.19 2012/04/25 03:15:56 bicatali Exp $ + +*fityk-0.9.8 (25 Apr 2012) + + 25 Apr 2012; Sébastien Fabbro <bicatali@gentoo.org> -fityk-0.9.6.ebuild, + +fityk-0.9.8.ebuild: + Version bump. Tentative fix for random failure which might be due to python-3 + set (bug #412805) 23 Apr 2012; Michał Górny <mgorny@gentoo.org> fityk-0.9.6.ebuild, fityk-0.9.7.ebuild: diff --git a/sci-visualization/fityk/fityk-0.9.6.ebuild b/sci-visualization/fityk/fityk-0.9.8.ebuild index 9935ee4bd64d..9f7099b1c7b0 100644 --- a/sci-visualization/fityk/fityk-0.9.6.ebuild +++ b/sci-visualization/fityk/fityk-0.9.8.ebuild @@ -1,13 +1,15 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/fityk-0.9.6.ebuild,v 1.3 2012/04/23 17:29:33 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/fityk-0.9.8.ebuild,v 1.1 2012/04/25 03:15:56 bicatali Exp $ -EAPI="3" +EAPI=4 WX_GTK_VER="2.8" +# python eclass cruft PYTHON_DEPEND="python? 2" SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" inherit python wxwidgets @@ -23,7 +25,7 @@ IUSE="doc examples gnuplot lua readline python static-libs wxwidgets" CDEPEND=">=sci-libs/xylib-0.8 lua? ( dev-lang/lua ) readline? ( sys-libs/readline ) - wxwidgets? ( x11-libs/wxGTK:2.8 )" + wxwidgets? ( x11-libs/wxGTK:2.8[X] )" DEPEND="${CDEPEND} dev-libs/boost @@ -32,15 +34,15 @@ DEPEND="${CDEPEND} RDEPEND="${CDEPEND} gnuplot? ( sci-visualization/gnuplot )" -RESTRICT_PYTHON_ABIS="3.*" - src_prepare() { has_version "<dev-libs/boost-1.37" && \ sed -i -e 's:impl/directives.hpp:directives.ipp:g' \ - "${S}/src/optional_suffix.h" + src/optional_suffix.h - sed '/^LTLIBRARIES/s:$(pyexec_LTLIBRARIES)::g' \ - -i swig/Makefile.in + sed -i \ + -e '/^LTLIBRARIES/s:$(pyexec_LTLIBRARIES)::g' \ + -e '/install-exec-am/s:install-pyexecLTLIBRARIES::' \ + swig/Makefile.in || die if use python; then echo '#!/bin/sh' > config/py-compile fi @@ -55,7 +57,6 @@ src_configure() { $(use_enable static-libs static) \ $(use_enable wxwidgets GUI) \ $(use_with doc) \ - $(use_with examples samples) \ $(use_with readline) } @@ -77,20 +78,22 @@ src_compile() { } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - + default if use python; then installation() { emake \ DESTDIR="${D}" \ pyexecdir="$(python_get_sitedir)" \ pythondir="$(python_get_sitedir)" \ - install + install install-pyexecLTLIBRARIES } python_execute_function -s --source-dir swig installation python_clean_installation_image fi - dodoc NEWS README TODO + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins samples/* + fi } pkg_postinst() { |