mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
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 <mjo@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user