From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gimps/
Date: Fri, 26 Mar 2021 09:29:51 +0000 (UTC) [thread overview]
Message-ID: <1616750982.6f3cdaea4f8994d8c951171712aedc8c25eba0dc.juippis@gentoo> (raw)
commit: 6f3cdaea4f8994d8c951171712aedc8c25eba0dc
Author: PPed72 <paolo.pedroni <AT> iol <DOT> it>
AuthorDate: Tue Mar 23 08:44:21 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 09:29:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f3cdaea
sci-mathematics/gimps: Version bump to 30.5 build 2
Closes: https://bugs.gentoo.org/777849
Signed-off-by: Paolo Pedroni <paolo.pedroni <AT> iol.it>
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
sci-mathematics/gimps/Manifest | 2 +
sci-mathematics/gimps/gimps-30.5.2.ebuild | 74 +++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
diff --git a/sci-mathematics/gimps/Manifest b/sci-mathematics/gimps/Manifest
index 47960969c6e..3aff6e1ed03 100644
--- a/sci-mathematics/gimps/Manifest
+++ b/sci-mathematics/gimps/Manifest
@@ -2,3 +2,5 @@ DIST p95v303b6.linux32.tar.gz 5702312 BLAKE2B 728c8b8e7e2b5187dc8126bccc5e2c165f
DIST p95v303b6.linux64.tar.gz 7046127 BLAKE2B 9cde9c2670203071cfc463434a47c8123064cb232bfeb25d8767cad2c25ea75b395e2ec135b7b4a6dc9616e9d6b05ead371e1083274a82468f62a0e1de93c98f SHA512 6d6ded9a1724993d42adee28d400b0337835c52a4ce42271e62efb37134adfc6f017f55475860fbc1224e377a227ef8547b8852a35c082c37e996f4a1c1b570c
DIST p95v305b1.linux32.tar.gz 5695975 BLAKE2B d2ab3724cf8743292533a7cb5c73b2fc6743c6e11507f92218b6b65f39e78c2f61147a6898d0a77fef590a0c989aa6f17d1984a6e4801594fbe4c3a7484d1750 SHA512 74e2592c1f3c4bb45cc076e35cd70d5c295d613ab142feb1c18138ea8816c21c56f5531c4938c49706bbb66f30ad84c5dd2f76f2184e1a1ea0de7423e941df52
DIST p95v305b1.linux64.tar.gz 7166108 BLAKE2B 60880e36ed618ad94aacd0f89811b72137fd27e99dff33b02286ea0f4778bce320c9b8da7b470fa491ea2e333f03d9d2994c2ea1513289acfc2f5b63695509fd SHA512 c38416b83850104d8d78191a4591fbef1bd356f8804725ccfdd7ebe065bc05ed86c09a128ac7824f809242712d60a1eb7ecb200358c1cde37fc4b7c13b82006f
+DIST p95v305b2.linux32.tar.gz 5695951 BLAKE2B d97f5b553e0a0563d51a08049c08fe31231e2689cfe6ec979b832603bace334755e947be2d7a106d4f4b807070568746f2cdabf869c5c4c6e125155c332b10bf SHA512 b5caa642e742438f10b5ee89d27213834755051679fe0d4d452e446b2f7628c8a874227971473d4319b8841f47a0bb32e7de9731d8b45e808356efb11922716e
+DIST p95v305b2.linux64.tar.gz 7165963 BLAKE2B 3ae20e8e29273650e94ff8774f973240c6b57d7a54e1674e7f741a9d366d3fdad98bb91b8e2abfcf7e1df6319476aa116e921171f2b585a568ee7d5038635531 SHA512 5fe250f7dcc35767fd5f4529219351095d1076f631528d80fa09498e27fa211abc621ef070548c398402143bec5e1d6e6e974155f50eb9f42af0ca179e4e03a8
diff --git a/sci-mathematics/gimps/gimps-30.5.2.ebuild b/sci-mathematics/gimps/gimps-30.5.2.ebuild
new file mode 100644
index 00000000000..7a7160c336a
--- /dev/null
+++ b/sci-mathematics/gimps/gimps-30.5.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit pax-utils readme.gentoo-r1 systemd tmpfiles
+
+DESCRIPTION="The Great Internet Mersenne Prime Search"
+HOMEPAGE="https://www.mersenne.org/"
+
+# The author has finally caved in to the pressure of putting the build
+# number in the package name. Some dark magic necessary to get to the
+# package name
+
+MY_PV=$(ver_rs 2 'b' )
+
+SRC_URI="
+ amd64? ( https://www.mersenne.org/ftp_root/gimps/p95v${MY_PV/./}.linux64.tar.gz )
+ x86? ( https://www.mersenne.org/ftp_root/gimps/p95v${MY_PV/./}.linux32.tar.gz )
+ "
+
+SLOT="0"
+LICENSE="GIMPS"
+RESTRICT="mirror bindist"
+KEYWORDS="-* ~amd64 ~x86"
+
+# Since there are no statically linked binaries for this version of mprime,
+# and no static binaries for amd64 in general, we use the dynamically linked
+# ones and try to cover the .so deps with the packages listed in RDEPEND.
+# libgmp.so.10.3.2 is bundled within the .tar.gz, but we use the system one.
+
+DEPEND=""
+RDEPEND="net-misc/curl
+ >=dev-libs/gmp-6.1.2"
+
+S="${WORKDIR}"
+OPTINSTALLDIR="/opt/gimps"
+
+QA_PREBUILT="opt/gimps/mprime"
+
+DOCS=( license.txt readme.txt stress.txt whatsnew.txt undoc.txt )
+
+src_install() {
+ dodir ${OPTINSTALLDIR}
+ keepdir /var/lib/gimps
+ pax-mark m mprime
+ cp mprime "${D}/${OPTINSTALLDIR}" || die
+ fperms a-w "${OPTINSTALLDIR}/mprime"
+ fowners root:0 "${OPTINSTALLDIR}"
+ fowners root:0 "${OPTINSTALLDIR}/mprime"
+
+ einstalldocs
+
+ readme.gentoo_create_doc
+
+ newinitd "${FILESDIR}/${PN}-28.9-init.d" gimps
+ newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
+ newtmpfiles "${FILESDIR}/${PN}.tmpfiles" "${PN}.conf"
+}
+
+pkg_postinst() {
+ tmpfiles_process "${PN}.conf"
+
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ echo
+ einfo "GIMPS data files were not removed."
+ einfo "Remove them manually from /var/lib/gimps/"
+ echo
+}
next reply other threads:[~2021-03-26 9:29 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-26 9:29 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-31 4:50 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gimps/ Sam James
2024-07-13 7:35 Joonas Niilola
2024-04-14 16:09 Matthew Smith
2024-04-14 16:09 Matthew Smith
2024-03-20 20:38 Andrew Ammerlaan
2023-01-13 10:19 Sam James
2023-01-13 10:19 Sam James
2023-01-13 10:19 Sam James
2022-10-18 12:42 Andrew Ammerlaan
2022-10-18 12:42 Andrew Ammerlaan
2022-09-07 9:07 Andrew Ammerlaan
2022-06-21 10:06 Andrew Ammerlaan
2022-06-21 10:06 Andrew Ammerlaan
2022-03-15 19:44 Jakov Smolić
2022-03-15 18:49 Jakov Smolić
2022-01-13 1:02 Sam James
2021-11-29 7:33 Joonas Niilola
2021-10-31 3:00 Sam James
2021-10-20 1:51 Sam James
2021-05-10 6:54 Joonas Niilola
2021-03-26 9:29 Joonas Niilola
2021-03-19 7:35 Joonas Niilola
2021-03-19 7:35 Joonas Niilola
2021-02-22 14:47 Joonas Niilola
2021-02-22 14:47 Joonas Niilola
2021-02-03 7:25 Joonas Niilola
2021-02-03 7:25 Joonas Niilola
2020-12-07 9:25 Joonas Niilola
2020-11-17 8:23 Joonas Niilola
2020-11-17 0:02 Sam James
2020-10-13 12:06 Joonas Niilola
2020-05-26 11:55 Ulrich Müller
2019-10-24 3:10 Joonas Niilola
2019-10-23 13:39 Agostino Sarubbo
2019-10-23 12:30 Agostino Sarubbo
2019-09-23 13:38 Joonas Niilola
2019-09-23 13:38 Joonas Niilola
2018-04-06 14:50 Aaron Bauman
2018-03-17 11:23 Michał Górny
2018-02-15 14:27 Patrice Clement
2018-01-22 21:58 Patrice Clement
2017-11-30 14:47 Patrice Clement
2017-04-06 23:55 Michael Orlitzky
2017-03-28 9:56 Agostino Sarubbo
2017-01-09 17:47 Michael Orlitzky
2017-01-09 17:47 Michael Orlitzky
2016-12-23 15:58 Michael Orlitzky
2016-11-02 22:42 Thomas Kahle
2016-11-02 22:42 Thomas Kahle
2016-06-06 16:15 Agostino Sarubbo
2016-04-11 8:05 Thomas Kahle
2015-10-05 7:40 Thomas Kahle
2015-09-25 14:13 Agostino Sarubbo
2015-09-24 10:36 Agostino Sarubbo
2015-08-12 7:29 Thomas Kahle
2015-08-12 7:29 Thomas Kahle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1616750982.6f3cdaea4f8994d8c951171712aedc8c25eba0dc.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox