diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
commit | 90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch) | |
tree | 83fc5facb6b12be510a37bc3d241cc63e965b13a /sci-mathematics/pari | |
parent | feb0daf81d888e9160f9f94502de09b66f2a63fd (diff) |
gentoo resync : 29.06.2020
Diffstat (limited to 'sci-mathematics/pari')
-rw-r--r-- | sci-mathematics/pari/Manifest | 4 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.11.2.ebuild | 111 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.11.4.ebuild | 8 |
3 files changed, 7 insertions, 116 deletions
diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index c25fd6b110f7..a1cd6144e538 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -4,8 +4,6 @@ AUX pari-2.11.2-no-automagic.patch 2626 BLAKE2B 3be495852655cf47cab2ebfc54447770 AUX pari-2.9.4-fltk-detection.patch 572 BLAKE2B 1c2e1fa6e52521c7865c3fd011824c83fa92623903dd1e056bda29c6735eb01013e7937f66d6ffff42d0de83f7ed104c7f933d232ee37be7c4351788e76f8daa SHA512 2ec0d8035a87b693ee6a4dfa913f0b24eed20bb4db7f8cd1a47db444310d33d19e6651d475c635be747e79a02df2705e42f6f7032b60dc763583cf9fa8633b29 AUX pari-2.9.4-ppc.patch 363 BLAKE2B 135e76972e4121362666a25e3da236c4a5b7cffa058bbc25b59ca19ea20ccb0665327f70701adca5239cb936d513976e3ba7b5cda915a3f77c7b2eb28e75eaa0 SHA512 aaf5960010e56722f11234079a20ee7a7f8819dc084e1f6567fd11ad2820e3ae47617608f312941c2f373b5312a8c09c9cd51bfa44e263ffe1e8062c9fd9877d AUX pari-2.9.4-strip.patch 323 BLAKE2B 85a2b56f5501b4dafc0bffe48249c1662d6f96e81f8e8260ad52ecf84f053efef2ee6d6be6a6fda47886c372eb338d8bbf4443910df79a0d4e168b2666228c37 SHA512 50624ead82da41819ccfadfbdb746fb6ff414196ae2576c5d6a86e83c67355740b0e6e901a2860cab202db15adb1b00e346aabba338ab303230bc6aee8d33076 -DIST pari-2.11.2.tar.gz 4433038 BLAKE2B 89fd8c14d6ee8c8640432bec75e10b79897f0180212dcb1b04b654478a3258fc13a7f982bcb400e28997934a21667c0c3cb08fdb2e843a80a24c6499feafb639 SHA512 22f5a6ecad6d9b8b337c2655f538a196a0460f6fe98256d0f49557ce7b843f6b27ad364f45a9472aaafee9506386c886f1f0d62697078e501ec465151d4d10a1 DIST pari-2.11.4.tar.gz 4445000 BLAKE2B e910783186eeb71e74a369681c113b77271abd7f87d7a9f366aea83f36ab984f02e312cd451fad7ee6efb2fa285780e8fa78540bb1fd4b135a62d265176c80e0 SHA512 1312f452244cd1d814a1e43e108378c956669b614845f21199b7039fe6462881168983d4badb8a80bb1bac202cd82d92788a2b4f3c23d16f993cae6e251c4fe1 -EBUILD pari-2.11.2.ebuild 3033 BLAKE2B 7e4fd3d274c34a89419ee157bfd798db51b3462444ec886ee9ac71164c30d8d1cbf59d91f78077e792fdc0e55c3ce7ff23c201df43c6ea14bb52dca97d321745 SHA512 72dc95fcf64d2ac470ec9bcb6f30c45b18394662f0f2ab481a43310c410bbedc32c71b0e7a773d859680135c4f9fee9221e5e73bfe58dc1f0094c2f22d03c349 -EBUILD pari-2.11.4.ebuild 3038 BLAKE2B c8933d1bff3611c0f4da34f31a43db38a2f0f32c6f6403e82b297c21018089496632c49080bbf7d3c46ce382c9ef4ed163ac82738ab1bce8714b070c70fa1957 SHA512 6e989812389955f0385c1635ae9e91c3879a973307a407ab2270962e0cb2db943551c2bedc2f15fbcb7bbb95005084a532a5d3d7fbdb36fc28cd78721f3232b3 +EBUILD pari-2.11.4.ebuild 3318 BLAKE2B 12d63e5caa4a9c23053bd5d86756dec39cc36b8a614efa123150edb0ed7ef411f71b521905f916ec814e3105b0e9b0d837a044a14086efeb04e2fd8e9b5f222c SHA512 e79121ab53c3bc7755907535a0bb8f62ee9734d8cce559bac9cbc309da9a4fff7a7e264ad77b2e4fdb3be52f8de582a7d3faf17c347841727e36e684f6aa2e86 MISC metadata.xml 1734 BLAKE2B ffb61a9e3818ed778cd30e0b41279413fec1e624aef0c490e71f501b9797703bbd24413b180b588896d6d74af988e6102f58a04fc1c645f2b876ac2731a399c1 SHA512 b5caa3c3b98405d89681fb25c97dabb3302e971c68fda94e337b10dfc14761963ea548b4689ccb4ac59661425a85a53ea0d424b6acb35a475f42ef145ce9060e diff --git a/sci-mathematics/pari/pari-2.11.2.ebuild b/sci-mathematics/pari/pari-2.11.2.ebuild deleted file mode 100644 index 3d42e03c1983..000000000000 --- a/sci-mathematics/pari/pari-2.11.2.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Computer-aided number theory C library and tools" -HOMEPAGE="http://pari.math.u-bordeaux.fr/" -SRC_URI="http://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/6" -KEYWORDS="~alpha amd64 ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" -IUSE="data doc fltk gmp test threads X" -RESTRICT="!test? ( test )" - -BDEPEND="doc? ( virtual/latex-base )" -DEPEND=" - sys-libs/readline:0= - data? ( sci-mathematics/pari-data ) - doc? ( X? ( x11-misc/xdg-utils ) ) - fltk? ( x11-libs/fltk:1= ) - gmp? ( dev-libs/gmp:0= ) - X? ( x11-libs/libX11:0= )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}"-2.9.4-strip.patch - "${FILESDIR}/${PN}"-2.9.4-ppc.patch - "${FILESDIR}/${PN}"-2.11.2-no-automagic.patch - "${FILESDIR}/${PN}"-2.9.4-fltk-detection.patch - "${FILESDIR}/${PN}"-2.11.2-Makefile-LDFLAGS.patch - "${FILESDIR}/${PN}"-2.11.2-Makefile-docinstall.patch - ) - -src_prepare() { - default - - # move doc dir to a gentoo doc dir and replace acroread by xdg-open - sed -i \ - -e "s:\$d = \$0:\$d = '${EPREFIX}/usr/share/doc/${PF}':" \ - -e 's:"acroread":"xdg-open":' \ - doc/gphelp.in || die "Failed to fix doc dir" -} - -src_configure() { - tc-export CC CXX - - # Workaraound to "asm operand has impossible constraints" as - # suggested in bug #499996. - use x86 && append-cflags $(test-flags-CC -fno-stack-check) - - # need to force optimization here, as it breaks without - if is-flag -O0; then - replace-flags -O0 -O2 - elif ! is-flag -O?; then - append-flags -O2 - fi - - # sysdatadir installs a pari.cfg stuff which is informative only. - # It is supposed to be for "architecture-dependent" data. - # It needs to be easily discoverable for downstream packages such as gp2c. - ./Configure \ - --prefix="${EPREFIX}"/usr \ - --datadir="${EPREFIX}/usr/share/${PN}" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --sysdatadir="${EPREFIX}"/usr/share/pari \ - --mandir="${EPREFIX}"/usr/share/man/man1 \ - --with-readline="${EPREFIX}"/usr \ - --with-readline-lib="${EPREFIX}/usr/$(get_libdir)" \ - --with-ncurses-lib="${EPREFIX}/usr/$(get_libdir)" \ - $(use_with fltk) \ - $(use_with gmp) \ - --without-qt \ - $(usex threads "--mt=pthread" "" "" "") \ - || die "./Configure failed" -} - -src_compile() { - local mymake="" - use hppa && \ - mymake=DLLD\="${EPREFIX}"/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm - - emake ${mymake} gp - - if use doc; then - # To prevent sandbox violations by metafont - VARTEXFONTS="${T}/fonts" emake docpdf - fi -} - -src_test() { - # Welcome to the jungle, where the tests fail if you make your - # terminal bigger. - emake COLUMNS=80 test-all -} - -src_install() { - DOCS=( AUTHORS CHANGES* COMPAT NEW README* ) - default - - if use doc; then - docompress -x "/usr/share/doc/${PF}" - emake \ - DESTDIR="${D}" \ - EXDIR="${ED}/usr/share/doc/${PF}/examples" \ - DOCDIR="${ED}/usr/share/doc/${PF}" \ - install-doc - fi -} diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild index 564ed9639a71..83c80f0b2269 100644 --- a/sci-mathematics/pari/pari-2.11.4.ebuild +++ b/sci-mathematics/pari/pari-2.11.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz" LICENSE="GPL-2" SLOT="0/6" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )" @@ -61,7 +61,11 @@ src_configure() { # sysdatadir installs a pari.cfg stuff which is informative only. # It is supposed to be for "architecture-dependent" data. # It needs to be easily discoverable for downstream packages such as gp2c. - ./Configure \ + # We set LD to "" so that it is set to the value of the compiler used + # which is how a normal end user is expected to configure it. pari's build + # system do not cope very well with a naked linker, it is expecting a + # compiler driver. See https://bugs.gentoo.org/722090 + LD="" ./Configure \ --prefix="${EPREFIX}"/usr \ --datadir="${EPREFIX}/usr/share/${PN}" \ --libdir="${EPREFIX}/usr/$(get_libdir)" \ |