Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/fityk: ChangeLog fityk-0.9.6.ebuild fityk-0.9.3.ebuild
Date: Wed, 26 Jan 2011 17:45:10
Message-Id: 20110126174459.711FA20054@flycatcher.gentoo.org
1 bicatali 11/01/26 17:44:59
2
3 Modified: ChangeLog
4 Added: fityk-0.9.6.ebuild
5 Removed: fityk-0.9.3.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.1.9.35/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.14 sci-visualization/fityk/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/fityk/ChangeLog?rev=1.14&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/fityk/ChangeLog?rev=1.14&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/fityk/ChangeLog?r1=1.13&r2=1.14
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/fityk/ChangeLog,v
21 retrieving revision 1.13
22 retrieving revision 1.14
23 diff -u -r1.13 -r1.14
24 --- ChangeLog 1 Dec 2010 23:17:36 -0000 1.13
25 +++ ChangeLog 26 Jan 2011 17:44:59 -0000 1.14
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-visualization/fityk
28 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/ChangeLog,v 1.13 2010/12/01 23:17:36 bicatali Exp $
30 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/ChangeLog,v 1.14 2011/01/26 17:44:59 bicatali Exp $
32 +
33 +*fityk-0.9.6 (26 Jan 2011)
34 +
35 + 26 Jan 2011; Sébastien Fabbro <bicatali@g.o> -fityk-0.9.3.ebuild,
36 + +fityk-0.9.6.ebuild:
37 + Version bump
38
39 *fityk-0.9.4 (01 Dec 2010)
40
41
42
43
44 1.1 sci-visualization/fityk/fityk-0.9.6.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/fityk/fityk-0.9.6.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/fityk/fityk-0.9.6.ebuild?rev=1.1&content-type=text/plain
48
49 Index: fityk-0.9.6.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/fityk/fityk-0.9.6.ebuild,v 1.1 2011/01/26 17:44:59 bicatali Exp $
54
55 EAPI="3"
56
57 WX_GTK_VER="2.8"
58
59 PYTHON_DEPEND="python? 2"
60 SUPPORT_PYTHON_ABIS="1"
61
62 inherit python wxwidgets
63
64 DESCRIPTION="General-purpose nonlinear curve fitting and data analysis"
65 HOMEPAGE="http://fityk.nieto.pl/"
66 SRC_URI="http://cloud.github.com/downloads/wojdyr/${PN}/${P}.tar.bz2"
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE="doc examples gnuplot lua readline python static-libs wxwidgets"
72
73 CDEPEND=">=sci-libs/xylib-0.8
74 lua? ( dev-lang/lua )
75 readline? ( sys-libs/readline )
76 wxwidgets? ( x11-libs/wxGTK:2.8 )"
77
78 DEPEND="${CDEPEND}
79 dev-libs/boost
80 >=sys-devel/libtool-2.2"
81
82 RDEPEND="${CDEPEND}
83 gnuplot? ( sci-visualization/gnuplot )"
84
85 RESTRICT_PYTHON_ABIS="3.*"
86
87 src_prepare() {
88 has_version "<dev-libs/boost-1.37" && \
89 sed -i -e 's:impl/directives.hpp:directives.ipp:g' \
90 "${S}/src/optional_suffix.h"
91
92 sed '/^LTLIBRARIES/s:$(pyexec_LTLIBRARIES)::g' \
93 -i swig/Makefile.in
94 if use python; then
95 echo '#!/bin/sh' > config/py-compile
96 fi
97 }
98
99 src_configure() {
100 econf \
101 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
102 --disable-xyconvert \
103 $(use_enable lua) \
104 $(use_enable python) \
105 $(use_enable static-libs static) \
106 $(use_enable wxwidgets GUI) \
107 $(use_with doc) \
108 $(use_with examples samples) \
109 $(use_with readline)
110 }
111
112 src_compile() {
113 default
114 if use python; then
115 python_copy_sources swig
116 compilation() {
117 emake \
118 PYTHON_CPPFLAGS="-I$(python_get_includedir)" \
119 PYTHON_LDFLAGS="$(python_get_library -l)" \
120 PYTHON_SITE_PKG="$(python_get_sitedir)" \
121 PYTHON_VERSION="$(python_get_version)" \
122 pyexecdir="$(python_get_sitedir)" \
123 _fityk.la
124 }
125 python_execute_function -s --source-dir swig compilation
126 fi
127 }
128
129 src_install() {
130 emake DESTDIR="${D}" install || die "emake install failed"
131
132 if use python; then
133 installation() {
134 emake \
135 DESTDIR="${D}" \
136 pyexecdir="$(python_get_sitedir)" \
137 pythondir="$(python_get_sitedir)" \
138 install
139 }
140 python_execute_function -s --source-dir swig installation
141 python_clean_installation_image
142 fi
143 dodoc NEWS README TODO
144 }
145
146 pkg_postinst() {
147 use python && python_mod_optimize ${PN}.py
148 }
149
150 pkg_postrm() {
151 use python && python_mod_cleanup ${PN}.py
152 }