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