From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D237613835A for ; Fri, 19 Mar 2021 07:35:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6EBFEE08BF; Fri, 19 Mar 2021 07:35:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4302BE08A8 for ; Fri, 19 Mar 2021 07:35:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B097B335D8B for ; Fri, 19 Mar 2021 07:35:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 422835C5 for ; Fri, 19 Mar 2021 07:35:20 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1616139019.58dfb334493d49ae4e5f007a4a05180ef229e76c.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gimps/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/gimps/Manifest sci-mathematics/gimps/gimps-30.5.1.ebuild X-VCS-Directories: sci-mathematics/gimps/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 58dfb334493d49ae4e5f007a4a05180ef229e76c X-VCS-Branch: master Date: Fri, 19 Mar 2021 07:35:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 01be0024-53e2-4c2e-b841-f58d99bcc7b1 X-Archives-Hash: 41d969839b18441d1d79a62471991479 commit: 58dfb334493d49ae4e5f007a4a05180ef229e76c Author: PPed72 iol it> AuthorDate: Wed Mar 17 13:53:28 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Mar 19 07:30:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58dfb334 sci-mathematics/gimps: Version bump to 30.5 build 1 Closes: https://bugs.gentoo.org/776931 Signed-off-by: Paolo Pedroni iol.it> Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Joonas Niilola gentoo.org> sci-mathematics/gimps/Manifest | 2 + sci-mathematics/gimps/gimps-30.5.1.ebuild | 74 +++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/sci-mathematics/gimps/Manifest b/sci-mathematics/gimps/Manifest index 97016a09ec1..91fb4514acd 100644 --- a/sci-mathematics/gimps/Manifest +++ b/sci-mathematics/gimps/Manifest @@ -1,3 +1,5 @@ DIST p95v303b6.linux32.tar.gz 5702312 BLAKE2B 728c8b8e7e2b5187dc8126bccc5e2c165fbfbc0900d6c35517cd21b78e5292df143641e3766cc0146918062039b1eecab568f9b278f64b1b9197ee2f775603b9 SHA512 3e06fb77be07334949ece3ae152bdf5491f0b7f8e33e0e8ed2af3c34332841975a9514d1993ed2355abfa4e09f93e42093d02f96dc30c3471ae9f974cc2de11a DIST p95v303b6.linux64.tar.gz 7046127 BLAKE2B 9cde9c2670203071cfc463434a47c8123064cb232bfeb25d8767cad2c25ea75b395e2ec135b7b4a6dc9616e9d6b05ead371e1083274a82468f62a0e1de93c98f SHA512 6d6ded9a1724993d42adee28d400b0337835c52a4ce42271e62efb37134adfc6f017f55475860fbc1224e377a227ef8547b8852a35c082c37e996f4a1c1b570c DIST p95v304b9.linux64.tar.gz 7163658 BLAKE2B 3958437d31e39bc18248deeed29aa425ab7fd23c963b7eb9cc00524dbf272acbfb96b03d7ed83547501b7e8b7795b9e0e4d413e9a311b014c2202c328ea12a23 SHA512 f9517088af31ffb5f0ee931ba0027fbddfa5598f72de39aae78cbdb43368ca605444e31c9ef297d08ae85d7a8540dd25eb26015f288c3777e36fa9c04eb179e2 +DIST p95v305b1.linux32.tar.gz 5695975 BLAKE2B d2ab3724cf8743292533a7cb5c73b2fc6743c6e11507f92218b6b65f39e78c2f61147a6898d0a77fef590a0c989aa6f17d1984a6e4801594fbe4c3a7484d1750 SHA512 74e2592c1f3c4bb45cc076e35cd70d5c295d613ab142feb1c18138ea8816c21c56f5531c4938c49706bbb66f30ad84c5dd2f76f2184e1a1ea0de7423e941df52 +DIST p95v305b1.linux64.tar.gz 7166108 BLAKE2B 60880e36ed618ad94aacd0f89811b72137fd27e99dff33b02286ea0f4778bce320c9b8da7b470fa491ea2e333f03d9d2994c2ea1513289acfc2f5b63695509fd SHA512 c38416b83850104d8d78191a4591fbef1bd356f8804725ccfdd7ebe065bc05ed86c09a128ac7824f809242712d60a1eb7ecb200358c1cde37fc4b7c13b82006f diff --git a/sci-mathematics/gimps/gimps-30.5.1.ebuild b/sci-mathematics/gimps/gimps-30.5.1.ebuild new file mode 100644 index 00000000000..7a7160c336a --- /dev/null +++ b/sci-mathematics/gimps/gimps-30.5.1.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 +}