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/gwyddion: ChangeLog gwyddion-2.21.ebuild
Date: Thu, 02 Dec 2010 05:08:45
Message-Id: 20101202050834.6E7DC20054@flycatcher.gentoo.org
1 bicatali 10/12/02 05:08:34
2
3 Modified: ChangeLog
4 Added: gwyddion-2.21.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.9.25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.24 sci-visualization/gwyddion/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gwyddion/ChangeLog?rev=1.24&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gwyddion/ChangeLog?rev=1.24&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gwyddion/ChangeLog?r1=1.23&r2=1.24
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/gwyddion/ChangeLog,v
20 retrieving revision 1.23
21 retrieving revision 1.24
22 diff -u -r1.23 -r1.24
23 --- ChangeLog 7 Aug 2010 13:50:21 -0000 1.23
24 +++ ChangeLog 2 Dec 2010 05:08:34 -0000 1.24
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-visualization/gwyddion
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gwyddion/ChangeLog,v 1.23 2010/08/07 13:50:21 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gwyddion/ChangeLog,v 1.24 2010/12/02 05:08:34 bicatali Exp $
30 +
31 +*gwyddion-2.21 (02 Dec 2010)
32 +
33 + 02 Dec 2010; Sébastien Fabbro <bicatali@g.o> +gwyddion-2.21.ebuild:
34 + Version bump
35
36 07 Aug 2010; Hans de Graaff <graaff@g.o> gwyddion-2.10.ebuild:
37 Change virtual/ruby to dev-lang/ruby, bug 265054.
38
39
40
41 1.1 sci-visualization/gwyddion/gwyddion-2.21.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gwyddion/gwyddion-2.21.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gwyddion/gwyddion-2.21.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gwyddion-2.21.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/gwyddion/gwyddion-2.21.ebuild,v 1.1 2010/12/02 05:08:34 bicatali Exp $
51
52 EAPI=2
53
54 PYTHON_DEPEND="python? 2"
55
56 inherit fdo-mime gnome2-utils python autotools
57
58 DESCRIPTION="A software framework for SPM data analysis"
59 HOMEPAGE="http://gwyddion.net/"
60 SRC_URI="http://gwyddion.net/download/${PV}/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="doc fftw gnome kde nls opengl perl python ruby sourceview xml X"
66
67 RDEPEND=">=x11-libs/gtk+-2.8
68 x11-libs/cairo
69 x11-libs/pango
70 x11-libs/libXmu
71 fftw? ( >=sci-libs/fftw-3 )
72 gnome? ( gnome-base/gconf )
73 kde? ( >=kde-base/kdelibs-4 )
74 opengl? ( virtual/opengl x11-libs/gtkglext )
75 perl? ( dev-lang/perl )
76 python? ( dev-python/pygtk )
77 ruby? ( dev-ruby/narray )
78 sourceview? ( >=x11-libs/gtksourceview-2 )
79 xml? ( dev-libs/libxml2 )"
80
81 DEPEND="${RDEPEND}
82 dev-util/pkgconfig
83 doc? ( dev-util/gtk-doc )"
84
85 pkg_setup() {
86 use python && python_set_active_version 2
87 }
88
89 src_prepare() {
90 sed -i -e '/x_includes/d' -e '/x_libraries/d' configure.ac || die
91 eautoreconf
92 }
93
94 src_configure() {
95 econf \
96 --disable-desktop-file-update \
97 --disable-rpath \
98 --enable-library-bloat \
99 --enable-plugin-proxy \
100 $(use_enable doc gtk-doc) \
101 $(use_enable nls) \
102 $(use_enable python pygwy) \
103 $(use_with perl) \
104 $(use_with python) \
105 $(use_with ruby) \
106 $(use_with fftw fftw3) \
107 $(use_with opengl gl) \
108 $(use_with sourceview gtksourceview) \
109 $(use_with xml spml) \
110 $(use_with X x) \
111 $(use_with kde kde4-thumbnailer)
112 }
113
114 src_install() {
115 emake DESTDIR="${D}" install || die "emake install failed"
116 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
117 use python && dodoc modules/pygwy/README.pygwy
118 }
119
120 pkg_postinst() {
121 use gnome && gnome2_gconf_install
122 fdo-mime_desktop_database_update
123 }
124
125 pkg_prerm() {
126 use gnome && gnome2_gconf_uninstall
127 }
128
129 pkg_postrm() {
130 fdo-mime_desktop_database_update
131 }