Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pspp/
Date: Fri, 07 Dec 2018 20:11:12
Message-Id: 1544213321.fba74311732b0000c59669bed487f7cf6ea511c2.alexxy@gentoo
1 commit: fba74311732b0000c59669bed487f7cf6ea511c2
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 7 20:00:30 2018 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 7 20:08:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fba74311
7
8 sci-mathematics/pspp: Version bump
9
10 Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 sci-mathematics/pspp/Manifest | 1 +
14 sci-mathematics/pspp/pspp-1.2.0.ebuild | 79 ++++++++++++++++++++++++++++++++++
15 2 files changed, 80 insertions(+)
16
17 diff --git a/sci-mathematics/pspp/Manifest b/sci-mathematics/pspp/Manifest
18 index 556d24960b2..0049a628c14 100644
19 --- a/sci-mathematics/pspp/Manifest
20 +++ b/sci-mathematics/pspp/Manifest
21 @@ -1,2 +1,3 @@
22 DIST pspp-0.10.1.tar.gz 7269109 BLAKE2B 5f488b1bbe9d4cf833d847cd035485827e7e518fb82f0e5df98418e919da54553475e91fd8529df8819ee71d853fb8bdd079e27a9b8587b40074701a7d71a8c2 SHA512 a7f4eec3858340743ff845e67028af76d79a58968ceaa19a87e0443751917b2d70251e53231ecce15c937c9640ac733e00603baa76b4266d693375ab70b870b5
23 DIST pspp-0.10.2.tar.gz 7316470 BLAKE2B 9bbccfc8151d83613f5c4f49f285959c6b9e74bdc99edb95dc719561fb05c01e54b10fc5b3a58b9e5beeae199235d0d936a6ee08277fe7c710c3e40ca6c389f7 SHA512 7d6656c03da46b088e87cba7a947d1e56031ff50d704be8201a38563515cf5cf324a05f1d4999ba8aec7b2269a8fdbd09374a11374c9c1b9dd6d78d34fda4b76
24 +DIST pspp-1.2.0.tar.gz 7213194 BLAKE2B f468c6e025f996c9f806fb03e94a4497f02b774c509457cc6295bbefe37abc7e2ecf10d2876c8cff9a979d7a4264c7c185e1cec5fd1d5f2f00f1c6eae4da775e SHA512 49eed2b55f10584abba18ff7d2020fd08691bbc1a3c2f332e6d283e32aa84e0abdae6092d17db9c1a539c63d85ecdfcc2dad40c94a06904b8893a1976e5e48d3
25
26 diff --git a/sci-mathematics/pspp/pspp-1.2.0.ebuild b/sci-mathematics/pspp/pspp-1.2.0.ebuild
27 new file mode 100644
28 index 00000000000..85f03f048b0
29 --- /dev/null
30 +++ b/sci-mathematics/pspp/pspp-1.2.0.ebuild
31 @@ -0,0 +1,79 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit eutils elisp-common
38 +
39 +DESCRIPTION="Program for statistical analysis of sampled data"
40 +HOMEPAGE="https://www.gnu.org/software/pspp/pspp.html"
41 +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="GPL-3"
44 +SLOT="0/${PV}"
45 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
46 +IUSE="cairo doc emacs examples gtk ncurses nls perl postgres static-libs"
47 +
48 +RDEPEND="
49 + dev-libs/libxml2:2=
50 + sci-libs/gsl:0=
51 + sys-devel/gettext:0=
52 + sys-libs/readline:0=
53 + sys-libs/zlib:0=
54 + virtual/libiconv
55 + cairo? ( x11-libs/cairo:0=[svg] )
56 + emacs? ( virtual/emacs )
57 + gtk? (
58 + x11-libs/gtk+:3=
59 + x11-libs/gtksourceview:3.0=
60 + x11-libs/spread-sheet-widget )
61 + ncurses? ( sys-libs/ncurses:0= )
62 + postgres? ( dev-db/postgresql:=[server] )"
63 +DEPEND="${RDEPEND}
64 + virtual/pkgconfig
65 + doc? ( virtual/latex-base )"
66 +
67 +SITEFILE=50${PN}-gentoo.el
68 +
69 +src_configure() {
70 + econf \
71 + $(use_enable nls) \
72 + $(use_enable static-libs static) \
73 + $(use_with cairo) \
74 + $(use_with gtk gui) \
75 + $(use_with ncurses libncurses) \
76 + $(use_with perl perl-module) \
77 + $(use_with postgres libpq)
78 +}
79 +
80 +src_compile() {
81 + default
82 + use doc && emake html pdf
83 + use emacs && elisp-compile *.el
84 +}
85 +
86 +src_install() {
87 + default
88 + if use doc; then
89 + dodoc doc/pspp{,-dev}.pdf
90 + insinto /usr/share/doc/${PF}/html
91 + dodoc -r doc/pspp{,-dev}.html
92 + fi
93 + if use examples; then
94 + insinto /usr/share/doc/${PF}
95 + doins -r examples
96 + fi
97 + if use emacs; then
98 + elisp-install ${PN} *.el *.elc
99 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
100 + fi
101 + prune_libtool_files --all
102 +}
103 +
104 +pkg_postinst () {
105 + use emacs && elisp-site-regen
106 +}
107 +
108 +pkg_postrm() {
109 + use emacs && elisp-site-regen
110 +}