From c9ee1464b52a901f0caa1ff81e33bc415331d82c Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 27 Sep 2026 12:22:37 -0400 Subject: [PATCH] sci-mathematics/pari: add 2.17.4, drop 2.17.2 Enable USE=gmp unconditionally and drop the flag. This improves performance, and ensures that libpari.so always refers to the same version (gmp vs. non-gmp) of the library. Everyone has dev-libs/gmp installed, so it is a waste of resources to compile, load, and use the slower fallback. Signed-off-by: Michael Orlitzky --- sci-mathematics/pari/Manifest | 2 +- .../pari/{pari-2.17.2.ebuild => pari-2.17.4.ebuild} | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename sci-mathematics/pari/{pari-2.17.2.ebuild => pari-2.17.4.ebuild} (97%) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 24ae44d8b4101..035180149c2ef 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,3 +1,3 @@ DIST pari-2.15.5.tar.gz 5186798 BLAKE2B b253c6d8ad38462e81852d7bb364d06a7cbaae7b085672653da8d9f91f0173cfdef8f537ebc7313b6484f610d43e10fb0547f5d920789b95c8d0027dd52e8312 SHA512 59b2ebed43176f1ee750146053644bffbf673b4b4810134bc39132665941152772afb7a9332b842fc64e5ab8d5747a872c1b8ff327d3bd5eedaa1591691fff13 DIST pari-2.17.1.tar.gz 5325234 BLAKE2B a5d20e5c69235ae815291bef377c195888dcac9e802583ea91e88a16c4eed5f178dcea447524fbcb5b7ea9ef12bbccc6d665eaee582e1e7782b54ba256c56a87 SHA512 77211fe7282558058f69c69889be3f23f7a173939ae8f24897b3df9715eef1bf0378916537eca2a54198b6d0c1860d386db250efafafe936437dc8c1e3cb0253 -DIST pari-2.17.2.tar.gz 5326642 BLAKE2B ccd1e0fa9ab0f7f41c1574b824d01376f6d9fff2a426c620d8f8b8ae6ed25aa9627be2be6cc9ccd93de626844fb4232229ec3bbaca2fc38678c90a5b863f019d SHA512 3b981771fe7673470f0684351518ea88b5f71255a39ea39d72ae972dfc816d12468d81956400ec6bac1c6e191086007e696f63a342bf2e63c4ea8a2879e3fa50 +DIST pari-2.17.4.tar.gz 5333669 BLAKE2B 174fac3480cec6e653dc8669a5887047930a92db9a919f1e71e26820bce54f9f9ee05538d5c310502d9310daa06901096962c8a4ca86115b7709a46960b5b0f8 SHA512 795539468cc1df93dca5f7c4b6bfb29fa4304ae4cf8a779e541684177b63980739b04cfe4f49aaa4b4aa5a268412a01d1432373d0bf7a6852784a36b56560315 diff --git a/sci-mathematics/pari/pari-2.17.2.ebuild b/sci-mathematics/pari/pari-2.17.4.ebuild similarity index 97% rename from sci-mathematics/pari/pari-2.17.2.ebuild rename to sci-mathematics/pari/pari-2.17.4.ebuild index c86f6d211a609..a1fe8e2e88b93 100644 --- a/sci-mathematics/pari/pari-2.17.2.ebuild +++ b/sci-mathematics/pari/pari-2.17.4.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=8 +EAPI=9 inherit flag-o-matic toolchain-funcs @@ -16,7 +16,7 @@ LICENSE="GPL-2+" # upstream's config/version script. SLOT="0/9" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="data doc examples fltk gmp test threads X" +IUSE="data doc examples fltk test threads X" REQUIRED_USE="fltk? ( !X )" # mutually exclusive plot implementations RESTRICT="!test? ( test )" @@ -25,11 +25,11 @@ BDEPEND=" doc? ( virtual/latex-base ) " DEPEND=" + dev-libs/gmp:0= 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}" @@ -88,9 +88,9 @@ src_configure() { --with-readline-lib="${EPREFIX}/usr/$(get_libdir)" \ --with-ncurses-lib="${EPREFIX}/usr/$(get_libdir)" \ --graphic=none \ + --with-gmp \ $(usex X --graphic=X11 "" "" "") \ $(usex fltk --graphic=fltk "" "" "") \ - $(use_with gmp) \ $(usex threads "--mt=pthread" "" "" "") \ || die "./Configure failed" }