sci-mathematics/gimps: Version bump to 30.19.20

Closes: https://bugs.gentoo.org/934965
Signed-off-by: Paolo Pedroni <paolo.pedroni@iol.it>
Closes: https://github.com/gentoo/gentoo/pull/37308
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Paolo Pedroni
2024-06-26 12:03:14 +02:00
committed by Joonas Niilola
parent a85631da42
commit 5880a9fa35
2 changed files with 75 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
DIST gimps-30.19.14.linux32.tar.gz 4695497 BLAKE2B 41067b8ed04d9d8aa00c3ac54ab70089acd4900eed16c9217f81d488438e731ae4c27dd87c462efbef8950e79d9268a74273d68e333df9c64bb166ad1b52b72d SHA512 78c2074225d63b1139601f0b352cc6ab77b840ffaf23385d5e0ded76f4b19cdd422d41dc931799ceb13e592a83cd2032c01e1950d41e81a76802ecf2de4b321c
DIST gimps-30.19.14.linux64.tar.gz 5912298 BLAKE2B 75f0c0cdd02a8d3ddc83cad8cabc48ed5b33fcdf5e94606cfde500da47848cdb3e49e227a5386d62b8b76ac4461ed96c4c315e38ba614cfe1a9d3c0ee59bca29 SHA512 87995b17d6721a4f17b3770531a8361fccc5a073dc11bd922420d387bfff1cc9b5675f9ce6cd4b9efa0f210c962c879339203b0149b49f7e04f590102c73a547
DIST gimps-30.19.20.linux32.tar.gz 4697820 BLAKE2B bd00aba43e69a8b72e0841849a52f5aa31c4b0640991a141ce73009ba40f6348dbfdfc2b20a5000b070b40988ca27d1de0a633c1986aad8715f086cb0e3b3e04 SHA512 9ce532a4411895fa3c8e3451f3ff180699954ff7e39715d26a7fdb3cbb1c8d227fa949e62351580c664e81fd365580a82d2f3f96e45a90bd975248306aa214ec
DIST gimps-30.19.20.linux64.tar.gz 5912959 BLAKE2B 52bcc27d34bff75aca89208ede35668183e1707d80ecf3704e0478c91913f10c717973976f95eae7a9caedd0efb2643039dfdb84790b715955772dc6d2ad4b6d SHA512 535d1057d39e71b0ec3d8cff8b0d60b8379219c5483e0bd5229558696f7a60790f0478d584e5141169a63956078c1f8209abde35119bbc777149fdbec118bd7f
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.17.linux64.tar.gz 7222132 BLAKE2B 14e0e75fbb4784fdfe27e29535eb162071f04d63456f09bb98beb2a03af2b7d9eeac8357dc8d53e9591f9035351bedde40825b7eb8f6d85035e87b317a7aa50b SHA512 988c7a387b4d39af55bd04793bdc1c64acf67b13ab905bcc19fbd17575a7ef65d3a33ac06c2290f0457a6ebe4bf92451b43bc47d0b6d913bb03eb5f67ab823d1

View File

@@ -0,0 +1,73 @@
# Copyright 1999-2024 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="
amd64? ( https://www.mersenne.org/download/software/v$(ver_cut 1)/$(ver_cut 1-2)/p95v${MY_PV/./}.linux64.tar.gz -> ${P}.linux64.tar.gz )
x86? ( https://www.mersenne.org/download/software/v$(ver_cut 1)/$(ver_cut 1-2)/p95v${MY_PV/./}.linux32.tar.gz -> ${P}.linux32.tar.gz )
"
S="${WORKDIR}"
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.4.1 is bundled within the .tar.gz, but we use the system one.
RDEPEND="net-misc/curl
>=dev-libs/gmp-6.1.2"
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
}