Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pspp/
Date: Fri, 29 Apr 2016 21:48:00
Message-Id: 1461966457.6d0054720248742aaf5ada72d31a30a7e78d611d.bicatali@gentoo
1 commit: 6d0054720248742aaf5ada72d31a30a7e78d611d
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 29 21:47:04 2016 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 29 21:47:37 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d005472
7
8 sci-mathematics/pspp: Version bump
9
10 Package-Manager: portage-2.2.28
11
12 sci-mathematics/pspp/Manifest | 1 +
13 sci-mathematics/pspp/pspp-0.10.1.ebuild | 79 +++++++++++++++++++++++++++++++++
14 2 files changed, 80 insertions(+)
15
16 diff --git a/sci-mathematics/pspp/Manifest b/sci-mathematics/pspp/Manifest
17 index 2ba1ccf..7417e1e 100644
18 --- a/sci-mathematics/pspp/Manifest
19 +++ b/sci-mathematics/pspp/Manifest
20 @@ -1,2 +1,3 @@
21 +DIST pspp-0.10.1.tar.gz 7269109 SHA256 44cc08864de736880bc0d7e2b1f8c8493ac0e0c2164a4f9471077608f00c8677 SHA512 a7f4eec3858340743ff845e67028af76d79a58968ceaa19a87e0443751917b2d70251e53231ecce15c937c9640ac733e00603baa76b4266d693375ab70b870b5 WHIRLPOOL 9a195051d5279a86cd05d586ca5a845443f08346f47aec859a3e768c38d5517f23f47d40cc6fb00c6af6c01af624d251575edfb34dfb0f7c7ee3def1a008a1c7
22 DIST pspp-0.8.1.tar.gz 6514528 SHA256 fd48145d2ff77c39f624e26bf3c9a5623c2afaee7c040675b06cb4ce57d31d62 SHA512 2df758b3a2d8eba724d84ce7d77a6c0bbe469a11b86a8eb4227ec12a4957f468e74b3af0f81c953d87403a962937eef2680979a21ceba4fe8b93b55252b84a18 WHIRLPOOL 5be6ebcecffc3d8a7da669ea49028307b784a5b8b5d8a510d0f9e82a3740800966da5390f8abc120b55c9c621850be906f7610f86404b92c994d9a72697d413d
23 DIST pspp-0.8.3.tar.gz 6247760 SHA256 adb8de281098b0d8632a8f2ea2af6514100786cf946f07a3c268d4baff15316f SHA512 7645a2de09ed1d6f1a53900961791b64b9420f457278d19e62ca7dabdb02b01ee78cdab0efddae384dc7deff65f7c5256227538caed89537efa014437937a61c WHIRLPOOL cff5921acce8bb3654ab0d10d63c42af8d5a9745263f423900ee290a30f1748aff023739ba49fabca33517e3deaf3fb0513a5fac7d0cf50170ba4b870d0ededf
24
25 diff --git a/sci-mathematics/pspp/pspp-0.10.1.ebuild b/sci-mathematics/pspp/pspp-0.10.1.ebuild
26 new file mode 100644
27 index 0000000..bea2418
28 --- /dev/null
29 +++ b/sci-mathematics/pspp/pspp-0.10.1.ebuild
30 @@ -0,0 +1,79 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
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= )
56 + emacs? ( virtual/emacs )
57 + gtk? (
58 + x11-libs/gtk+:3=
59 + x11-libs/gtksourceview:3.0= )
60 + ncurses? ( sys-libs/ncurses:0= )
61 + postgres? ( dev-db/postgresql:=[server] )"
62 +DEPEND="${RDEPEND}
63 + virtual/pkgconfig
64 + doc? ( virtual/latex-base )"
65 +
66 +SITEFILE=50${PN}-gentoo.el
67 +
68 +src_configure() {
69 + econf \
70 + $(use_enable nls) \
71 + $(use_enable static-libs static) \
72 + $(use_with cairo) \
73 + $(use_with gtk gui) \
74 + $(use_with ncurses libncurses) \
75 + $(use_with perl perl-module) \
76 + $(use_with postgres libpq)
77 +}
78 +
79 +src_compile() {
80 + default
81 + use doc && emake html pdf
82 + use emacs && elisp-compile *.el
83 +}
84 +
85 +src_install() {
86 + default
87 + if use doc; then
88 + dodoc doc/pspp{,-dev}.pdf
89 + insinto /usr/share/doc/${PF}/html
90 + dodoc -r doc/pspp{,-dev}.html
91 + fi
92 + if use examples; then
93 + insinto /usr/share/doc/${PF}
94 + doins -r examples
95 + fi
96 + if use emacs; then
97 + elisp-install ${PN} *.el *.elc
98 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
99 + fi
100 + prune_libtool_files --all
101 +}
102 +
103 +pkg_postinst () {
104 + use emacs && elisp-site-regen
105 +}
106 +
107 +pkg_postrm() {
108 + use emacs && elisp-site-regen
109 +}