diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-05-19 18:51:00 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-05-19 18:51:00 +0000 |
commit | 85dccf853f1cf3e5425a74282d9219372ae7b388 (patch) | |
tree | f823768bc93d7dcb516b7dde745c2e8f87e1bde6 /sci-visualization | |
parent | x86 stable wrt bug #299574 (diff) | |
download | historical-85dccf853f1cf3e5425a74282d9219372ae7b388.tar.gz historical-85dccf853f1cf3e5425a74282d9219372ae7b388.tar.bz2 historical-85dccf853f1cf3e5425a74282d9219372ae7b388.zip |
Version Bump, Python ABIs fixes #316249 thanks Arfrever for helping me, EAPI=3
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/fityk/ChangeLog | 7 | ||||
-rw-r--r-- | sci-visualization/fityk/Manifest | 10 | ||||
-rw-r--r-- | sci-visualization/fityk/fityk-0.9.2.ebuild | 100 |
3 files changed, 112 insertions, 5 deletions
diff --git a/sci-visualization/fityk/ChangeLog b/sci-visualization/fityk/ChangeLog index 22bb4b75084e..bc4c926375e8 100644 --- a/sci-visualization/fityk/ChangeLog +++ b/sci-visualization/fityk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-visualization/fityk # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/ChangeLog,v 1.10 2010/04/12 17:05:45 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/ChangeLog,v 1.11 2010/05/19 18:51:00 jlec Exp $ + +*fityk-0.9.2 (19 May 2010) + + 19 May 2010; Justin Lecher <jlec@gentoo.org> +fityk-0.9.2.ebuild: + Version Bump, Python ABIs fixes #316249, EAPI=3 *fityk-0.9.1 (12 Apr 2010) diff --git a/sci-visualization/fityk/Manifest b/sci-visualization/fityk/Manifest index dc95f3cfdeda..acc85e651421 100644 --- a/sci-visualization/fityk/Manifest +++ b/sci-visualization/fityk/Manifest @@ -4,15 +4,17 @@ Hash: SHA1 DIST fityk-0.8.9.tar.bz2 1496932 RMD160 f3b3be9b285361cd202d6a932d7e1701704184d1 SHA1 7815010529f374ed8bc7a7efe25278412a3f7708 SHA256 b25aede322cde89c775e911ac9a5a90095836db78f0cbc443cbbf6c99a8027b6 DIST fityk-0.9.0.tar.bz2 1593059 RMD160 dbb65d994bb44459540def8467de5bd746f86a08 SHA1 afc87c912fa03de44b3cb8d69eda4664f8e0980f SHA256 50a2b34f1d3a2f2bdc3e41dcb0ea090210296f3dad62e5ed62c0820704f03985 DIST fityk-0.9.1.tar.bz2 1607478 RMD160 2a288cbdc7f381afe57b150014b41a18269d474a SHA1 38e6b67ed7690f6b8f4dbb716025f3843dead0ef SHA256 c1215339307d0270b3b6b0d2365abdd51ba72d96141bfbaeaa51ea6c91b0b777 +DIST fityk-0.9.2.tar.bz2 984246 RMD160 3d55cc72665b1aa65c03b635379ba7c93bbe979c SHA1 84a58014815ed4466357ee3e05f47b2b3a935440 SHA256 16c9e85be2191ca3fbc527ff36cffdccf8e2f1ddeb34b2b622482488b604c857 EBUILD fityk-0.8.9.ebuild 1343 RMD160 24222eec035d61b6135201b80837b0924f45501c SHA1 589d5dcbdfbe98f39dc69a986f6f8518de6b62b5 SHA256 f82e21e3c2380e6708338a3054dff6d88f39a182d1c95004ff85c0f5e6ff5a97 EBUILD fityk-0.9.0.ebuild 1416 RMD160 1021397abd84471f07a280090ab7d612967e8e57 SHA1 9af46d97f597081ac0fca1ac2af916496c5d1f3c SHA256 ccf2e452c6576e7277872cc166c2c0aaee0c1ce39c2b72a8cc6ff5adb24e9f53 EBUILD fityk-0.9.1.ebuild 1416 RMD160 b020dacc67144f959a9de1f6e31638d5c321cee5 SHA1 f3cc8a14b465373b53711b9f590a17e13c2dc993 SHA256 804d74a8683bfc01e8c0c00e9a2c6d441b1590846bbebb85ebb11fc29b0dfa7b -MISC ChangeLog 2052 RMD160 810640b8e017c1ad7156fa0bbadfd3410e4099cb SHA1 2e095961057271d1f9c2e1b8376a7aea187e491a SHA256 62ca21f8893fc06b6daefc33c17b6f05b8712ae7eff2c2385e9f988efa21dc93 +EBUILD fityk-0.9.2.ebuild 2294 RMD160 bc2044b72ea7362b6aad624584fc4b23cf6fc68f SHA1 4c364e226c8de2b4984d904356294836094c3068 SHA256 89729a95c1bcd189b662b6c17fe6ecc422d57ee39582963849998a6b4cc5aca3 +MISC ChangeLog 2195 RMD160 c355d70631da0b7db08e10e3895ea06cea30d8e9 SHA1 d908ac09576c1f6439cdd5974befae4544595d56 SHA256 65e690ccdc65c5502ed92600ea1c5a9999af5bff5a3ebc540feec2005bee9dc0 MISC metadata.xml 1094 RMD160 051cca0088806156c3f4e786b9b4bd36541874a0 SHA1 6f394f9c92462dd283ca49be6f285232fd5e1ea6 SHA256 271840e4016f655cc85c7627b659b98837092381a4c1fcc873f195cb04c74d26 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAkvDXgkACgkQ1ycZbhPLE2AKhQCfQgI1VVLwX49vI8amIE+z7E6X -syMAn29+Spd5TCf0R1Zp4NNYd/sES1gT -=b4oN +iEYEARECAAYFAkv0MxoACgkQgAnW8HDreRYnNgCgthOFNaHHgQ6JLi62QmtLlMSk +gFcAoIKWZhx3PZ7jKgJeo2bQVuRBSTvV +=n05c -----END PGP SIGNATURE----- diff --git a/sci-visualization/fityk/fityk-0.9.2.ebuild b/sci-visualization/fityk/fityk-0.9.2.ebuild new file mode 100644 index 000000000000..87888487aaf8 --- /dev/null +++ b/sci-visualization/fityk/fityk-0.9.2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/fityk-0.9.2.ebuild,v 1.1 2010/05/19 18:51:00 jlec Exp $ + +EAPI="3" + +WX_GTK_VER="2.8" + +PYTHON_DEPEND="python? 2" +SUPPORT_PYTHON_ABIS="1" + +inherit python 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 lua readline python wxwidgets" + +CDEPEND=">=sci-libs/xylib-0.6 + lua? ( dev-lang/lua ) + readline? ( sys-libs/readline ) + wxwidgets? ( x11-libs/wxGTK:2.8 )" + +DEPEND="${CDEPEND} + dev-libs/boost + >=sys-devel/libtool-2.2" + +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" + + sed '/^LTLIBRARIES/s:$(pyexec_LTLIBRARIES)::g' \ + -i swig/Makefile.in + if use python; then + echo '#!/bin/sh' > config/py-compile + fi +} + +src_configure() { + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --disable-xyconvert \ + $(use_enable lua) \ + $(use_enable python) \ + $(use_enable wxwidgets GUI) \ + $(use_with doc) \ + $(use_with examples samples) \ + $(use_with readline) +} + +src_compile() { + default + if use python; then + python_copy_sources swig + compilation() { + emake \ + PYTHON_CPPFLAGS="-I$(python_get_includedir)" \ + PYTHON_LDFLAGS="$(python_get_library -l)" \ + PYTHON_SITE_PKG="$(python_get_sitedir)" \ + PYTHON_VERSION="$(python_get_version)" \ + _fityk.la + } + python_execute_function -s --source-dir swig compilation + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + if use python; then + installation() { + emake \ + DESTDIR="${D}" \ + pyexecdir="$(python_get_sitedir)" \ + pythondir="$(python_get_sitedir)" \ + install + } + python_execute_function -s --source-dir swig installation + python_clean_installation_image + fi + dodoc NEWS README TODO || die +} + +pkg_postinst() { + use python && python_mod_optimize ${PN}.py +} + +pkg_postrm() { + use python && python_mod_cleanup ${PN}.py +} |