public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gimps/
Date: Wed,  7 Sep 2022 09:07:47 +0000 (UTC)	[thread overview]
Message-ID: <1662541554.d3e34ef239b8251438d18a7f16e80bf09c3f199c.andrewammerlaan@gentoo> (raw)

commit:     d3e34ef239b8251438d18a7f16e80bf09c3f199c
Author:     Paolo Pedroni <paolo.pedroni <AT> iol <DOT> it>
AuthorDate: Wed Aug 31 11:58:00 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Sep  7 09:05:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3e34ef2

sci-mathematics/gimps: Version bump to 30.8.16

Closes: https://bugs.gentoo.org/867709
Signed-off-by: Paolo Pedroni <paolo.pedroni <AT> iol.it>
Closes: https://github.com/gentoo/gentoo/pull/27089
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-mathematics/gimps/Manifest             |  1 +
 sci-mathematics/gimps/gimps-30.8.16.ebuild | 71 ++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/sci-mathematics/gimps/Manifest b/sci-mathematics/gimps/Manifest
index e77a3b076586..14de9af08792 100644
--- a/sci-mathematics/gimps/Manifest
+++ b/sci-mathematics/gimps/Manifest
@@ -2,3 +2,4 @@ DIST gimps-30.7.9.linux32.tar.gz 5966449 BLAKE2B b31b93417857d338e5e7454e1466bd8
 DIST gimps-30.7.9.linux64.tar.gz 7100830 BLAKE2B 8ebae083d26309f7c624e38c943e3bb0c7fe40a538840970dc222ed33ba5eaa9a5c0767b822682921eaae27f839c1eca5c0204b2c135748002e5d072744afe25 SHA512 5e6f3fbcc50b9b91fda7b286392bb17e58fd8d55a8386f27e206c63c560993da9713513d5eb4355e8e934f2e8703b39fc96f3c6f01058b729330f3526d37479b
 DIST gimps-30.8.15.linux32.tar.gz 6029035 BLAKE2B 4b84ebd89d45d5f0d0de28539ea8bc5bfb0f7383f39bb02ac00d51ba46897bba222db6215578e38fb939f541dae2569f431547caa51825dcdc6845e7e62f028b SHA512 b0a30d2d629d0f08dd2838be9dbe669c7f8f3d9f50ccfedc94c453a994cba9972440182e05d8e3b74b258e6e60cff53f6521e73a7ebdb34a45701a81d8b3f671
 DIST gimps-30.8.15.linux64.tar.gz 7211031 BLAKE2B 1d0291adb255099b9c8b44e2f650831755822ab850c2ebaa86dbe9728da619a4f9c22e3e5736a70ca3657818e2748caf32a23243347c048b9d57ecc8f7b3cf42 SHA512 6034dca7644bab85da3fdb194755a076778b37dfaa0a944ee5e64915e1196b61bd5f0a291a40118648c3a81faef3ac3026230709312d2de154260c3cf736a166
+DIST gimps-30.8.16.linux64.tar.gz 7211483 BLAKE2B 0d4b6f7c8e5eae2cf1dc64700b8274a4bbb024511fbcfb206474a889cb4bbe67c91b5be958593615b4089c37a51fd0b2e0026046edb3170986e86e126646245a SHA512 2a1c37ecffa24e5688002a3b5a8d0742b3d76d38b2e580d5e7a9684f02a8d6a8410dba2d54a825db531fed792e3c7207a32a23fd15048fb2cd93eabbb9e19b66

diff --git a/sci-mathematics/gimps/gimps-30.8.16.ebuild b/sci-mathematics/gimps/gimps-30.8.16.ebuild
new file mode 100644
index 000000000000..3470d5d20ebf
--- /dev/null
+++ b/sci-mathematics/gimps/gimps-30.8.16.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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="https://www.mersenne.org/ftp_root/gimps/p95v${MY_PV/./}.linux64.tar.gz -> ${P}.linux64.tar.gz"
+
+SLOT="0"
+LICENSE="GIMPS"
+RESTRICT="mirror bindist"
+KEYWORDS="-* ~amd64"
+
+# 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.4.1 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 undoc.txt whatsnew.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
+}


             reply	other threads:[~2022-09-07  9:07 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-07  9:07 Andrew Ammerlaan [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-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-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=1662541554.d3e34ef239b8251438d18a7f16e80bf09c3f199c.andrewammerlaan@gentoo \
    --to=andrewammerlaan@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