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-mathematics/pspp: ChangeLog metadata.xml pspp-0.6.1.ebuild
Date: Tue, 28 Oct 2008 16:47:42
Message-Id: E1KurjA-0002I9-Pm@stork.gentoo.org
1 bicatali 08/10/28 16:47:32
2
3 Modified: ChangeLog metadata.xml
4 Added: pspp-0.6.1.ebuild
5 Log:
6 Version bump, more complete doc installation, added missing dependencies and fix for crashing GUI, bug #244631
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
8
9 Revision Changes Path
10 1.9 sci-mathematics/pspp/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pspp/ChangeLog?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pspp/ChangeLog?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pspp/ChangeLog?r1=1.8&r2=1.9
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/ChangeLog,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ChangeLog 28 Oct 2008 13:36:24 -0000 1.8
23 +++ ChangeLog 28 Oct 2008 16:47:32 -0000 1.9
24 @@ -1,6 +1,13 @@
25 # ChangeLog for sci-mathematics/pspp
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/ChangeLog,v 1.8 2008/10/28 13:36:24 markusle Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/ChangeLog,v 1.9 2008/10/28 16:47:32 bicatali Exp $
29 +
30 +*pspp-0.6.1 (28 Oct 2008)
31 +
32 + 28 Oct 2008; Sébastien Fabbro <bicatali@g.o> metadata.xml,
33 + +pspp-0.6.1.ebuild:
34 + Version bump, more complete doc installation, added missing dependencies
35 + and fix for crashing GUI, bug #244631
36
37 28 Oct 2008; Markus Dittrich <markusle@g.o>
38 +files/pspp-0.6.0-as-needed.patch, pspp-0.6.0.ebuild:
39
40
41
42 1.4 sci-mathematics/pspp/metadata.xml
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pspp/metadata.xml?rev=1.4&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pspp/metadata.xml?rev=1.4&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pspp/metadata.xml?r1=1.3&r2=1.4
47
48 Index: metadata.xml
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/metadata.xml,v
51 retrieving revision 1.3
52 retrieving revision 1.4
53 diff -u -r1.3 -r1.4
54 --- metadata.xml 6 Aug 2008 20:47:47 -0000 1.3
55 +++ metadata.xml 28 Oct 2008 16:47:32 -0000 1.4
56 @@ -3,14 +3,14 @@
57 <pkgmetadata>
58 <herd>sci-mathematics</herd>
59 <longdescription lang="en">
60 -PSPP is a program for statistical analysis of sampled data. It
61 -interprets commands in the SPSS language and produces tabular and
62 -graphical output in ASCII, HTML, or PostScript format.
63 -PSPP supports a large subset of SPSS's transformation language. Its
64 -statistical procedure support is limited but growing.
65 -PSPP has both text-based and graphical user interfaces.
66 + PSPP is a program for statistical analysis of sampled data. It
67 + interprets commands in the SPSS language and produces tabular and
68 + graphical output in ASCII, HTML, or PostScript format.
69 + PSPP supports a large subset of SPSS's transformation language. Its
70 + statistical procedure support is limited but growing.
71 + PSPP has both text-based and a GTK+ based graphical user interfaces.
72 </longdescription>
73 <use>
74 - <flag name='psppire'>Enable psppire GUI</flag>
75 + <flag name='psppire'>Enable GTK psppire GUI</flag>
76 </use>
77 </pkgmetadata>
78
79
80
81 1.1 sci-mathematics/pspp/pspp-0.6.1.ebuild
82
83 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pspp/pspp-0.6.1.ebuild?rev=1.1&view=markup
84 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pspp/pspp-0.6.1.ebuild?rev=1.1&content-type=text/plain
85
86 Index: pspp-0.6.1.ebuild
87 ===================================================================
88 # Copyright 1999-2008 Gentoo Foundation
89 # Distributed under the terms of the GNU General Public License v2
90 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/pspp-0.6.1.ebuild,v 1.1 2008/10/28 16:47:32 bicatali Exp $
91
92 EAPI=2
93 inherit eutils elisp-common autotools
94
95 DESCRIPTION="Program for statistical analysis of sampled data."
96 HOMEPAGE="http://www.gnu.org/software/pspp/pspp.html"
97 SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.gz"
98 SLOT="0"
99 LICENSE="GPL-3"
100 KEYWORDS="~amd64 ~x86"
101 IUSE="doc emacs gtk ncurses nls plotutils postgres"
102
103 RDEPEND="sci-libs/gsl
104 sys-libs/readline
105 sys-devel/gettext
106 virtual/libiconv
107 sys-libs/zlib
108 dev-libs/libxml2
109 emacs? ( virtual/emacs )
110 gtk? ( >=x11-libs/gtk+-2.12 gnome-base/libglade )
111 ncurses? ( sys-libs/ncurses )
112 plotutils? ( media-libs/plotutils )
113 postgres? ( virtual/postgresql-server )"
114
115 DEPEND="${RDEPEND}
116 dev-util/pkgconfig
117 doc? ( virtual/latex-base )"
118
119 SITEFILE=50${PN}-gentoo.el
120
121 src_prepare() {
122 # this patch is hacky, but should not be needed for 0.7
123 epatch "${FILESDIR}"/${PN}-0.6.0-as-needed.patch
124 eautoreconf
125 }
126
127 src_configure() {
128 econf \
129 --disable-rpath \
130 $(use_enable nls) \
131 $(use_with gtk gui) \
132 $(use_with ncurses libncurses) \
133 $(use_with plotutils libplot) \
134 $(use_with postgres libpq)
135 }
136
137 src_compile() {
138 emake pkglibdir=/usr/$(get_libdir) || die "emake failed"
139 if use doc; then
140 emake html || die "emake html failed"
141 emake pdf || die "emake pdf failed"
142 fi
143 use emacs && elisp-compile *.el
144 }
145
146 src_install() {
147 emake pkglibdir=/usr/$(get_libdir) DESTDIR="${D}" install || die "emake install failed"
148
149 dodoc AUTHORS ChangeLog NEWS ONEWS README THANKS TODO
150 insinto /usr/share/doc/${PF}
151 doins -r examples || die
152
153 if use doc; then
154 doins -r doc/pspp.html doc/pspp-dev.html || die
155 doins doc/pspp.pdf doc/pspp-dev.pdf || die
156 fi
157 if use emacs; then
158 elisp-install ${PN} *.el *.elc
159 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
160 fi
161
162 if use gtk; then
163 doicon src/ui/gui/${PN}icon.png
164 make_desktop_entry psppire psppire ${PN}icon.png
165 fi
166 }
167
168 pkg_postinst () {
169 use emacs && elisp-site-regen
170 }
171
172 pkg_postrm() {
173 use emacs && elisp-site-regen
174 }