Gentoo Archives: gentoo-commits

From: Thomas Kahle <tomka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gimps/
Date: Wed, 02 Nov 2016 22:42:39
Message-Id: 1478126539.005812a6714742268c8aa90040079107e8b5cae4.tomka@gentoo
1 commit: 005812a6714742268c8aa90040079107e8b5cae4
2 Author: Thomas Kahle <tomka <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 2 22:41:28 2016 +0000
4 Commit: Thomas Kahle <tomka <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 2 22:42:19 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=005812a6
7
8 sci-mathematics/gimps: Bump to 28.10
9
10 Bug: 598756
11
12 Package-Manager: portage-2.3.0
13
14 sci-mathematics/gimps/Manifest | 2 +
15 sci-mathematics/gimps/gimps-28.10.ebuild | 68 ++++++++++++++++++++++++++++++++
16 2 files changed, 70 insertions(+)
17
18 diff --git a/sci-mathematics/gimps/Manifest b/sci-mathematics/gimps/Manifest
19 index 370b7b2..939538b 100644
20 --- a/sci-mathematics/gimps/Manifest
21 +++ b/sci-mathematics/gimps/Manifest
22 @@ -1,3 +1,5 @@
23 +DIST p95v2810.linux32.tar.gz 4610763 SHA256 ef9b90e9b82c6710af53471eb18328b80cc46f0a41f137bc224efca0ed570d95 SHA512 ac2e0f2e1b557b71084027a5bd7cafeb350df3ee9edf347766d34d4a607034827494eb15dae30404da33f8c9f279a85e033cf845800868f4c51087a35b49c521 WHIRLPOOL f3609de0845308811e09f4a2159709ea69b070f20fe3cc9e71d0bd9d98fff579e0763b8f52cfcc65339dfa3723f622bd97334ae3daf975ad0a9898f803d6c70a
24 +DIST p95v2810.linux64.tar.gz 5707219 SHA256 ed5a8b94fdd65436e98e57ea0838035fd44c62492009d00f5fba508cb85481c7 SHA512 c4fd692df3018e5e73ba6095de5ed394f36d5c89dd81c2c7f2c74a4ce3184b22176dc13b8b59e4f42c1781e911107dc12224cfcddef882535931319ec93120f1 WHIRLPOOL 91c1f657df196b8eb27b88727e35cee831a98cbe99d3a88834ba868c4b491144fc4efb66d389f76203481f252b3ef9cc0c2241aa3d153abc1857f09cf3971ac7
25 DIST p95v287.linux32.tar.gz 4610011 SHA256 836ad76a17762dca50c2bed55c9e46655268e42b0de1c87e2499e92602e41435 SHA512 2f60c2801f02b6f72e71704f99f94512483da192d659fd691e3be2b562cdc4f174e744c276173b2b17b6c664be998d5b483e4aeda9e716afbc885e87cc919060 WHIRLPOOL c57f34beb0b46b6f5c822a63ae3281b70ca69167589d1b3b33c1e455da1f476cbfa8213c1053c2aedbc9f543cba7c3a1ac2d4ed2a98e7d6433be6ba2c47c32ed
26 DIST p95v287.linux64.tar.gz 5661102 SHA256 3555426f170ae222de34599aca8dac9c621923a3e7d492d25138c086f45536ab SHA512 8e35af16bffe1e624f08797baa67d8890fd62a6b6ada1cbd1b4d37afb60e08f9f58dc8e566e0bc6e5e8fb714367e78c30dbff8b77c76a47d7b0935d10afd4c48 WHIRLPOOL 36ce137654d9a7a02643940349f0465d4a4592f4e35158b3d5512e2d5e24ea1f86105ec6cebff1369200ab45d8e5968c32d94ea2f747e666df444a4e13049d0e
27 DIST p95v289.linux32.tar.gz 4610947 SHA256 75eb6237a41a08276347ec57bcea5e40e2e2af667dbdeec665939f03f1edc4cf SHA512 3b7428d0c94a2076efc1d0188d33fb35c2b06d52a7b99d4aabd9f5592af881d67752e81e190f49aee7ec31a834b7220df419c83d2c656ac40540ca20724adc22 WHIRLPOOL 48da117f33432063a72e41440a9cb530fc0569e646210d32468561bfe6d1946b5452a9819e9f3ef6ac09568f91ccd70f032e6eb762375617855acf044386f577
28
29 diff --git a/sci-mathematics/gimps/gimps-28.10.ebuild b/sci-mathematics/gimps/gimps-28.10.ebuild
30 new file mode 100644
31 index 00000000..d92f5fb
32 --- /dev/null
33 +++ b/sci-mathematics/gimps/gimps-28.10.ebuild
34 @@ -0,0 +1,68 @@
35 +# Copyright 1999-2016 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Id$
38 +
39 +EAPI=6
40 +
41 +inherit pax-utils systemd
42 +
43 +DESCRIPTION="The Great Internet Mersenne Prime Search"
44 +HOMEPAGE="http://mersenne.org/"
45 +SRC_URI="
46 + amd64? ( ftp://mersenne.org/gimps/p95v${PV/./}.linux64.tar.gz )
47 + x86? ( ftp://mersenne.org/gimps/p95v${PV/./}.linux32.tar.gz )"
48 +
49 +SLOT="0"
50 +LICENSE="GIMPS"
51 +KEYWORDS="-* ~amd64 ~x86"
52 +IUSE=""
53 +
54 +# Since there are no statically linked binaries for this version of mprime,
55 +# and no static binaries for amd64 in general, we use the dynamically linked
56 +# ones and try to cover the .so deps with the packages listed in RDEPEND.
57 +DEPEND=""
58 +RDEPEND="net-misc/curl"
59 +
60 +S="${WORKDIR}"
61 +I="/opt/gimps"
62 +
63 +QA_PREBUILT="opt/gimps/mprime"
64 +
65 +DOCS="license.txt readme.txt stress.txt whatsnew.txt undoc.txt"
66 +
67 +src_install() {
68 + dodir ${I} /var/lib/gimps
69 + pax-mark m mprime
70 + cp mprime "${D}/${I}"
71 + fperms a-w "${I}/mprime"
72 + fowners root:0 "${I}"
73 + fowners root:0 "${I}/mprime"
74 +
75 + einstalldocs
76 +
77 + newinitd "${FILESDIR}/${PN}-26.6-r1-init.d" gimps
78 + newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps
79 +
80 + systemd_dounit "${FILESDIR}/${PN}.service"
81 + systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}.conf"
82 +}
83 +
84 +pkg_postinst() {
85 + echo
86 + einfo "You can use \`/etc/init.d/gimps start\` to start a GIMPS client in the"
87 + einfo "background at boot. Have a look at /etc/conf.d/gimps and check some"
88 + einfo "configuration options."
89 + einfo
90 + einfo "If you don't want to use the init script to start gimps, remember to"
91 + einfo "pass it an additional command line parameter specifying where the data"
92 + einfo "files are to be stored, e.g.:"
93 + einfo " ${I}/mprime -w/var/lib/gimps"
94 + echo
95 +}
96 +
97 +pkg_postrm() {
98 + echo
99 + einfo "GIMPS data files were not removed."
100 + einfo "Remove them manually from /var/lib/gimps/"
101 + echo
102 +}