diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
commit | 2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch) | |
tree | 8c816148bcbd22757d892089c989ae614eae4f5a /dev-perl/Math-Pari | |
parent | 0f558761aa2dee1017b4751e4017205e015a9560 (diff) |
gentoo resync : 09.07.2022
Diffstat (limited to 'dev-perl/Math-Pari')
-rw-r--r-- | dev-perl/Math-Pari/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/Math-Pari/Math-Pari-2.10.809.0-r2.ebuild (renamed from dev-perl/Math-Pari/Math-Pari-2.10.809.0-r1.ebuild) | 31 |
2 files changed, 21 insertions, 12 deletions
diff --git a/dev-perl/Math-Pari/Manifest b/dev-perl/Math-Pari/Manifest index 2264c751c098..8ea0355c13f3 100644 --- a/dev-perl/Math-Pari/Manifest +++ b/dev-perl/Math-Pari/Manifest @@ -3,5 +3,5 @@ AUX no-flto.patch 2946 BLAKE2B 69bcf98f178b22a333664de6c46d0b69b3f531e9b188b1268 AUX pari-2.3.5-no-dot-inc.patch 1594 BLAKE2B 5757108b0f94cfc94e9f386507120f8a1b9d3ba21a7515ac181561934c1b189d556b9c3f7aff19d17962a57f72571097195071e291f626da3a85d57772c8bd9e SHA512 4f3e7757c5fa564ea05b843e74118086fb22d8602bf29964aa3be886263941434bc1b7121805c5efafb64c208c2fe181da4831c6d662bda8d1a04cd5d9704605 DIST Math-Pari-2.01080900.zip 166396 BLAKE2B e4327d817cadc752e3471df873b1a4f2fe90efc18a9cbf195c6aa394f470fde9c1c32449b8e5237b5ee362ca0497e7295dc9c8dea7f41de8da17518a0573a768 SHA512 844324472632081e16d8c70e2f3b14a04cc125dc65ac1e4e75b495f7b83393cadc637c6b81d2e6657380b153a6d91eba4a437087481ffbd4c6c58c5da0e4d05b DIST pari-2.3.5.tar.gz 2018097 BLAKE2B b5f4f8bc83cd77aceab791263e1a2f0294d0663d354fea454bad8cac3cdbac9c4c8381cc83bc947d518522701c36e94ce1d6862125a9bfd3b17b1a31c9baabc8 SHA512 0e49e6310b4c76ef3370786a13aa8cbc5bb0b7dc84ec1665866d623e6284f45db8584eea759e8b5954dc9b5c8a3e866e77a377d18073ed33f11708a7e88a4cca -EBUILD Math-Pari-2.10.809.0-r1.ebuild 1944 BLAKE2B d5147cad73f4511be60a7d4af087d52b18826f4430a0bdcb51c11f3088a1c42927e22467bbaeca1f6676c2f5ad258d48eac5b5aa9007a91e2024026356097018 SHA512 6e89f396f383fc9851458ffb41db19a9afbdc0f4c3f0be0bfcf79b81b9f86d39e50a5b4cae34015f64471f7ed4c7ac2ca4b35dec254ab9da3c19cf4c5f9e6851 +EBUILD Math-Pari-2.10.809.0-r2.ebuild 2034 BLAKE2B bf61d0f116b343836c2a3ee2ce43ec8393b417f13a1f1ee00959aa11bc30da723d89b48f5a6add3fb15c4cdb8ba6e53930553852a84a5c2eb0e41f992e5e14c5 SHA512 c539572011dd51a2d589709920359213a2f5377cb459696b8242131a986a5b02c5f023da31b2c89d0fdd54558f358fc702a864eee077191a195d4fdbc675461d MISC metadata.xml 515 BLAKE2B 00b8ca0331c628e10ba3d3466fe051fd4d442d4b315f0354c76992bf6e852d1bf1455ace279784d9e561fa7b0efd3c6b88133c3fc0412eab01600b27e185f8b6 SHA512 a6e66324cb0fa0b1ebceb39a72ce40e8c5175479910bd9312bae662c23fcab6183bbc0e6ea7fcf169593415016f07f8ab7ab93de010c626b2b1ad3ce5b0b362a diff --git a/dev-perl/Math-Pari/Math-Pari-2.10.809.0-r1.ebuild b/dev-perl/Math-Pari/Math-Pari-2.10.809.0-r2.ebuild index d6326b4f7a30..242366699ec2 100644 --- a/dev-perl/Math-Pari/Math-Pari-2.10.809.0-r1.ebuild +++ b/dev-perl/Math-Pari/Math-Pari-2.10.809.0-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 DIST_AUTHOR=ILYAZ DIST_SECTION=modules @@ -14,39 +14,48 @@ PARI_VER=2.3.5 DESCRIPTION="Perl interface to PARI" SRC_URI="${SRC_URI} http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-${PARI_VER}.tar.gz" +S_PARI="${WORKDIR}"/pari-${PARI_VER} SLOT="0" KEYWORDS="~alpha amd64 ~hppa sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" -IUSE="" # Math::Pari requires that a copy of the pari source in a parallel # directory to where you build it. It does not need to compile it, but # it does need to be the same version as is installed, hence the hard # DEPEND below -DEPEND="app-arch/unzip" - -S_PARI=${WORKDIR}/pari-${PARI_VER} +BDEPEND="app-arch/unzip" PATCHES=( "${FILESDIR}/no-flto.patch" "${FILESDIR}/${P}-no-dot-inc.patch" ) + src_prepare() { # On 64-bit hardware, these files are needed in both the 64/ and 32/ # directories for the testsuite to pass. - cd "${S_PARI}"/src/test/ + cd "${S_PARI}"/src/test/ || die + + local t for t in analyz compat ellglobalred elliptic galois graph intnum kernel \ linear nfields number objets ploth polyser program qfbsolve rfrac \ round4 stark sumiter trans ; do i="in/${t}" o32="32/${t}" o64="64/${t}" - [ -f "$i" -a ! -f "$o32" ] && cp -al "$i" "$o32" - [ -f "$i" -a ! -f "$o64" ] && cp -al "$i" "$o64" + + if [[ -f "${i}" && ! -f "${o32}" ]] ; then + cp -al "${i}" "${o32}" || die + fi + + if [[ -f "$i" && ! -f "$o64" ]] ; then + cp -al "${i}" "${o64}" || die + fi done - cd "${S_PARI}" + + cd "${S_PARI}" || die eapply "${FILESDIR}/pari-${PARI_VER}-no-dot-inc.patch" - cd "${S}" + cd "${S}" || die + perl-module_src_prepare } |