[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: af573170eb7607085446887877552fd5de0f76d9 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Mar 12 16:06:44 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Mar 12 18:39:57 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af573170 sci-mathematics/pari: add 2.15.5 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 + sci-mathematics/pari/pari-2.15.5.ebuild | 137 2 files changed, 138 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index c96e983220ff..ec03f2e00668 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1 +1,2 @@ DIST pari-2.15.4.tar.gz 5183685 BLAKE2B 2e20b6dc073ce69bc098dd849e6ab43cb38b05d30ff5f72a31272cd24ef01aa515d4e2a4948264ca89169a6980cd9d76f86c7fbb9aad5be604680569950d9c25 SHA512 2b9f0c1fe7198406df8e6ceb3fcdc8bfb75f5c7ebfb963f023a1eebfff0bcc26e3b690941e188d6b9f8dfb6cddf4ce4c00f2cc320ebe47d42ae7596c774ed6cc +DIST pari-2.15.5.tar.gz 5186798 BLAKE2B b253c6d8ad38462e81852d7bb364d06a7cbaae7b085672653da8d9f91f0173cfdef8f537ebc7313b6484f610d43e10fb0547f5d920789b95c8d0027dd52e8312 SHA512 59b2ebed43176f1ee750146053644bffbf673b4b4810134bc39132665941152772afb7a9332b842fc64e5ab8d5747a872c1b8ff327d3bd5eedaa1591691fff13 diff --git a/sci-mathematics/pari/pari-2.15.5.ebuild b/sci-mathematics/pari/pari-2.15.5.ebuild new file mode 100644 index ..6c8fe6f9b29e --- /dev/null +++ b/sci-mathematics/pari/pari-2.15.5.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Computer-aided number theory C library and tools" +HOMEPAGE="https://pari.math.u-bordeaux.fr/; +SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; + +# Their LICENSE file says "or (at your option) any later version" +LICENSE="GPL-2+" + +# The subslot is the value of $soname_num obtained from +# upstream's config/version script. +SLOT="0/8" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="data doc examples fltk gmp test threads X" +REQUIRED_USE="fltk? ( !X )" # mutually exclusive plot implementations +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + 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}" + +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" + + # These tests fail when LaTeX is not installed (which we don't + # require without USE=doc), most likely due to output formatting + # issues but I haven't deleted my LaTeX installation to check. + # There's no real upstream support for enabling/disabling the LaTeX + # docs, so this is probably the correctest way to skip these tests. + if ! use doc; then + rm src/test/{in,32}/help || die + fi +} + +src_configure() { + tc-export CC CXX PKG_CONFIG + + # Workaraound to "asm operand has impossible constraints" as + # suggested in bug #46. + use x86 && append-cflags $(test-flags-CC -fno-stack-check) + + # 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. + # We set LD="" and DLLD="$CC" so that the "shared library linker" + # always gets set to the value of the compiler used. Pari's build + # system does not cope very well with a naked linker, it is + # expecting a compiler driver. See bugs 722090 and 871117. + # DLLDFLAGS, on the other hand, is used exactly like LDFLAGS would + # be in a less-weird build system. + # + # There's a lot of automagic involved in the graphics detection. We + # first pass --graphic=none, which disables some of it. We then pass + # --graphic=fltk (or --graphic=X11) only if USE=fltk (or USE=X) is + # set. This is a stronger hint to the build system than --with-fltk + # would be, and importantly does not rely on the corresponding but + # nonexistent(!) option option for X11. + LD="" DLLD="$(tc-getCC)" DLLDFLAGS="${LDFLAGS}" ./Configure \ + --prefix="${EPREFIX}"/usr \ + --datadir="${EPREFIX}/usr/share/${PN}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ +
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 35e42942dff20237db71cbf4fd48a79035cd5339 Author: Michael Orlitzky gentoo org> AuthorDate: Wed Nov 22 22:05:11 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed Nov 22 22:05:11 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35e42942 sci-mathematics/pari: update LICENSE Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/pari-2.15.4-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.15.4-r1.ebuild b/sci-mathematics/pari/pari-2.15.4-r1.ebuild index 871eb91d5283..07ec717b7ad5 100644 --- a/sci-mathematics/pari/pari-2.15.4-r1.ebuild +++ b/sci-mathematics/pari/pari-2.15.4-r1.ebuild @@ -9,7 +9,8 @@ DESCRIPTION="Computer-aided number theory C library and tools" HOMEPAGE="https://pari.math.u-bordeaux.fr/; SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; -LICENSE="GPL-2" +# Their LICENSE file says "or (at your option) any later version" +LICENSE="GPL-2+" # The subslot is the value of $soname_num obtained from # upstream's config/version script.
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/, sci-mathematics/pari/files/
commit: d9fcca476e20004701ce379b18ae9cfdfbf220af Author: Michael Orlitzky gentoo org> AuthorDate: Tue Oct 31 12:46:47 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Oct 31 12:56:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9fcca47 sci-mathematics/pari: drop 2.15.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 - sci-mathematics/pari/files/pari-2.9.4-ppc.patch | 9 -- sci-mathematics/pari/pari-2.15.3.ebuild | 133 3 files changed, 143 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index ca590e9f02fe..c96e983220ff 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,2 +1 @@ -DIST pari-2.15.3.tar.gz 5178288 BLAKE2B d9cc11526360e9fc7688e0a3195a85302d6bf95039051c9419aa18c5bf91eff837d64d9acabb0a51a6e15a3614a5cab4acbf0a502dba5417982514f27721d47d SHA512 9e127850759bac0c0a9b32c6660a55018ec6c6781aaa14c42667f26655444f55c08e100fe186aec8ad1f574d883d76888b13fbafb65d1f4741e2018b78ff307b DIST pari-2.15.4.tar.gz 5183685 BLAKE2B 2e20b6dc073ce69bc098dd849e6ab43cb38b05d30ff5f72a31272cd24ef01aa515d4e2a4948264ca89169a6980cd9d76f86c7fbb9aad5be604680569950d9c25 SHA512 2b9f0c1fe7198406df8e6ceb3fcdc8bfb75f5c7ebfb963f023a1eebfff0bcc26e3b690941e188d6b9f8dfb6cddf4ce4c00f2cc320ebe47d42ae7596c774ed6cc diff --git a/sci-mathematics/pari/files/pari-2.9.4-ppc.patch b/sci-mathematics/pari/files/pari-2.9.4-ppc.patch deleted file mode 100644 index 558f7eb9eda4.. --- a/sci-mathematics/pari/files/pari-2.9.4-ppc.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -r -U2 pari-2.9.4.orig/config/arch-osname pari-2.9.4/config/arch-osname pari-2.9.4.orig/config/arch-osname 2011-09-23 03:02:11.0 +0700 -+++ pari-2.9.4/config/arch-osname 2018-01-13 16:22:39.623382825 +0700 -@@ -40,4 +40,5 @@ - linux)arch=`uname -m` - case $arch in -+ ppc) arch=powerpc;; - sparc64) arch=sparcv9;; - parisc*) arch=hppa;; diff --git a/sci-mathematics/pari/pari-2.15.3.ebuild b/sci-mathematics/pari/pari-2.15.3.ebuild deleted file mode 100644 index 2c285bc6c7ab.. --- a/sci-mathematics/pari/pari-2.15.3.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Computer-aided number theory C library and tools" -HOMEPAGE="https://pari.math.u-bordeaux.fr/; -SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; - -LICENSE="GPL-2" - -# The subslot is the value of $soname_num obtained from -# upstream's config/version script. -SLOT="0/8" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="data doc examples fltk gmp test threads X" -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig - 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-ppc.patch - "${FILESDIR}/${PN}"-2.9.4-fltk-detection.patch - "${FILESDIR}/${PN}"-2.11.2-no-automagic.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" - - # These tests fail when LaTeX is not installed (which we don't - # require without USE=doc), most likely due to output formatting - # issues but I haven't deleted my LaTeX installation to check. - # There's no real upstream support for enabling/disabling the LaTeX - # docs, so this is probably the correctest way to skip these tests. - if ! use doc; then - rm src/test/{in,32}/help || die - fi -} - -src_configure() { - tc-export CC CXX PKG_CONFIG - - # Workaraound to "asm operand has impossible constraints" as - # suggested in bug #46. - use x86 && append-cflags $(test-flags-CC -fno-stack-check) - - # 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. - # We set LD="" and DLLD="$CC" so that the "shared library linker" - # always gets set to the value of the compiler used. Pari's build - # system does not cope very well with a naked linker, it is - # expecting a compiler driver. See bugs 722090 and 871117. - # DLLDFLAGS,
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: d3790650f8cdd29370f436cd035fcbfbb7f0f946 Author: Sam James gentoo org> AuthorDate: Tue Oct 31 06:05:25 2023 + Commit: Sam James gentoo org> CommitDate: Tue Oct 31 06:05:25 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3790650 sci-mathematics/pari: Stabilize 2.15.4-r1 ppc64, #916560 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.15.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.15.4-r1.ebuild b/sci-mathematics/pari/pari-2.15.4-r1.ebuild index 65b70e05adb2..871eb91d5283 100644 --- a/sci-mathematics/pari/pari-2.15.4-r1.ebuild +++ b/sci-mathematics/pari/pari-2.15.4-r1.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/8" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="data doc examples fltk gmp test threads X" REQUIRED_USE="fltk? ( !X )" # mutually exclusive plot implementations RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: d743fa959d0d5002268241925ec7437a90a89456 Author: Sam James gentoo org> AuthorDate: Tue Oct 31 02:35:07 2023 + Commit: Sam James gentoo org> CommitDate: Tue Oct 31 02:35:07 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d743fa95 sci-mathematics/pari: Stabilize 2.15.4-r1 amd64, #916560 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.15.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.15.4-r1.ebuild b/sci-mathematics/pari/pari-2.15.4-r1.ebuild index f7363f67f698..65b70e05adb2 100644 --- a/sci-mathematics/pari/pari-2.15.4-r1.ebuild +++ b/sci-mathematics/pari/pari-2.15.4-r1.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/8" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="data doc examples fltk gmp test threads X" REQUIRED_USE="fltk? ( !X )" # mutually exclusive plot implementations RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: ff400d7539fc97a478f50776d449e922ec1e3ea7 Author: Michael Orlitzky gentoo org> AuthorDate: Wed Aug 2 02:21:46 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed Aug 2 10:38:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff400d75 sci-mathematics/pari: new revision to fix USE=X handling Pari's build system is interesting, and choosing a graphics library (for use in plotting) is... not straightforward. We have two patches that affect it, and still nobody has noticed in all this time that USE=X does precisely nothing at all. I've just sent one of those patches, for building against fltk, upstream. To avoid having to reroll the other patch and add an X11 case to it, this revision switches from using e.g. the "--with-fltk" flag to using "--graphic=fltk" instead. This turns out to be a stronger hint to the build system, and more imporantly supports both none/X11 as options, unlike --with-foo. Hopefully it allows us to go patch-free with the next release of pari. Signed-off-by: Michael Orlitzky gentoo.org> .../pari/{pari-2.15.4.ebuild => pari-2.15.4-r1.ebuild} | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/pari/pari-2.15.4.ebuild b/sci-mathematics/pari/pari-2.15.4-r1.ebuild similarity index 84% rename from sci-mathematics/pari/pari-2.15.4.ebuild rename to sci-mathematics/pari/pari-2.15.4-r1.ebuild index 4869bbe3d995..f7363f67f698 100644 --- a/sci-mathematics/pari/pari-2.15.4.ebuild +++ b/sci-mathematics/pari/pari-2.15.4-r1.ebuild @@ -16,6 +16,7 @@ LICENSE="GPL-2" SLOT="0/8" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="data doc examples fltk gmp test threads X" +REQUIRED_USE="fltk? ( !X )" # mutually exclusive plot implementations RESTRICT="!test? ( test )" BDEPEND=" @@ -31,6 +32,9 @@ DEPEND=" X? ( x11-libs/libX11:0= )" RDEPEND="${DEPEND}" +# Both of these should be obsolete in the next version. I've sent the +# fltk CXXFLAGS bit upstream, and using --graphic= hopefully works +# around the automagic parts. PATCHES=( "${FILESDIR}/${PN}"-2.9.4-fltk-detection.patch "${FILESDIR}/${PN}"-2.11.2-no-automagic.patch @@ -71,6 +75,13 @@ src_configure() { # expecting a compiler driver. See bugs 722090 and 871117. # DLLDFLAGS, on the other hand, is used exactly like LDFLAGS would # be in a less-weird build system. + # + # There's a lot of automagic involved in the graphics detection. We + # first pass --graphic=none, which disables some of it. We then pass + # --graphic=fltk (or --graphic=X11) only if USE=fltk (or USE=X) is + # set. This is a stronger hint to the build system than --with-fltk + # would be, and importantly does not rely on the corresponding but + # nonexistent(!) option option for X11. LD="" DLLD="$(tc-getCC)" DLLDFLAGS="${LDFLAGS}" ./Configure \ --prefix="${EPREFIX}"/usr \ --datadir="${EPREFIX}/usr/share/${PN}" \ @@ -80,9 +91,10 @@ src_configure() { --with-readline="${EPREFIX}"/usr \ --with-readline-lib="${EPREFIX}/usr/$(get_libdir)" \ --with-ncurses-lib="${EPREFIX}/usr/$(get_libdir)" \ - $(use_with fltk) \ + --graphic=none \ + $(usex X --graphic=X11 "" "" "") \ + $(usex fltk --graphic=fltk "" "" "") \ $(use_with gmp) \ - --without-qt \ $(usex threads "--mt=pthread" "" "" "") \ || die "./Configure failed" }
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 982b872bba85553067ed601aaf8f553994811801 Author: Michael Orlitzky gentoo org> AuthorDate: Thu Jul 27 03:09:16 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Jul 27 03:36:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=982b872b sci-mathematics/pari: add 2.15.4 I've dropped pari-2.9.4-ppc.patch from this version to see if it's still necessary, and to report the problem upstream if so. Closes: https://bugs.gentoo.org/891887 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 + sci-mathematics/pari/pari-2.15.4.ebuild | 132 2 files changed, 133 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 1fbe614ae199..ca590e9f02fe 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1 +1,2 @@ DIST pari-2.15.3.tar.gz 5178288 BLAKE2B d9cc11526360e9fc7688e0a3195a85302d6bf95039051c9419aa18c5bf91eff837d64d9acabb0a51a6e15a3614a5cab4acbf0a502dba5417982514f27721d47d SHA512 9e127850759bac0c0a9b32c6660a55018ec6c6781aaa14c42667f26655444f55c08e100fe186aec8ad1f574d883d76888b13fbafb65d1f4741e2018b78ff307b +DIST pari-2.15.4.tar.gz 5183685 BLAKE2B 2e20b6dc073ce69bc098dd849e6ab43cb38b05d30ff5f72a31272cd24ef01aa515d4e2a4948264ca89169a6980cd9d76f86c7fbb9aad5be604680569950d9c25 SHA512 2b9f0c1fe7198406df8e6ceb3fcdc8bfb75f5c7ebfb963f023a1eebfff0bcc26e3b690941e188d6b9f8dfb6cddf4ce4c00f2cc320ebe47d42ae7596c774ed6cc diff --git a/sci-mathematics/pari/pari-2.15.4.ebuild b/sci-mathematics/pari/pari-2.15.4.ebuild new file mode 100644 index ..4869bbe3d995 --- /dev/null +++ b/sci-mathematics/pari/pari-2.15.4.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Computer-aided number theory C library and tools" +HOMEPAGE="https://pari.math.u-bordeaux.fr/; +SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; + +LICENSE="GPL-2" + +# The subslot is the value of $soname_num obtained from +# upstream's config/version script. +SLOT="0/8" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="data doc examples fltk gmp test threads X" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + 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-fltk-detection.patch + "${FILESDIR}/${PN}"-2.11.2-no-automagic.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" + + # These tests fail when LaTeX is not installed (which we don't + # require without USE=doc), most likely due to output formatting + # issues but I haven't deleted my LaTeX installation to check. + # There's no real upstream support for enabling/disabling the LaTeX + # docs, so this is probably the correctest way to skip these tests. + if ! use doc; then + rm src/test/{in,32}/help || die + fi +} + +src_configure() { + tc-export CC CXX PKG_CONFIG + + # Workaraound to "asm operand has impossible constraints" as + # suggested in bug #46. + use x86 && append-cflags $(test-flags-CC -fno-stack-check) + + # 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. + # We set LD="" and DLLD="$CC" so that the "shared library linker" + # always gets set to the value of the compiler used. Pari's build + # system does not cope very well with a naked linker, it is + # expecting a compiler driver. See bugs 722090 and 871117. + # DLLDFLAGS, on the other hand, is used exactly like LDFLAGS would + # be in a less-weird build system. + LD="" DLLD="$(tc-getCC)" DLLDFLAGS="${LDFLAGS}" ./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)" \ +
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/files/, sci-mathematics/pari/
commit: 24b01797050f1b95bd296188a5c68313f1501698 Author: Michael Orlitzky gentoo org> AuthorDate: Mon Jun 5 12:10:21 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Jun 5 12:26:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24b01797 sci-mathematics/pari: drop 2.13.4-r1 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 - .../pari/files/pari-2.11.2-Makefile-LDFLAGS.patch | 13 --- .../files/pari-2.11.2-Makefile-docinstall.patch| 25 sci-mathematics/pari/files/pari-2.9.4-strip.patch | 10 -- sci-mathematics/pari/pari-2.13.4-r1.ebuild | 126 - 5 files changed, 175 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 787883758f30..1fbe614ae199 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,2 +1 @@ -DIST pari-2.13.4.tar.gz 4772735 BLAKE2B 5a3eebd380f1e47f38746b03ddde9a715ed74e7e8e4ed30ef8f2d62cf7289694b800fc8396557150ce9d79245c244fb56cecddac867c6057b438da4df68505e6 SHA512 0eb8c0100d76fb8f29fd29e6a49e9534b9a4d90e1869820dbfddd57fe444f0e83909947331823157a67be31f71a5d26fa1224f72ce3f9e5197db0194c417b9b9 DIST pari-2.15.3.tar.gz 5178288 BLAKE2B d9cc11526360e9fc7688e0a3195a85302d6bf95039051c9419aa18c5bf91eff837d64d9acabb0a51a6e15a3614a5cab4acbf0a502dba5417982514f27721d47d SHA512 9e127850759bac0c0a9b32c6660a55018ec6c6781aaa14c42667f26655444f55c08e100fe186aec8ad1f574d883d76888b13fbafb65d1f4741e2018b78ff307b diff --git a/sci-mathematics/pari/files/pari-2.11.2-Makefile-LDFLAGS.patch b/sci-mathematics/pari/files/pari-2.11.2-Makefile-LDFLAGS.patch deleted file mode 100644 index 6d6e6726ddf7.. --- a/sci-mathematics/pari/files/pari-2.11.2-Makefile-LDFLAGS.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/config/Makefile.SH b/config/Makefile.SH -index 27c6d5b..43debb1 100644 a/config/Makefile.SH -+++ b/config/Makefile.SH -@@ -185,7 +185,7 @@ LD = $LD \$(LD_FLAVOR) - LDFLAGS= $LDFLAGS - DLLD_FLAVOR = \$(LD_FLAVOR) - DLLD = $DLLD \$(DLLD_FLAVOR) --DLLDFLAGS = $DLLDFLAGS -+DLLDFLAGS = $DLLDFLAGS \$(LDFLAGS) - EXTRADLLDFLAGS = $EXTRADLLDFLAGS - RUNTEST= $RUNTEST - diff --git a/sci-mathematics/pari/files/pari-2.11.2-Makefile-docinstall.patch b/sci-mathematics/pari/files/pari-2.11.2-Makefile-docinstall.patch deleted file mode 100644 index 5f03d77d9e7c.. --- a/sci-mathematics/pari/files/pari-2.11.2-Makefile-docinstall.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/config/Makefile.SH b/config/Makefile.SH -index 27c6d5b..43debb1 100644 a/config/Makefile.SH -+++ b/config/Makefile.SH -@@ -366,9 +366,9 @@ clean: cleanall - .headers: $HEADERS - @touch \$@ - --install-nodata: install-lib-$dft install-include install-bin install-man install-misc install-examples install-cfg -+install-nodata: install-lib-$dft install-include install-bin install-man install-misc install-cfg - --install: install-doc install-nodata install-data -+install: install-nodata install-data - - install-include: - -mkdir -p \$(INCLUDEDIR)/pari -@@ -425,7 +425,7 @@ install-cfg:: - \$(INSTALL_DATA) $desc/PARI/822.pm \$(DATADIR)/PARI;\ - \$(INSTALL_DATA) $desc/\$(DESC) \$(DATADIR); fi - --install-doc: install-docdvi install-doctex -+install-doc: install-docpdf install-doctex install-examples - - install-doctex: - -mkdir -p \$(BINDIR) \$(DOCDIR) diff --git a/sci-mathematics/pari/files/pari-2.9.4-strip.patch b/sci-mathematics/pari/files/pari-2.9.4-strip.patch deleted file mode 100644 index f4a8af322c45.. --- a/sci-mathematics/pari/files/pari-2.9.4-strip.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -r -U2 pari-2.9.4.orig/config/Makefile.SH pari-2.9.4/config/Makefile.SH pari-2.9.4.orig/config/Makefile.SH 2017-11-09 16:26:14.0 +0700 -+++ pari-2.9.4/config/Makefile.SH 2018-01-13 16:18:04.208394407 +0700 -@@ -250,5 +250,5 @@ - LN = $ln_s - CP_F = cp -f --STRIP = strip -+STRIP = true - STRIPFLAGS = - diff --git a/sci-mathematics/pari/pari-2.13.4-r1.ebuild b/sci-mathematics/pari/pari-2.13.4-r1.ebuild deleted file mode 100644 index e3881514c6ec.. --- a/sci-mathematics/pari/pari-2.13.4-r1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Computer-aided number theory C library and tools" -HOMEPAGE="https://pari.math.u-bordeaux.fr/; -SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; - -LICENSE="GPL-2" - -# The subslot is the value of $soname_num obtained from -# upstream's config/version script. -SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="data doc fltk gmp test threads X" -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 603e0b9fb58a93fd73caa6d3412bcef27474ee09 Author: Sam James gentoo org> AuthorDate: Mon Jun 5 05:14:54 2023 + Commit: Sam James gentoo org> CommitDate: Mon Jun 5 05:14:54 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603e0b9f sci-mathematics/pari: Stabilize 2.15.3 x86, #907855 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.15.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.15.3.ebuild b/sci-mathematics/pari/pari-2.15.3.ebuild index 2c285bc6c7ab..664fd8a019f8 100644 --- a/sci-mathematics/pari/pari-2.15.3.ebuild +++ b/sci-mathematics/pari/pari-2.15.3.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/8" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc examples fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: ff2d5645cd70a8b287542c05c66c570f816c3518 Author: Sam James gentoo org> AuthorDate: Mon Jun 5 05:02:27 2023 + Commit: Sam James gentoo org> CommitDate: Mon Jun 5 05:02:27 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff2d5645 sci-mathematics/pari: Stabilize 2.15.3 amd64, #907855 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.15.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.15.3.ebuild b/sci-mathematics/pari/pari-2.15.3.ebuild index 4e92879b687a..2c285bc6c7ab 100644 --- a/sci-mathematics/pari/pari-2.15.3.ebuild +++ b/sci-mathematics/pari/pari-2.15.3.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/8" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="data doc examples fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: ac09888b82c6b5eb74e216a820e71c21eca34c07 Author: Sam James gentoo org> AuthorDate: Mon Jun 5 03:51:15 2023 + Commit: Sam James gentoo org> CommitDate: Mon Jun 5 03:51:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac09888b sci-mathematics/pari: Stabilize 2.15.3 ppc64, #907855 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.15.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.15.3.ebuild b/sci-mathematics/pari/pari-2.15.3.ebuild index 123f174d15a3..4e92879b687a 100644 --- a/sci-mathematics/pari/pari-2.15.3.ebuild +++ b/sci-mathematics/pari/pari-2.15.3.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/8" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="data doc examples fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari-data/
commit: 1a0d428134a2d88ee754933c29d4db34d44fcb35 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jun 2 16:13:26 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jun 3 11:12:48 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0d4281 sci-mathematics/pari-data: destabilize for ~ppc Signed-off-by: Arthur Zamarin gentoo.org> sci-mathematics/pari-data/pari-data-20191216.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/pari-data/pari-data-20191216.ebuild b/sci-mathematics/pari-data/pari-data-20191216.ebuild index 58b9658b2d9c..83c3b554cc9e 100644 --- a/sci-mathematics/pari-data/pari-data-20191216.ebuild +++ b/sci-mathematics/pari-data/pari-data-20191216.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,7 @@ done LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="" S="${WORKDIR}"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 5ab696b5beeda54013fc58f72c710360b9c8ff70 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jun 2 16:13:23 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jun 3 11:12:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab696b5 sci-mathematics/pari: destabilize for ~ppc Signed-off-by: Arthur Zamarin gentoo.org> sci-mathematics/pari/pari-2.13.4-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/pari/pari-2.13.4-r1.ebuild b/sci-mathematics/pari/pari-2.13.4-r1.ebuild index 8a3f70f9f496..e3881514c6ec 100644 --- a/sci-mathematics/pari/pari-2.13.4-r1.ebuild +++ b/sci-mathematics/pari/pari-2.13.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/, sci-mathematics/pari/files/
commit: ab98c256a0799d183172beff705dabbf663192c1 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Mar 18 16:35:55 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Mar 18 19:40:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab98c256 sci-mathematics/pari: add 2.15.3, drop 2.15.2-r2 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 2 +- .../pari/files/pari-2.15.2-ellsea-r1.patch | 34 -- .../pari/files/pari-2.15.2-install-doctex.patch| 25 .../{pari-2.15.2-r2.ebuild => pari-2.15.3.ebuild} | 4 +-- 4 files changed, 2 insertions(+), 63 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 9e878940b366..787883758f30 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,2 +1,2 @@ DIST pari-2.13.4.tar.gz 4772735 BLAKE2B 5a3eebd380f1e47f38746b03ddde9a715ed74e7e8e4ed30ef8f2d62cf7289694b800fc8396557150ce9d79245c244fb56cecddac867c6057b438da4df68505e6 SHA512 0eb8c0100d76fb8f29fd29e6a49e9534b9a4d90e1869820dbfddd57fe444f0e83909947331823157a67be31f71a5d26fa1224f72ce3f9e5197db0194c417b9b9 -DIST pari-2.15.2.tar.gz 5176694 BLAKE2B b3aa021cb0b786dfde691b150d38c0ee9e9844ff5d2554d7a4f0cd85b27c8077696433b14c0b2128930b7db2191e7db99bdebc200e03607554cc4a9394ea42a4 SHA512 fa9e8713484ab5d659dcf7cf65de0fbaf28334969f443bfaffb8fc19c2305631435fc5635e090cbd8033758ea18200a62c47e8434067af9a86565832e96d489c +DIST pari-2.15.3.tar.gz 5178288 BLAKE2B d9cc11526360e9fc7688e0a3195a85302d6bf95039051c9419aa18c5bf91eff837d64d9acabb0a51a6e15a3614a5cab4acbf0a502dba5417982514f27721d47d SHA512 9e127850759bac0c0a9b32c6660a55018ec6c6781aaa14c42667f26655444f55c08e100fe186aec8ad1f574d883d76888b13fbafb65d1f4741e2018b78ff307b diff --git a/sci-mathematics/pari/files/pari-2.15.2-ellsea-r1.patch b/sci-mathematics/pari/files/pari-2.15.2-ellsea-r1.patch deleted file mode 100644 index b8af421c0e56.. --- a/sci-mathematics/pari/files/pari-2.15.2-ellsea-r1.patch +++ /dev/null @@ -1,34 +0,0 @@ -A fix for upstream bug 2441 and gentoo bug 892035, with the changes to -CHANGES and the test suite stripped out (they don't apply cleanly). - -From 6f556664bea5dae9d7101533be65f10b9d6332e2 Mon Sep 17 00:00:00 2001 -From: Bill Allombert -Date: Fri, 20 Jan 2023 11:13:46 +0100 -Subject: [PATCH 1/1] ellcard(ellinit([1,1]*ffgen([41,16])))-> impossible - inverse [#2441] - -find_isogenous_from_Atkin: check that the kernel divides the division polynomial - CHANGES | 1 + - src/basemath/ellsea.c | 3 ++- - src/test/32/ellff | 3 ++- - src/test/in/ellff | 3 +++ - 4 files changed, 8 insertions(+), 2 deletions(-) - -diff --git a/src/basemath/ellsea.c b/src/basemath/ellsea.c -index a6871fa6a7..05f148eadd 100644 a/src/basemath/ellsea.c -+++ b/src/basemath/ellsea.c -@@ -852,7 +852,8 @@ find_isogenous_from_Atkin(GEN a4, GEN a6, ulong ell, struct meqn *MEQN, GEN g, G - GEN a4t, a6t, h; - a4a6t(, , ell, E4t, E6t, T, p); - h = find_kernel(a4, a6, ell, a4t, a6t, pp1, T, p, pp, e); -- if (h) return gerepilecopy(ltop, mkvec3(a4t, a6t, h)); -+ if (h && signe(Fq_elldivpolmod(a4, a6, ell, h, T, pp))==0) -+return gerepilecopy(ltop, mkvec3(a4t, a6t, h)); - } - } - pari_err_BUG("find_isogenous_from_Atkin, kernel not found"); --- -2.30.2 - diff --git a/sci-mathematics/pari/files/pari-2.15.2-install-doctex.patch b/sci-mathematics/pari/files/pari-2.15.2-install-doctex.patch deleted file mode 100644 index d504326b7b43.. --- a/sci-mathematics/pari/files/pari-2.15.2-install-doctex.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 0888050e8f3fc8c07e42331651c970d80c8d6a90 Mon Sep 17 00:00:00 2001 -From: Bill Allombert -Date: Wed, 25 Jan 2023 18:42:09 +0100 -Subject: [PATCH] TOP_Make.SH: add target install-docvi, install-doctex [#2444] - - config/TOP_Make.SH | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/config/TOP_Make.SH b/config/TOP_Make.SH -index d2543c91eb..e60fd5f6ee 100644 a/config/TOP_Make.SH -+++ b/config/TOP_Make.SH -@@ -42,7 +42,7 @@ all:: - @\$(MAKE) gp - @-cd doc && \$(MAKE) doc - --gp bench test-kernel test-all install cleanall cleanobj cleantest nsis link-data install-bin install-doc install-docpdf install-nodata install-data install-lib-sta install-bin-sta dobench dyntest-all statest-all tune $top_test_extra $top_dotest_extra:: -+gp bench test-kernel test-all install cleanall cleanobj cleantest nsis link-data install-bin install-doc install-doctex install-docdvi install-docpdf install-nodata install-data install-lib-sta install-bin-sta dobench dyntest-all statest-all tune $top_test_extra $top_dotest_extra:: - @dir=\`config/objdir\`; echo "Making \$@ in \$\$dir";\\ -if test ! -d \$\$dir; then echo "Please run Configure first!"; exit 1; fi;\\ - cd \$\$dir && \$(MAKE) \$@ ---
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/files/, sci-mathematics/pari/
commit: 772b64c72de3ecc8e94d893d50494bca07016974 Author: Michael Orlitzky gentoo org> AuthorDate: Thu Jan 26 13:35:51 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Jan 26 16:28:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=772b64c7 sci-mathematics/pari: patch update for upstream bug 2441. Closes: https://bugs.gentoo.org/892035 Signed-off-by: Michael Orlitzky gentoo.org> .../pari/files/pari-2.15.2-ellsea-r1.patch | 34 ++ .../pari/files/pari-2.15.2-ellsea.patch| 22 -- ...pari-2.15.2-r1.ebuild => pari-2.15.2-r2.ebuild} | 2 +- 3 files changed, 35 insertions(+), 23 deletions(-) diff --git a/sci-mathematics/pari/files/pari-2.15.2-ellsea-r1.patch b/sci-mathematics/pari/files/pari-2.15.2-ellsea-r1.patch new file mode 100644 index ..b8af421c0e56 --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.15.2-ellsea-r1.patch @@ -0,0 +1,34 @@ +A fix for upstream bug 2441 and gentoo bug 892035, with the changes to +CHANGES and the test suite stripped out (they don't apply cleanly). + +From 6f556664bea5dae9d7101533be65f10b9d6332e2 Mon Sep 17 00:00:00 2001 +From: Bill Allombert +Date: Fri, 20 Jan 2023 11:13:46 +0100 +Subject: [PATCH 1/1] ellcard(ellinit([1,1]*ffgen([41,16])))-> impossible + inverse [#2441] + +find_isogenous_from_Atkin: check that the kernel divides the division polynomial +--- + CHANGES | 1 + + src/basemath/ellsea.c | 3 ++- + src/test/32/ellff | 3 ++- + src/test/in/ellff | 3 +++ + 4 files changed, 8 insertions(+), 2 deletions(-) + +diff --git a/src/basemath/ellsea.c b/src/basemath/ellsea.c +index a6871fa6a7..05f148eadd 100644 +--- a/src/basemath/ellsea.c b/src/basemath/ellsea.c +@@ -852,7 +852,8 @@ find_isogenous_from_Atkin(GEN a4, GEN a6, ulong ell, struct meqn *MEQN, GEN g, G + GEN a4t, a6t, h; + a4a6t(, , ell, E4t, E6t, T, p); + h = find_kernel(a4, a6, ell, a4t, a6t, pp1, T, p, pp, e); +- if (h) return gerepilecopy(ltop, mkvec3(a4t, a6t, h)); ++ if (h && signe(Fq_elldivpolmod(a4, a6, ell, h, T, pp))==0) ++return gerepilecopy(ltop, mkvec3(a4t, a6t, h)); + } + } + pari_err_BUG("find_isogenous_from_Atkin, kernel not found"); +-- +2.30.2 + diff --git a/sci-mathematics/pari/files/pari-2.15.2-ellsea.patch b/sci-mathematics/pari/files/pari-2.15.2-ellsea.patch deleted file mode 100644 index a5c19504ea87.. --- a/sci-mathematics/pari/files/pari-2.15.2-ellsea.patch +++ /dev/null @@ -1,22 +0,0 @@ -# upstream bug https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2441 -# will be fixed in 2.15.3 -diff --git a/src/basemath/ellsea.c b/src/basemath/ellsea.c -index a6871fa6a7..f1e725ea55 100644 a/src/basemath/ellsea.c -+++ b/src/basemath/ellsea.c -@@ -1303,6 +1303,7 @@ find_trace_Elkies_power(GEN a4, GEN a6, ulong ell, long *pt_k, struct meqn *MEQN - lambda = tr ? find_eigen_value_oneroot(a4, a6, ell, tr, kpoly, T, p): - find_eigen_value_power(a4, a6, ell, 1, 1, kpoly, T, p); - if (DEBUGLEVEL>1) err_printf(" [%ld ms]", timer_delay(ti)); -+ if (lambda==ell) return NULL; - if (smallfact && smallfact%(long)ell!=0) - { - ulong pell = pellk%ell; -@@ -1317,6 +1318,7 @@ find_trace_Elkies_power(GEN a4, GEN a6, ulong ell, long *pt_k, struct meqn *MEQN - if (!tmp) { k = cnt-1; break; } - if (DEBUGLEVEL) err_printf(", %Ps", powuu(ell, cnt)); - lambda = find_eigen_value_power(a4, a6, ell, cnt, lambda, gel(tmp,3), T, p); -+if (lambda == upowuu(ell, cnt)) { k = cnt-1; break; } - Eba4 = Eca4; - Eba6 = Eca6; - Eca4 = gel(tmp,1); diff --git a/sci-mathematics/pari/pari-2.15.2-r1.ebuild b/sci-mathematics/pari/pari-2.15.2-r2.ebuild similarity index 98% rename from sci-mathematics/pari/pari-2.15.2-r1.ebuild rename to sci-mathematics/pari/pari-2.15.2-r2.ebuild index 8a767ad7f37d..c25f507e52f3 100644 --- a/sci-mathematics/pari/pari-2.15.2-r1.ebuild +++ b/sci-mathematics/pari/pari-2.15.2-r2.ebuild @@ -35,7 +35,7 @@ PATCHES=( "${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.15.2-ellsea.patch + "${FILESDIR}/${PN}"-2.15.2-ellsea-r1.patch "${FILESDIR}/${PN}"-2.15.2-install-doctex.patch )
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/files/, sci-mathematics/pari/
commit: d3afc36b635d53e62067c6bc5c2a14fe76d27613 Author: Michael Orlitzky gentoo org> AuthorDate: Thu Jan 26 01:38:54 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Jan 26 01:48:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3afc36b sci-mathematics/pari: new ~arch revision, cleanup old. The new pari-2.15.2-r1... * Separates out a new flag, USE=examples; * Replaces an old "permanent" patch with a new temporary one (already committed upstream) needed to install the documentation properly; * Drops an an old hack for -O0 because I can no longer reproduce the issue that motivated it. Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 - .../pari/files/pari-2.15.2-install-doctex.patch| 25 sci-mathematics/pari/pari-2.15.1.ebuild| 126 - .../{pari-2.15.2.ebuild => pari-2.15.2-r1.ebuild} | 28 +++-- 4 files changed, 41 insertions(+), 139 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index d9cc0ed7c828..9e878940b366 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,3 +1,2 @@ DIST pari-2.13.4.tar.gz 4772735 BLAKE2B 5a3eebd380f1e47f38746b03ddde9a715ed74e7e8e4ed30ef8f2d62cf7289694b800fc8396557150ce9d79245c244fb56cecddac867c6057b438da4df68505e6 SHA512 0eb8c0100d76fb8f29fd29e6a49e9534b9a4d90e1869820dbfddd57fe444f0e83909947331823157a67be31f71a5d26fa1224f72ce3f9e5197db0194c417b9b9 -DIST pari-2.15.1.tar.gz 5175706 BLAKE2B abc04a8bd75f756ad62937941c3b88f910bf57d58e7c4eda20649292ce5ba390688abe463d27cb22af0aee0249967e67a6f929beb9ef328d00d05648af5bf72e SHA512 8f536c1cabff3a082f67febd00240506eef5288c7e85c97d23018e8cdd01109dfb8ebe2fa71dc0e929c55ca00f31349fd145030689c988289201de2ddbcf0a5c DIST pari-2.15.2.tar.gz 5176694 BLAKE2B b3aa021cb0b786dfde691b150d38c0ee9e9844ff5d2554d7a4f0cd85b27c8077696433b14c0b2128930b7db2191e7db99bdebc200e03607554cc4a9394ea42a4 SHA512 fa9e8713484ab5d659dcf7cf65de0fbaf28334969f443bfaffb8fc19c2305631435fc5635e090cbd8033758ea18200a62c47e8434067af9a86565832e96d489c diff --git a/sci-mathematics/pari/files/pari-2.15.2-install-doctex.patch b/sci-mathematics/pari/files/pari-2.15.2-install-doctex.patch new file mode 100644 index ..d504326b7b43 --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.15.2-install-doctex.patch @@ -0,0 +1,25 @@ +From 0888050e8f3fc8c07e42331651c970d80c8d6a90 Mon Sep 17 00:00:00 2001 +From: Bill Allombert +Date: Wed, 25 Jan 2023 18:42:09 +0100 +Subject: [PATCH] TOP_Make.SH: add target install-docvi, install-doctex [#2444] + +--- + config/TOP_Make.SH | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config/TOP_Make.SH b/config/TOP_Make.SH +index d2543c91eb..e60fd5f6ee 100644 +--- a/config/TOP_Make.SH b/config/TOP_Make.SH +@@ -42,7 +42,7 @@ all:: + @\$(MAKE) gp + @-cd doc && \$(MAKE) doc + +-gp bench test-kernel test-all install cleanall cleanobj cleantest nsis link-data install-bin install-doc install-docpdf install-nodata install-data install-lib-sta install-bin-sta dobench dyntest-all statest-all tune $top_test_extra $top_dotest_extra:: ++gp bench test-kernel test-all install cleanall cleanobj cleantest nsis link-data install-bin install-doc install-doctex install-docdvi install-docpdf install-nodata install-data install-lib-sta install-bin-sta dobench dyntest-all statest-all tune $top_test_extra $top_dotest_extra:: + @dir=\`config/objdir\`; echo "Making \$@ in \$\$dir";\\ +if test ! -d \$\$dir; then echo "Please run Configure first!"; exit 1; fi;\\ + cd \$\$dir && \$(MAKE) \$@ +-- +2.30.2 + diff --git a/sci-mathematics/pari/pari-2.15.1.ebuild b/sci-mathematics/pari/pari-2.15.1.ebuild deleted file mode 100644 index 212fed3f24df.. --- a/sci-mathematics/pari/pari-2.15.1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Computer-aided number theory C library and tools" -HOMEPAGE="https://pari.math.u-bordeaux.fr/; -SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; - -LICENSE="GPL-2" - -# The subslot is the value of $soname_num obtained from -# upstream's config/version script. -SLOT="0/8" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="data doc fltk gmp test threads X" -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig - 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 -
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: b596f3b2b1ec6d76d3714120f1e6082396e7b9d8 Author: Michael Orlitzky gentoo org> AuthorDate: Sun Jan 22 01:14:08 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Sun Jan 22 01:15:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b596f3b2 sci-mathematics/pari: move LDFLAGS patch into the ebuild. Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/pari-2.15.2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/pari/pari-2.15.2.ebuild b/sci-mathematics/pari/pari-2.15.2.ebuild index f33ec30fd5de..058eac35d8b0 100644 --- a/sci-mathematics/pari/pari-2.15.2.ebuild +++ b/sci-mathematics/pari/pari-2.15.2.ebuild @@ -35,7 +35,6 @@ PATCHES=( "${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 "${FILESDIR}/${PN}"-2.15.2-ellsea.patch ) @@ -80,7 +79,9 @@ src_configure() { # always gets set to the value of the compiler used. Pari's build # system does not cope very well with a naked linker, it is # expecting a compiler driver. See bugs 722090 and 871117. - LD="" DLLD="$(tc-getCC)" ./Configure \ + # DLLDFLAGS, on the other hand, is used exactly like LDFLAGS would + # be in a less-weird build system. + LD="" DLLD="$(tc-getCC)" DLLDFLAGS="${LDFLAGS}" ./Configure \ --prefix="${EPREFIX}"/usr \ --datadir="${EPREFIX}/usr/share/${PN}" \ --libdir="${EPREFIX}/usr/$(get_libdir)" \
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 28d79b94e8470158a0a7856de0d2d9ae65dc9ed6 Author: Michael Orlitzky gentoo org> AuthorDate: Sun Jan 22 00:23:38 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Sun Jan 22 01:15:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d79b94 sci-mathematics/pari: move STRIP override patch into the ebuild. Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/pari-2.15.2.ebuild | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/pari/pari-2.15.2.ebuild b/sci-mathematics/pari/pari-2.15.2.ebuild index e677ee6a41a1..f33ec30fd5de 100644 --- a/sci-mathematics/pari/pari-2.15.2.ebuild +++ b/sci-mathematics/pari/pari-2.15.2.ebuild @@ -32,7 +32,6 @@ DEPEND=" 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 @@ -114,7 +113,11 @@ src_test() { src_install() { DOCS=( AUTHORS CHANGES* COMPAT NEW README* ) - default + + # Use "true" in place of "strip" to sabotage the unconditional + # binary stripping. + emake DESTDIR="${D}" STRIP="true" install + einstalldocs if use doc; then docompress -x "/usr/share/doc/${PF}"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/, sci-mathematics/pari/files/
commit: d4b6f83e21e7151ac0471d8c7b62c973928e6d08 Author: François Bissey gmail com> AuthorDate: Sun Jan 15 01:21:24 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Jan 16 16:40:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b6f83e sci-mathematics/pari: add 2.15.2 Closes: https://github.com/gentoo/gentoo/pull/29112 Signed-off-by: Michael Orlitzky gentoo.org> Signed-off-by: François Bissey gmail.com> sci-mathematics/pari/Manifest | 1 + .../pari/files/pari-2.15.2-ellsea.patch| 22 sci-mathematics/pari/pari-2.15.2.ebuild| 127 + 3 files changed, 150 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index df9fca51a90a..d9cc0ed7c828 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,2 +1,3 @@ DIST pari-2.13.4.tar.gz 4772735 BLAKE2B 5a3eebd380f1e47f38746b03ddde9a715ed74e7e8e4ed30ef8f2d62cf7289694b800fc8396557150ce9d79245c244fb56cecddac867c6057b438da4df68505e6 SHA512 0eb8c0100d76fb8f29fd29e6a49e9534b9a4d90e1869820dbfddd57fe444f0e83909947331823157a67be31f71a5d26fa1224f72ce3f9e5197db0194c417b9b9 DIST pari-2.15.1.tar.gz 5175706 BLAKE2B abc04a8bd75f756ad62937941c3b88f910bf57d58e7c4eda20649292ce5ba390688abe463d27cb22af0aee0249967e67a6f929beb9ef328d00d05648af5bf72e SHA512 8f536c1cabff3a082f67febd00240506eef5288c7e85c97d23018e8cdd01109dfb8ebe2fa71dc0e929c55ca00f31349fd145030689c988289201de2ddbcf0a5c +DIST pari-2.15.2.tar.gz 5176694 BLAKE2B b3aa021cb0b786dfde691b150d38c0ee9e9844ff5d2554d7a4f0cd85b27c8077696433b14c0b2128930b7db2191e7db99bdebc200e03607554cc4a9394ea42a4 SHA512 fa9e8713484ab5d659dcf7cf65de0fbaf28334969f443bfaffb8fc19c2305631435fc5635e090cbd8033758ea18200a62c47e8434067af9a86565832e96d489c diff --git a/sci-mathematics/pari/files/pari-2.15.2-ellsea.patch b/sci-mathematics/pari/files/pari-2.15.2-ellsea.patch new file mode 100644 index ..a5c19504ea87 --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.15.2-ellsea.patch @@ -0,0 +1,22 @@ +# upstream bug https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2441 +# will be fixed in 2.15.3 +diff --git a/src/basemath/ellsea.c b/src/basemath/ellsea.c +index a6871fa6a7..f1e725ea55 100644 +--- a/src/basemath/ellsea.c b/src/basemath/ellsea.c +@@ -1303,6 +1303,7 @@ find_trace_Elkies_power(GEN a4, GEN a6, ulong ell, long *pt_k, struct meqn *MEQN + lambda = tr ? find_eigen_value_oneroot(a4, a6, ell, tr, kpoly, T, p): + find_eigen_value_power(a4, a6, ell, 1, 1, kpoly, T, p); + if (DEBUGLEVEL>1) err_printf(" [%ld ms]", timer_delay(ti)); ++ if (lambda==ell) return NULL; + if (smallfact && smallfact%(long)ell!=0) + { + ulong pell = pellk%ell; +@@ -1317,6 +1318,7 @@ find_trace_Elkies_power(GEN a4, GEN a6, ulong ell, long *pt_k, struct meqn *MEQN + if (!tmp) { k = cnt-1; break; } + if (DEBUGLEVEL) err_printf(", %Ps", powuu(ell, cnt)); + lambda = find_eigen_value_power(a4, a6, ell, cnt, lambda, gel(tmp,3), T, p); ++if (lambda == upowuu(ell, cnt)) { k = cnt-1; break; } + Eba4 = Eca4; + Eba6 = Eca6; + Eca4 = gel(tmp,1); diff --git a/sci-mathematics/pari/pari-2.15.2.ebuild b/sci-mathematics/pari/pari-2.15.2.ebuild new file mode 100644 index ..e677ee6a41a1 --- /dev/null +++ b/sci-mathematics/pari/pari-2.15.2.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Computer-aided number theory C library and tools" +HOMEPAGE="https://pari.math.u-bordeaux.fr/; +SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; + +LICENSE="GPL-2" + +# The subslot is the value of $soname_num obtained from +# upstream's config/version script. +SLOT="0/8" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="data doc fltk gmp test threads X" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + 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 + "${FILESDIR}/${PN}"-2.15.2-ellsea.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
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 1729f95195fd4a5fe58e8ee1dfda42a98e58756e Author: Michael Orlitzky gentoo org> AuthorDate: Wed Nov 23 23:49:49 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Nov 24 01:02:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1729f951 sci-mathematics/pari: add 2.15.1, drop 2.15.0 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 2 +- sci-mathematics/pari/{pari-2.15.0.ebuild => pari-2.15.1.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 29b4609e75c1..df9fca51a90a 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,2 +1,2 @@ DIST pari-2.13.4.tar.gz 4772735 BLAKE2B 5a3eebd380f1e47f38746b03ddde9a715ed74e7e8e4ed30ef8f2d62cf7289694b800fc8396557150ce9d79245c244fb56cecddac867c6057b438da4df68505e6 SHA512 0eb8c0100d76fb8f29fd29e6a49e9534b9a4d90e1869820dbfddd57fe444f0e83909947331823157a67be31f71a5d26fa1224f72ce3f9e5197db0194c417b9b9 -DIST pari-2.15.0.tar.gz 5172089 BLAKE2B 30a39542186a84470bf3dfffe3234f8e4e80ab767d4550a1b274d651a741e009fd20d50ff35bff06ed679cd13ae44ae173f3a9b48326ef8011849de62ad2f437 SHA512 6366734f7746a3982c464646e42b67382d5e5473709b192a359791621be14bb0e7521481a42c35f9a28ac6428485307472eb3fc8bd877bf3466f3610368a9f09 +DIST pari-2.15.1.tar.gz 5175706 BLAKE2B abc04a8bd75f756ad62937941c3b88f910bf57d58e7c4eda20649292ce5ba390688abe463d27cb22af0aee0249967e67a6f929beb9ef328d00d05648af5bf72e SHA512 8f536c1cabff3a082f67febd00240506eef5288c7e85c97d23018e8cdd01109dfb8ebe2fa71dc0e929c55ca00f31349fd145030689c988289201de2ddbcf0a5c diff --git a/sci-mathematics/pari/pari-2.15.0.ebuild b/sci-mathematics/pari/pari-2.15.1.ebuild similarity index 100% rename from sci-mathematics/pari/pari-2.15.0.ebuild rename to sci-mathematics/pari/pari-2.15.1.ebuild
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: b38e0a0b22acc859251d038b55ee73c676fcf8e6 Author: Michael Orlitzky gentoo org> AuthorDate: Wed Sep 21 00:47:49 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed Sep 21 00:59:34 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b38e0a0b sci-mathematics/pari: bullet-proof DLLD detection. We have another DLLD (compiler driver for shared libraries) detection issue in bug 871117. We now force DLLD=$CC during ./Configure, which should override the detection with the correct value more reliably. Closes: https://bugs.gentoo.org/871117 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/pari-2.15.0.ebuild | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sci-mathematics/pari/pari-2.15.0.ebuild b/sci-mathematics/pari/pari-2.15.0.ebuild index 38356d9374b4..212fed3f24df 100644 --- a/sci-mathematics/pari/pari-2.15.0.ebuild +++ b/sci-mathematics/pari/pari-2.15.0.ebuild @@ -74,13 +74,13 @@ src_configure() { 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. - # 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 \ + # It is supposed to be for "architecture-dependent" data. It needs + # to be easily discoverable for downstream packages such as gp2c. + # We set LD="" and DLLD="$CC" so that the "shared library linker" + # always gets set to the value of the compiler used. Pari's build + # system does not cope very well with a naked linker, it is + # expecting a compiler driver. See bugs 722090 and 871117. + LD="" DLLD="$(tc-getCC)" ./Configure \ --prefix="${EPREFIX}"/usr \ --datadir="${EPREFIX}/usr/share/${PN}" \ --libdir="${EPREFIX}/usr/$(get_libdir)" \
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: ae7cef2821b98684e418ed29a70e8ae4a4eed0ed Author: Michael Orlitzky gentoo org> AuthorDate: Tue Sep 20 22:51:09 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Sep 20 22:54:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae7cef28 sci-mathematics/pari: add 2.15.0 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 + sci-mathematics/pari/pari-2.15.0.ebuild | 126 2 files changed, 127 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 16ff43f06c1e..29b4609e75c1 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1 +1,2 @@ DIST pari-2.13.4.tar.gz 4772735 BLAKE2B 5a3eebd380f1e47f38746b03ddde9a715ed74e7e8e4ed30ef8f2d62cf7289694b800fc8396557150ce9d79245c244fb56cecddac867c6057b438da4df68505e6 SHA512 0eb8c0100d76fb8f29fd29e6a49e9534b9a4d90e1869820dbfddd57fe444f0e83909947331823157a67be31f71a5d26fa1224f72ce3f9e5197db0194c417b9b9 +DIST pari-2.15.0.tar.gz 5172089 BLAKE2B 30a39542186a84470bf3dfffe3234f8e4e80ab767d4550a1b274d651a741e009fd20d50ff35bff06ed679cd13ae44ae173f3a9b48326ef8011849de62ad2f437 SHA512 6366734f7746a3982c464646e42b67382d5e5473709b192a359791621be14bb0e7521481a42c35f9a28ac6428485307472eb3fc8bd877bf3466f3610368a9f09 diff --git a/sci-mathematics/pari/pari-2.15.0.ebuild b/sci-mathematics/pari/pari-2.15.0.ebuild new file mode 100644 index ..38356d9374b4 --- /dev/null +++ b/sci-mathematics/pari/pari-2.15.0.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Computer-aided number theory C library and tools" +HOMEPAGE="https://pari.math.u-bordeaux.fr/; +SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; + +LICENSE="GPL-2" + +# The subslot is the value of $soname_num obtained from +# upstream's config/version script. +SLOT="0/8" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="data doc fltk gmp test threads X" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + 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" + + # These tests fail when LaTeX is not installed (which we don't + # require without USE=doc), most likely due to output formatting + # issues but I haven't deleted my LaTeX installation to check. + # There's no real upstream support for enabling/disabling the LaTeX + # docs, so this is probably the correctest way to skip these tests. + if ! use doc; then + rm src/test/{in,32}/help || die + fi +} + +src_configure() { + tc-export CC CXX PKG_CONFIG + + # Workaraound to "asm operand has impossible constraints" as + # suggested in bug #46. + 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. + # 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)" \ + --sysdatadir="${EPREFIX}"/usr/share/pari \ + --mandir="${EPREFIX}"/usr/share/man/man1 \ + --with-readline="${EPREFIX}"/usr \ +
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 670b0a5f7a10352977cdc5f389dbea3996391bc5 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Sep 20 22:52:20 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Sep 20 22:54:43 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=670b0a5f sci-mathematics/pari: drop 2.13.4 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/pari-2.13.4.ebuild | 121 1 file changed, 121 deletions(-) diff --git a/sci-mathematics/pari/pari-2.13.4.ebuild b/sci-mathematics/pari/pari-2.13.4.ebuild deleted file mode 100644 index 2b6dd7c50043.. --- a/sci-mathematics/pari/pari-2.13.4.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Computer-aided number theory C library and tools" -HOMEPAGE="https://pari.math.u-bordeaux.fr/; -SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; - -LICENSE="GPL-2" - -# The subslot is the value of $soname_num obtained from -# upstream's config/version script. -SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="data doc fltk gmp test threads X" -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig - 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 PKG_CONFIG - - # Workaraound to "asm operand has impossible constraints" as - # suggested in bug #46. - 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. - # 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)" \ - --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 -}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: f00b4dd3df94c19c89c8bfac4401af4731f27f65 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Aug 10 07:52:47 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Aug 10 08:04:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00b4dd3 sci-mathematics/pari: Stabilize 2.13.4-r1 ppc64, #864214 Signed-off-by: Arthur Zamarin gentoo.org> sci-mathematics/pari/pari-2.13.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.4-r1.ebuild b/sci-mathematics/pari/pari-2.13.4-r1.ebuild index 7ddc636a61f9..8a3f70f9f496 100644 --- a/sci-mathematics/pari/pari-2.13.4-r1.ebuild +++ b/sci-mathematics/pari/pari-2.13.4-r1.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: a30b7e8e10c768942d8c4036bec7a78540aee653 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Aug 10 07:52:46 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Aug 10 08:04:07 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a30b7e8e sci-mathematics/pari: Stabilize 2.13.4-r1 ppc, #864214 Signed-off-by: Arthur Zamarin gentoo.org> sci-mathematics/pari/pari-2.13.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.4-r1.ebuild b/sci-mathematics/pari/pari-2.13.4-r1.ebuild index 2c20485a6433..7ddc636a61f9 100644 --- a/sci-mathematics/pari/pari-2.13.4-r1.ebuild +++ b/sci-mathematics/pari/pari-2.13.4-r1.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 7d28d328de5664fa8bd183a51ecd6714225240dd Author: Joonas Niilola gentoo org> AuthorDate: Tue Aug 9 06:17:37 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Aug 9 06:19:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d28d328 sci-mathematics/pari: Stabilize 2.13.4-r1 x86, #864214 Signed-off-by: Joonas Niilola gentoo.org> sci-mathematics/pari/pari-2.13.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.4-r1.ebuild b/sci-mathematics/pari/pari-2.13.4-r1.ebuild index a3404e9b1593..2c20485a6433 100644 --- a/sci-mathematics/pari/pari-2.13.4-r1.ebuild +++ b/sci-mathematics/pari/pari-2.13.4-r1.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: e336408370516e14fd34bb4be23cf5528825e05b Author: Michael Orlitzky gentoo org> AuthorDate: Mon Aug 8 13:09:34 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Aug 8 13:10:33 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3364083 sci-mathematics/pari: disable "help" tests in the absence of USE=doc. Closes: https://bugs.gentoo.org/864289 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/pari-2.13.4-r1.ebuild | 9 + 1 file changed, 9 insertions(+) diff --git a/sci-mathematics/pari/pari-2.13.4-r1.ebuild b/sci-mathematics/pari/pari-2.13.4-r1.ebuild index 4a13d42f694f..a3404e9b1593 100644 --- a/sci-mathematics/pari/pari-2.13.4-r1.ebuild +++ b/sci-mathematics/pari/pari-2.13.4-r1.ebuild @@ -48,6 +48,15 @@ src_prepare() { -e "s:\$d = \$0:\$d = '${EPREFIX}/usr/share/doc/${PF}':" \ -e 's:"acroread":"xdg-open":' \ doc/gphelp.in || die "Failed to fix doc dir" + + # These tests fail when LaTeX is not installed (which we don't + # require without USE=doc), most likely due to output formatting + # issues but I haven't deleted my LaTeX installation to check. + # There's no real upstream support for enabling/disabling the LaTeX + # docs, so this is probably the correctest way to skip these tests. + if ! use doc; then + rm src/test/{in,32}/help || die + fi } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: e2197dbba4dad3dedb6f3608ca0628833254926d Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Aug 8 12:33:08 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Aug 8 12:33:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2197dbb sci-mathematics/pari: amd64 stable wrt bug #864214 Signed-off-by: Agostino Sarubbo gentoo.org> sci-mathematics/pari/pari-2.13.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.4-r1.ebuild b/sci-mathematics/pari/pari-2.13.4-r1.ebuild index 0f105d54107a..4a13d42f694f 100644 --- a/sci-mathematics/pari/pari-2.13.4-r1.ebuild +++ b/sci-mathematics/pari/pari-2.13.4-r1.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: d1d77480299ec0900a8602adbb8469c22132c84c Author: Michael Orlitzky gentoo org> AuthorDate: Sat Jun 4 13:03:59 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Jun 7 14:40:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d77480 sci-mathematics/pari: remove obsolete hppa workaround in an -r1. Bug: https://bugs.gentoo.org/684814 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/pari-2.13.4-r1.ebuild | 117 + 1 file changed, 117 insertions(+) diff --git a/sci-mathematics/pari/pari-2.13.4-r1.ebuild b/sci-mathematics/pari/pari-2.13.4-r1.ebuild new file mode 100644 index ..0f105d54107a --- /dev/null +++ b/sci-mathematics/pari/pari-2.13.4-r1.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Computer-aided number theory C library and tools" +HOMEPAGE="https://pari.math.u-bordeaux.fr/; +SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; + +LICENSE="GPL-2" + +# The subslot is the value of $soname_num obtained from +# upstream's config/version script. +SLOT="0/7" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="data doc fltk gmp test threads X" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + 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 PKG_CONFIG + + # Workaraound to "asm operand has impossible constraints" as + # suggested in bug #46. + 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. + # 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)" \ + --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() { + emake 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 +}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 6509fa320f03684bdca19f2f282aa979ba717770 Author: Michael Orlitzky gentoo org> AuthorDate: Fri Jun 3 10:57:43 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Fri Jun 3 10:57:43 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6509fa32 sci-mathematics/pari: remove old "unused" pari-2.13.3.ebuild. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 - sci-mathematics/pari/pari-2.13.3.ebuild | 121 2 files changed, 122 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 78bf342e60f0..16ff43f06c1e 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,2 +1 @@ -DIST pari-2.13.3.tar.gz 4768312 BLAKE2B e6df23d3929ef1549009eb82c628cc2b9f1f3a446b2c2b246e157b93859006c3f4526c6fef4b975be87b9c6c011e179c169b4f237981c2ca1e02df0adbc4c00a SHA512 16cc20e44bc9b408798a86ffc31f8096e5adc01e0b8f7620e3d03201d71ddbe1d1bfecb22ab69c5b03270e9e97657042de29bb2055173b0d4cf169ec4373972b DIST pari-2.13.4.tar.gz 4772735 BLAKE2B 5a3eebd380f1e47f38746b03ddde9a715ed74e7e8e4ed30ef8f2d62cf7289694b800fc8396557150ce9d79245c244fb56cecddac867c6057b438da4df68505e6 SHA512 0eb8c0100d76fb8f29fd29e6a49e9534b9a4d90e1869820dbfddd57fe444f0e83909947331823157a67be31f71a5d26fa1224f72ce3f9e5197db0194c417b9b9 diff --git a/sci-mathematics/pari/pari-2.13.3.ebuild b/sci-mathematics/pari/pari-2.13.3.ebuild deleted file mode 100644 index 2b6dd7c50043.. --- a/sci-mathematics/pari/pari-2.13.3.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Computer-aided number theory C library and tools" -HOMEPAGE="https://pari.math.u-bordeaux.fr/; -SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; - -LICENSE="GPL-2" - -# The subslot is the value of $soname_num obtained from -# upstream's config/version script. -SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="data doc fltk gmp test threads X" -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig - 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 PKG_CONFIG - - # Workaraound to "asm operand has impossible constraints" as - # suggested in bug #46. - 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. - # 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)" \ - --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
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: a96358f15bba695a1ff233191e8ee42d6693368e Author: Sam James gentoo org> AuthorDate: Thu Jun 2 00:36:27 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jun 2 00:36:27 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96358f1 sci-mathematics/pari: Stabilize 2.13.4 ppc64, #849080 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.13.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.4.ebuild b/sci-mathematics/pari/pari-2.13.4.ebuild index 9f41ff8648fd..bbafbde7a257 100644 --- a/sci-mathematics/pari/pari-2.13.4.ebuild +++ b/sci-mathematics/pari/pari-2.13.4.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 1cd6e2bb6b12dba611300e450da6e03c98fc9fd0 Author: Sam James gentoo org> AuthorDate: Thu Jun 2 00:36:23 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jun 2 00:36:23 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd6e2bb sci-mathematics/pari: Stabilize 2.13.4 amd64, #849080 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.13.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.4.ebuild b/sci-mathematics/pari/pari-2.13.4.ebuild index 7467025c4b62..9f41ff8648fd 100644 --- a/sci-mathematics/pari/pari-2.13.4.ebuild +++ b/sci-mathematics/pari/pari-2.13.4.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 6aebc49a6d286ac4bd7a4b171e1eccff9be53498 Author: Sam James gentoo org> AuthorDate: Thu Jun 2 00:36:20 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jun 2 00:36:20 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aebc49a sci-mathematics/pari: Stabilize 2.13.4 x86, #849080 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.13.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.4.ebuild b/sci-mathematics/pari/pari-2.13.4.ebuild index 59258dadea5d..7467025c4b62 100644 --- a/sci-mathematics/pari/pari-2.13.4.ebuild +++ b/sci-mathematics/pari/pari-2.13.4.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 6d1bcda52e84501a7c21bdb427505db6d6dc9011 Author: Sam James gentoo org> AuthorDate: Thu Jun 2 00:36:30 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jun 2 00:36:30 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d1bcda5 sci-mathematics/pari: Stabilize 2.13.4 ppc, #849080 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.13.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.4.ebuild b/sci-mathematics/pari/pari-2.13.4.ebuild index bbafbde7a257..2b6dd7c50043 100644 --- a/sci-mathematics/pari/pari-2.13.4.ebuild +++ b/sci-mathematics/pari/pari-2.13.4.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 307430d180981c639f96c958dadc3716ffdbe623 Author: Michael Orlitzky gentoo org> AuthorDate: Thu Apr 7 01:26:37 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Apr 7 02:26:50 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=307430d1 sci-mathematics/pari: new upstream version 2.13.4. Closes: https://bugs.gentoo.org/836869 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 + sci-mathematics/pari/pari-2.13.4.ebuild | 121 2 files changed, 122 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 7e505cd0d8de..78bf342e60f0 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1 +1,2 @@ DIST pari-2.13.3.tar.gz 4768312 BLAKE2B e6df23d3929ef1549009eb82c628cc2b9f1f3a446b2c2b246e157b93859006c3f4526c6fef4b975be87b9c6c011e179c169b4f237981c2ca1e02df0adbc4c00a SHA512 16cc20e44bc9b408798a86ffc31f8096e5adc01e0b8f7620e3d03201d71ddbe1d1bfecb22ab69c5b03270e9e97657042de29bb2055173b0d4cf169ec4373972b +DIST pari-2.13.4.tar.gz 4772735 BLAKE2B 5a3eebd380f1e47f38746b03ddde9a715ed74e7e8e4ed30ef8f2d62cf7289694b800fc8396557150ce9d79245c244fb56cecddac867c6057b438da4df68505e6 SHA512 0eb8c0100d76fb8f29fd29e6a49e9534b9a4d90e1869820dbfddd57fe444f0e83909947331823157a67be31f71a5d26fa1224f72ce3f9e5197db0194c417b9b9 diff --git a/sci-mathematics/pari/pari-2.13.4.ebuild b/sci-mathematics/pari/pari-2.13.4.ebuild new file mode 100644 index ..59258dadea5d --- /dev/null +++ b/sci-mathematics/pari/pari-2.13.4.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Computer-aided number theory C library and tools" +HOMEPAGE="https://pari.math.u-bordeaux.fr/; +SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; + +LICENSE="GPL-2" + +# The subslot is the value of $soname_num obtained from +# upstream's config/version script. +SLOT="0/7" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="data doc fltk gmp test threads X" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + 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 PKG_CONFIG + + # Workaraound to "asm operand has impossible constraints" as + # suggested in bug #46. + 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. + # 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)" \ + --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() { +
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 823f3b0e2bae17ba277a35bcc9835b39add2 Author: Michael Orlitzky gentoo org> AuthorDate: Thu Jan 20 03:39:21 2022 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Jan 20 14:18:56 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823f3b0e sci-mathematics/pari: remove old "unused" pari-2.13.2.ebuild. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 - sci-mathematics/pari/pari-2.13.2.ebuild | 121 2 files changed, 122 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 7e6a835c..7e505cd0d8de 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,2 +1 @@ -DIST pari-2.13.2.tar.gz 4766461 BLAKE2B f765edaee8e3b85f859edb1ac82f20aab6cda1a1bb87a2bfaf2de0824d401aef8d5f559a95bc2da565b492f49445b7cf9bcce45376b100e6ca736d82a381ca88 SHA512 ee034e4f2d385755aa5fcddb8b562a2faf4d847591d35c47461e3cbf01382da3a85f004685c842e0c530fdb29e384b69dc496a568b9b204e276b4c8e27afd382 DIST pari-2.13.3.tar.gz 4768312 BLAKE2B e6df23d3929ef1549009eb82c628cc2b9f1f3a446b2c2b246e157b93859006c3f4526c6fef4b975be87b9c6c011e179c169b4f237981c2ca1e02df0adbc4c00a SHA512 16cc20e44bc9b408798a86ffc31f8096e5adc01e0b8f7620e3d03201d71ddbe1d1bfecb22ab69c5b03270e9e97657042de29bb2055173b0d4cf169ec4373972b diff --git a/sci-mathematics/pari/pari-2.13.2.ebuild b/sci-mathematics/pari/pari-2.13.2.ebuild deleted file mode 100644 index 98226153f6af.. --- a/sci-mathematics/pari/pari-2.13.2.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2021 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="https://pari.math.u-bordeaux.fr/; -SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; - -LICENSE="GPL-2" - -# The subslot is the value of $soname_num obtained from -# upstream's config/version script. -SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="data doc fltk gmp test threads X" -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig - 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 PKG_CONFIG - - # Workaraound to "asm operand has impossible constraints" as - # suggested in bug #46. - 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. - # 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)" \ - --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
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 957852bb4bbd31d1da8a0794757a47f182a1968b Author: Sam James gentoo org> AuthorDate: Wed Jan 19 22:43:06 2022 + Commit: Sam James gentoo org> CommitDate: Wed Jan 19 22:43:06 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=957852bb sci-mathematics/pari: Stabilize 2.13.3 ppc, #831413 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.3.ebuild b/sci-mathematics/pari/pari-2.13.3.ebuild index bbafbde7a257..2b6dd7c50043 100644 --- a/sci-mathematics/pari/pari-2.13.3.ebuild +++ b/sci-mathematics/pari/pari-2.13.3.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 7f5f000d5ad7f9578f276a1bdaf8da4556a1976c Author: Sam James gentoo org> AuthorDate: Wed Jan 19 22:42:50 2022 + Commit: Sam James gentoo org> CommitDate: Wed Jan 19 22:42:50 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f5f000d sci-mathematics/pari: Stabilize 2.13.3 ppc64, #831413 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.3.ebuild b/sci-mathematics/pari/pari-2.13.3.ebuild index 9f41ff8648fd..bbafbde7a257 100644 --- a/sci-mathematics/pari/pari-2.13.3.ebuild +++ b/sci-mathematics/pari/pari-2.13.3.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 16c3abe65d670261dcc96aab6d2981b10a296665 Author: Jakov Smolić gentoo org> AuthorDate: Tue Jan 18 21:49:55 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Tue Jan 18 21:49:55 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16c3abe6 sci-mathematics/pari: Stabilize 2.13.3 amd64, #831413 Signed-off-by: Jakov Smolić gentoo.org> sci-mathematics/pari/pari-2.13.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/pari/pari-2.13.3.ebuild b/sci-mathematics/pari/pari-2.13.3.ebuild index 3d8273de659b..b6caf6f2e9f6 100644 --- a/sci-mathematics/pari/pari-2.13.3.ebuild +++ b/sci-mathematics/pari/pari-2.13.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: ff8905d6e001a777d1ee3b0d02cc66dfd7216df3 Author: Jakov Smolić gentoo org> AuthorDate: Tue Jan 18 21:50:13 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Tue Jan 18 21:50:13 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff8905d6 sci-mathematics/pari: Stabilize 2.13.3 x86, #831413 Signed-off-by: Jakov Smolić gentoo.org> sci-mathematics/pari/pari-2.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.3.ebuild b/sci-mathematics/pari/pari-2.13.3.ebuild index b6caf6f2e9f6..9f41ff8648fd 100644 --- a/sci-mathematics/pari/pari-2.13.3.ebuild +++ b/sci-mathematics/pari/pari-2.13.3.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 523f3b80e6b43dfb42c0c7ca1328eb2733f088ee Author: Michael Orlitzky gentoo org> AuthorDate: Thu Nov 11 00:45:16 2021 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Nov 11 00:46:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=523f3b80 sci-mathematics/pari: new upstream version pari-2.13.3. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 + sci-mathematics/pari/pari-2.13.3.ebuild | 121 2 files changed, 122 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 5d9fd6547a6..7e6a835 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1 +1,2 @@ DIST pari-2.13.2.tar.gz 4766461 BLAKE2B f765edaee8e3b85f859edb1ac82f20aab6cda1a1bb87a2bfaf2de0824d401aef8d5f559a95bc2da565b492f49445b7cf9bcce45376b100e6ca736d82a381ca88 SHA512 ee034e4f2d385755aa5fcddb8b562a2faf4d847591d35c47461e3cbf01382da3a85f004685c842e0c530fdb29e384b69dc496a568b9b204e276b4c8e27afd382 +DIST pari-2.13.3.tar.gz 4768312 BLAKE2B e6df23d3929ef1549009eb82c628cc2b9f1f3a446b2c2b246e157b93859006c3f4526c6fef4b975be87b9c6c011e179c169b4f237981c2ca1e02df0adbc4c00a SHA512 16cc20e44bc9b408798a86ffc31f8096e5adc01e0b8f7620e3d03201d71ddbe1d1bfecb22ab69c5b03270e9e97657042de29bb2055173b0d4cf169ec4373972b diff --git a/sci-mathematics/pari/pari-2.13.3.ebuild b/sci-mathematics/pari/pari-2.13.3.ebuild new file mode 100644 index 000..3d8273de659 --- /dev/null +++ b/sci-mathematics/pari/pari-2.13.3.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Computer-aided number theory C library and tools" +HOMEPAGE="https://pari.math.u-bordeaux.fr/; +SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; + +LICENSE="GPL-2" + +# The subslot is the value of $soname_num obtained from +# upstream's config/version script. +SLOT="0/7" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="data doc fltk gmp test threads X" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + 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 PKG_CONFIG + + # Workaraound to "asm operand has impossible constraints" as + # suggested in bug #46. + 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. + # 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)" \ + --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 && \ +
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 944499a85c8a1edd0c02c1a5c3c5f4b37a533c18 Author: Michael Orlitzky gentoo org> AuthorDate: Wed Nov 10 23:50:45 2021 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed Nov 10 23:51:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=944499a8 sci-mathematics/pari: remove old pari-2.11.4.ebuild. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 - sci-mathematics/pari/pari-2.11.4.ebuild | 118 2 files changed, 119 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 9c863fc84b9..5d9fd6547a6 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,2 +1 @@ -DIST pari-2.11.4.tar.gz 4445000 BLAKE2B e910783186eeb71e74a369681c113b77271abd7f87d7a9f366aea83f36ab984f02e312cd451fad7ee6efb2fa285780e8fa78540bb1fd4b135a62d265176c80e0 SHA512 1312f452244cd1d814a1e43e108378c956669b614845f21199b7039fe6462881168983d4badb8a80bb1bac202cd82d92788a2b4f3c23d16f993cae6e251c4fe1 DIST pari-2.13.2.tar.gz 4766461 BLAKE2B f765edaee8e3b85f859edb1ac82f20aab6cda1a1bb87a2bfaf2de0824d401aef8d5f559a95bc2da565b492f49445b7cf9bcce45376b100e6ca736d82a381ca88 SHA512 ee034e4f2d385755aa5fcddb8b562a2faf4d847591d35c47461e3cbf01382da3a85f004685c842e0c530fdb29e384b69dc496a568b9b204e276b4c8e27afd382 diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild deleted file mode 100644 index ed86287930f..000 --- a/sci-mathematics/pari/pari-2.11.4.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2021 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="https://pari.math.u-bordeaux.fr/; -SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0/6" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="data doc fltk gmp test threads X" -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig - 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 PKG_CONFIG - - # Workaraound to "asm operand has impossible constraints" as - # suggested in bug #46. - 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. - # 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)" \ - --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\
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 0813a760bc11749a9ac4c0f221ea3a91bf536ee8 Author: Sam James gentoo org> AuthorDate: Wed Nov 10 04:15:06 2021 + Commit: Sam James gentoo org> CommitDate: Wed Nov 10 04:15:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0813a760 sci-mathematics/pari: Stabilize 2.13.2 ppc, #821466 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.13.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.2.ebuild b/sci-mathematics/pari/pari-2.13.2.ebuild index f5327b9e21f..98226153f6a 100644 --- a/sci-mathematics/pari/pari-2.13.2.ebuild +++ b/sci-mathematics/pari/pari-2.13.2.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 9fd7ecc4812d3321b91f1e5fee7b7028960be031 Author: Sam James gentoo org> AuthorDate: Fri Nov 5 17:36:46 2021 + Commit: Sam James gentoo org> CommitDate: Fri Nov 5 17:36:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd7ecc4 sci-mathematics/pari: Stabilize 2.13.2 ppc64, #821466 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.13.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.2.ebuild b/sci-mathematics/pari/pari-2.13.2.ebuild index 43651ab5af8..f5327b9e21f 100644 --- a/sci-mathematics/pari/pari-2.13.2.ebuild +++ b/sci-mathematics/pari/pari-2.13.2.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 050413f14ed7ef9caa8d0184489945b840866454 Author: Sam James gentoo org> AuthorDate: Wed Nov 3 20:27:23 2021 + Commit: Sam James gentoo org> CommitDate: Wed Nov 3 20:27:23 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050413f1 sci-mathematics/pari: Stabilize 2.13.2 x86, #821466 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.13.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.2.ebuild b/sci-mathematics/pari/pari-2.13.2.ebuild index bc5709ab338..a32f892d552 100644 --- a/sci-mathematics/pari/pari-2.13.2.ebuild +++ b/sci-mathematics/pari/pari-2.13.2.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 834a25217b0d8d73e9359f9383efa969e6557bc1 Author: Sam James gentoo org> AuthorDate: Wed Nov 3 20:27:46 2021 + Commit: Sam James gentoo org> CommitDate: Wed Nov 3 20:27:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834a2521 sci-mathematics/pari: Stabilize 2.13.2 amd64, #821466 Signed-off-by: Sam James gentoo.org> sci-mathematics/pari/pari-2.13.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.13.2.ebuild b/sci-mathematics/pari/pari-2.13.2.ebuild index a32f892d552..43651ab5af8 100644 --- a/sci-mathematics/pari/pari-2.13.2.ebuild +++ b/sci-mathematics/pari/pari-2.13.2.ebuild @@ -14,7 +14,7 @@ LICENSE="GPL-2" # The subslot is the value of $soname_num obtained from # upstream's config/version script. SLOT="0/7" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/files/
commit: 3add16fb570738c4de8813441f5bdc8ad919f514 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sun Sep 26 10:28:28 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Sun Sep 26 11:26:36 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3add16fb sci-mathematics/pari: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/22410 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Conrad Kostecki gentoo.org> .../pari/files/pari-2.13.1-rnfdisc.patch | 35 -- 1 file changed, 35 deletions(-) diff --git a/sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch b/sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch deleted file mode 100644 index 39d325911e8..000 --- a/sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 3edb98db78dd49bb8b4137b46781a7cd570c2556 Mon Sep 17 00:00:00 2001 -From: Bill Allombert -Date: Sun, 28 Mar 2021 13:27:24 +0200 -Subject: [PATCH] rnfdisc_factored: remove spurious Q_primpart [#2284] - -diff --git a/src/basemath/base2.c b/src/basemath/base2.c -index b2b63ada5..531f5c558 100644 a/src/basemath/base2.c -+++ b/src/basemath/base2.c -@@ -3582,7 +3582,7 @@ rnfdisc_factored(GEN nf, GEN pol, GEN *pd) - - nf = checknf(nf); - pol = rnfdisc_get_T(nf, pol, ); -- disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, Q_primpart(pol))); -+ disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, pol)); - pol = nfX_to_monic(nf, pol, NULL); - fa = idealfactor_partial(nf, disc, lim); - P = gel(fa,1); l = lg(P); -diff --git a/src/test/32/rnf b/src/test/32/rnf -index 6bd4585..d24e1ce 100644 (file) a/src/test/32/rnf -+++ b/src/test/32/rnf -@@ -832,9 +832,9 @@ error("inconsistent dimensions in idealtwoelt.") - 0 - 0 - 1 --[[7361, 3786, 318, 5823; 0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1], [-3, 6, -2, 0] --~] --[2, -1] -+[[433, 322, 318, 1318/17; 0, 1, 0, 12/17; 0, 0, 1, 5/17; 0, 0, 0, 1/17], [25 -+/17, -12/17, 12/17, 16/17]~] -+[1, -1] - *** at top-level: rnfdedekind(nf,P,pr2,1) - *** ^--- - *** rnfdedekind: sorry, Dedekind in the difficult case is not yet implemented.
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 2a32e3de45af173090d1dc628bf499f15353a7d5 Author: Michael Orlitzky gentoo org> AuthorDate: Wed Sep 22 13:51:54 2021 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed Sep 22 14:56:03 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a32e3de sci-mathematics/pari: new upstream version 2.13.2. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 + sci-mathematics/pari/pari-2.13.2.ebuild | 121 2 files changed, 122 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 192fb3a4f19..00a342bde85 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,3 +1,4 @@ DIST pari-2.11.4.tar.gz 4445000 BLAKE2B e910783186eeb71e74a369681c113b77271abd7f87d7a9f366aea83f36ab984f02e312cd451fad7ee6efb2fa285780e8fa78540bb1fd4b135a62d265176c80e0 SHA512 1312f452244cd1d814a1e43e108378c956669b614845f21199b7039fe6462881168983d4badb8a80bb1bac202cd82d92788a2b4f3c23d16f993cae6e251c4fe1 DIST pari-2.13.0.tar.gz 4758091 BLAKE2B 21a008fbca9af60c7298daf2db5c596cf881fbf4748899f417e317b2e2c0a951d152ffdab061a5f7da73db65345134a90d91e57069d9f0d0ac6eb2ad470a7a98 SHA512 671bed101be0ba0eef2c4aa4d9580477f2492f2cd354f04773df00c2fa1456d1d6d8e568d617675dc4adce3e6d1f8cbaafae45452891ceb10eba60cd669b529f DIST pari-2.13.1.tar.gz 4760932 BLAKE2B 50c8be1d07f303665013623f07109ef42a6d82ea88e4795c90be8ae4c714f78c2f009df40c457cc1c45f1591e5b8550965a35e3c9c272b8cd17508d774ef182e SHA512 57d0811c66d58ce6abf4d34d3f2ee98efaa22aa5f65941b8bd3d2ceaf5ba57447a8fe334b9587387b31298c85f19ec356a9db05d11dc6d956f921e7fc7d1596e +DIST pari-2.13.2.tar.gz 4766461 BLAKE2B f765edaee8e3b85f859edb1ac82f20aab6cda1a1bb87a2bfaf2de0824d401aef8d5f559a95bc2da565b492f49445b7cf9bcce45376b100e6ca736d82a381ca88 SHA512 ee034e4f2d385755aa5fcddb8b562a2faf4d847591d35c47461e3cbf01382da3a85f004685c842e0c530fdb29e384b69dc496a568b9b204e276b4c8e27afd382 diff --git a/sci-mathematics/pari/pari-2.13.2.ebuild b/sci-mathematics/pari/pari-2.13.2.ebuild new file mode 100644 index 000..bc5709ab338 --- /dev/null +++ b/sci-mathematics/pari/pari-2.13.2.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2021 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="https://pari.math.u-bordeaux.fr/; +SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; + +LICENSE="GPL-2" + +# The subslot is the value of $soname_num obtained from +# upstream's config/version script. +SLOT="0/7" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="data doc fltk gmp test threads X" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + 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 PKG_CONFIG + + # Workaraound to "asm operand has impossible constraints" as + # suggested in bug #46. + 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. + # 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}" \ +
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 00e408c35215c9852c313e70b4ccc9c7c1d859a2 Author: Michael Orlitzky gentoo org> AuthorDate: Wed Sep 22 13:55:05 2021 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed Sep 22 14:56:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e408c3 sci-mathematics/pari: remove old "unused" 2.13.x ebuilds. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 2 - sci-mathematics/pari/pari-2.13.0.ebuild| 121 sci-mathematics/pari/pari-2.13.1-r1.ebuild | 122 - 3 files changed, 245 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 00a342bde85..9c863fc84b9 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,4 +1,2 @@ DIST pari-2.11.4.tar.gz 4445000 BLAKE2B e910783186eeb71e74a369681c113b77271abd7f87d7a9f366aea83f36ab984f02e312cd451fad7ee6efb2fa285780e8fa78540bb1fd4b135a62d265176c80e0 SHA512 1312f452244cd1d814a1e43e108378c956669b614845f21199b7039fe6462881168983d4badb8a80bb1bac202cd82d92788a2b4f3c23d16f993cae6e251c4fe1 -DIST pari-2.13.0.tar.gz 4758091 BLAKE2B 21a008fbca9af60c7298daf2db5c596cf881fbf4748899f417e317b2e2c0a951d152ffdab061a5f7da73db65345134a90d91e57069d9f0d0ac6eb2ad470a7a98 SHA512 671bed101be0ba0eef2c4aa4d9580477f2492f2cd354f04773df00c2fa1456d1d6d8e568d617675dc4adce3e6d1f8cbaafae45452891ceb10eba60cd669b529f -DIST pari-2.13.1.tar.gz 4760932 BLAKE2B 50c8be1d07f303665013623f07109ef42a6d82ea88e4795c90be8ae4c714f78c2f009df40c457cc1c45f1591e5b8550965a35e3c9c272b8cd17508d774ef182e SHA512 57d0811c66d58ce6abf4d34d3f2ee98efaa22aa5f65941b8bd3d2ceaf5ba57447a8fe334b9587387b31298c85f19ec356a9db05d11dc6d956f921e7fc7d1596e DIST pari-2.13.2.tar.gz 4766461 BLAKE2B f765edaee8e3b85f859edb1ac82f20aab6cda1a1bb87a2bfaf2de0824d401aef8d5f559a95bc2da565b492f49445b7cf9bcce45376b100e6ca736d82a381ca88 SHA512 ee034e4f2d385755aa5fcddb8b562a2faf4d847591d35c47461e3cbf01382da3a85f004685c842e0c530fdb29e384b69dc496a568b9b204e276b4c8e27afd382 diff --git a/sci-mathematics/pari/pari-2.13.0.ebuild b/sci-mathematics/pari/pari-2.13.0.ebuild deleted file mode 100644 index bc5709ab338..000 --- a/sci-mathematics/pari/pari-2.13.0.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2021 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="https://pari.math.u-bordeaux.fr/; -SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; - -LICENSE="GPL-2" - -# The subslot is the value of $soname_num obtained from -# upstream's config/version script. -SLOT="0/7" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="data doc fltk gmp test threads X" -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig - 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 PKG_CONFIG - - # Workaraound to "asm operand has impossible constraints" as - # suggested in bug #46. - 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. - # 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 \ -
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/files/, sci-mathematics/pari/
commit: 361658b03516ebe9ccfddfe37c22e5d812f1ea8a Author: Michael Orlitzky gentoo org> AuthorDate: Thu May 13 11:44:30 2021 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu May 13 11:45:47 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=361658b0 sci-mathematics/pari: new revision with backported rnfdisc patch. The SageMath test suite will soon require this backported patch to when using pari-2.13.1. It fixes an incorrect result and doesn't hurt anything, so we add it preemptively. Sage-bug: https://trac.sagemath.org/ticket/30801 Pari-bug: https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2284 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Michael Orlitzky gentoo.org> .../pari/files/pari-2.13.1-rnfdisc.patch | 35 ++ .../{pari-2.13.1.ebuild => pari-2.13.1-r1.ebuild} | 1 + 2 files changed, 36 insertions(+) diff --git a/sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch b/sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch new file mode 100644 index 000..39d325911e8 --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.13.1-rnfdisc.patch @@ -0,0 +1,35 @@ +From 3edb98db78dd49bb8b4137b46781a7cd570c2556 Mon Sep 17 00:00:00 2001 +From: Bill Allombert +Date: Sun, 28 Mar 2021 13:27:24 +0200 +Subject: [PATCH] rnfdisc_factored: remove spurious Q_primpart [#2284] + +diff --git a/src/basemath/base2.c b/src/basemath/base2.c +index b2b63ada5..531f5c558 100644 +--- a/src/basemath/base2.c b/src/basemath/base2.c +@@ -3582,7 +3582,7 @@ rnfdisc_factored(GEN nf, GEN pol, GEN *pd) + + nf = checknf(nf); + pol = rnfdisc_get_T(nf, pol, ); +- disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, Q_primpart(pol))); ++ disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, pol)); + pol = nfX_to_monic(nf, pol, NULL); + fa = idealfactor_partial(nf, disc, lim); + P = gel(fa,1); l = lg(P); +diff --git a/src/test/32/rnf b/src/test/32/rnf +index 6bd4585..d24e1ce 100644 (file) +--- a/src/test/32/rnf b/src/test/32/rnf +@@ -832,9 +832,9 @@ error("inconsistent dimensions in idealtwoelt.") + 0 + 0 + 1 +-[[7361, 3786, 318, 5823; 0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1], [-3, 6, -2, 0] +-~] +-[2, -1] ++[[433, 322, 318, 1318/17; 0, 1, 0, 12/17; 0, 0, 1, 5/17; 0, 0, 0, 1/17], [25 ++/17, -12/17, 12/17, 16/17]~] ++[1, -1] + *** at top-level: rnfdedekind(nf,P,pr2,1) + *** ^--- + *** rnfdedekind: sorry, Dedekind in the difficult case is not yet implemented. diff --git a/sci-mathematics/pari/pari-2.13.1.ebuild b/sci-mathematics/pari/pari-2.13.1-r1.ebuild similarity index 99% rename from sci-mathematics/pari/pari-2.13.1.ebuild rename to sci-mathematics/pari/pari-2.13.1-r1.ebuild index bc5709ab338..12230c7f452 100644 --- a/sci-mathematics/pari/pari-2.13.1.ebuild +++ b/sci-mathematics/pari/pari-2.13.1-r1.ebuild @@ -38,6 +38,7 @@ PATCHES=( "${FILESDIR}/${PN}"-2.9.4-fltk-detection.patch "${FILESDIR}/${PN}"-2.11.2-Makefile-LDFLAGS.patch "${FILESDIR}/${PN}"-2.11.2-Makefile-docinstall.patch + "${FILESDIR}/${P}"-rnfdisc.patch ) src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 40926c65a870d16c6899d6c3debb0511fb18fc51 Author: Andrey Grozin gentoo org> AuthorDate: Thu Apr 29 14:45:26 2021 + Commit: Andrey Grozin gentoo org> CommitDate: Thu Apr 29 14:45:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40926c65 sci-mathematics/pari: bump to 2.13.1 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrey Grozin gentoo.org> sci-mathematics/pari/Manifest | 1 + sci-mathematics/pari/pari-2.13.1.ebuild | 121 2 files changed, 122 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 1900bfc5504..192fb3a4f19 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,2 +1,3 @@ DIST pari-2.11.4.tar.gz 4445000 BLAKE2B e910783186eeb71e74a369681c113b77271abd7f87d7a9f366aea83f36ab984f02e312cd451fad7ee6efb2fa285780e8fa78540bb1fd4b135a62d265176c80e0 SHA512 1312f452244cd1d814a1e43e108378c956669b614845f21199b7039fe6462881168983d4badb8a80bb1bac202cd82d92788a2b4f3c23d16f993cae6e251c4fe1 DIST pari-2.13.0.tar.gz 4758091 BLAKE2B 21a008fbca9af60c7298daf2db5c596cf881fbf4748899f417e317b2e2c0a951d152ffdab061a5f7da73db65345134a90d91e57069d9f0d0ac6eb2ad470a7a98 SHA512 671bed101be0ba0eef2c4aa4d9580477f2492f2cd354f04773df00c2fa1456d1d6d8e568d617675dc4adce3e6d1f8cbaafae45452891ceb10eba60cd669b529f +DIST pari-2.13.1.tar.gz 4760932 BLAKE2B 50c8be1d07f303665013623f07109ef42a6d82ea88e4795c90be8ae4c714f78c2f009df40c457cc1c45f1591e5b8550965a35e3c9c272b8cd17508d774ef182e SHA512 57d0811c66d58ce6abf4d34d3f2ee98efaa22aa5f65941b8bd3d2ceaf5ba57447a8fe334b9587387b31298c85f19ec356a9db05d11dc6d956f921e7fc7d1596e diff --git a/sci-mathematics/pari/pari-2.13.1.ebuild b/sci-mathematics/pari/pari-2.13.1.ebuild new file mode 100644 index 000..bc5709ab338 --- /dev/null +++ b/sci-mathematics/pari/pari-2.13.1.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2021 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="https://pari.math.u-bordeaux.fr/; +SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; + +LICENSE="GPL-2" + +# The subslot is the value of $soname_num obtained from +# upstream's config/version script. +SLOT="0/7" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="data doc fltk gmp test threads X" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + 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 PKG_CONFIG + + # Workaraound to "asm operand has impossible constraints" as + # suggested in bug #46. + 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. + # 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)" \ + --sysdatadir="${EPREFIX}"/usr/share/pari \ + --mandir="${EPREFIX}"/usr/share/man/man1 \ + --with-readline="${EPREFIX}"/usr \ + --with-readline-lib="${EPREFIX}/usr/$(get_libdir)" \ +
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari-data/
commit: e072531bf16167402a0aeda998d540f5c5f016e4 Author: Fabian Groffen gentoo org> AuthorDate: Wed Jan 6 15:18:57 2021 + Commit: Fabian Groffen gentoo org> CommitDate: Wed Jan 6 15:19:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e072531b sci-mathematics/pari-data: drop x86-macos Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> sci-mathematics/pari-data/pari-data-20191216.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/pari-data/pari-data-20191216.ebuild b/sci-mathematics/pari-data/pari-data-20191216.ebuild index 2a06f493c76..06f8b1185bc 100644 --- a/sci-mathematics/pari-data/pari-data-20191216.ebuild +++ b/sci-mathematics/pari-data/pari-data-20191216.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,7 @@ done LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~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-solaris" IUSE="" S="${WORKDIR}"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 73de6c1aae5cabe6417cce403da626c27220a72d Author: Michael Orlitzky gentoo org> AuthorDate: Tue Oct 20 19:06:47 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Oct 20 20:47:37 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73de6c1a sci-mathematics/pari: new version 2.13.0. Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 + sci-mathematics/pari/pari-2.13.0.ebuild | 118 2 files changed, 119 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 2988ed6bb11..1900bfc5504 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1 +1,2 @@ DIST pari-2.11.4.tar.gz 4445000 BLAKE2B e910783186eeb71e74a369681c113b77271abd7f87d7a9f366aea83f36ab984f02e312cd451fad7ee6efb2fa285780e8fa78540bb1fd4b135a62d265176c80e0 SHA512 1312f452244cd1d814a1e43e108378c956669b614845f21199b7039fe6462881168983d4badb8a80bb1bac202cd82d92788a2b4f3c23d16f993cae6e251c4fe1 +DIST pari-2.13.0.tar.gz 4758091 BLAKE2B 21a008fbca9af60c7298daf2db5c596cf881fbf4748899f417e317b2e2c0a951d152ffdab061a5f7da73db65345134a90d91e57069d9f0d0ac6eb2ad470a7a98 SHA512 671bed101be0ba0eef2c4aa4d9580477f2492f2cd354f04773df00c2fa1456d1d6d8e568d617675dc4adce3e6d1f8cbaafae45452891ceb10eba60cd669b529f diff --git a/sci-mathematics/pari/pari-2.13.0.ebuild b/sci-mathematics/pari/pari-2.13.0.ebuild new file mode 100644 index 000..af9b5c717ca --- /dev/null +++ b/sci-mathematics/pari/pari-2.13.0.ebuild @@ -0,0 +1,118 @@ +# 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="https://pari.math.u-bordeaux.fr/; +SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; + +LICENSE="GPL-2" + +# The subslot is the value of $soname_num obtained from +# upstream's config/version script. +SLOT="0/7" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +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 #46. + 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. + # 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)" \ + --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\
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 2e53298c96157f6f96dea860f15bc66835e5356c Author: Kent Fredric gentoo org> AuthorDate: Thu Jul 23 07:01:32 2020 + Commit: Kent Fredric gentoo org> CommitDate: Thu Jul 23 07:02:49 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e53298c sci-mathematics/pari: Drop x86-{macos,solaris} re bug #690140 Depends: - x11-misc/xdg-utils - dev-perl/Net-DBus - dev-perl/XML-Twig - dev-perl/libwww-perl - dev-perl/LWP-Protocol-https - dev-perl/IO-Socket-SSL Bug: https://bugs.gentoo.org/690140 Package-Manager: Portage-2.3.103, Repoman-2.3.22 Signed-off-by: Kent Fredric gentoo.org> sci-mathematics/pari/pari-2.11.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild index 83c80f0b226..83c7847848a 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 ~arm ~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" IUSE="data doc fltk gmp test threads X" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: ce0f8203fc193334040dd16bdca2ff7a2b2c1e09 Author: Michael Orlitzky gentoo org> AuthorDate: Mon Jun 29 00:45:57 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Jun 29 00:53:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce0f8203 sci-mathematics/pari: remove old pari-2.11.2.ebuild. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 - sci-mathematics/pari/pari-2.11.2.ebuild | 111 2 files changed, 112 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 0c8ef471926..2988ed6bb11 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,2 +1 @@ -DIST pari-2.11.2.tar.gz 4433038 BLAKE2B 89fd8c14d6ee8c8640432bec75e10b79897f0180212dcb1b04b654478a3258fc13a7f982bcb400e28997934a21667c0c3cb08fdb2e843a80a24c6499feafb639 SHA512 22f5a6ecad6d9b8b337c2655f538a196a0460f6fe98256d0f49557ce7b843f6b27ad364f45a9472aaafee9506386c886f1f0d62697078e501ec465151d4d10a1 DIST pari-2.11.4.tar.gz 4445000 BLAKE2B e910783186eeb71e74a369681c113b77271abd7f87d7a9f366aea83f36ab984f02e312cd451fad7ee6efb2fa285780e8fa78540bb1fd4b135a62d265176c80e0 SHA512 1312f452244cd1d814a1e43e108378c956669b614845f21199b7039fe6462881168983d4badb8a80bb1bac202cd82d92788a2b4f3c23d16f993cae6e251c4fe1 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 3d42e03c198..000 --- 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 #46. - 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
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 7ef9eb5b02b4488e9dcc9ab0294fdbd9972b8577 Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Jun 28 20:42:40 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Jun 28 20:42:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef9eb5b sci-mathematics/pari: x86 stable wrt bug #729202 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sci-mathematics/pari/pari-2.11.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild index 79963398ddc..83c80f0b226 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 ~arm ~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 )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 9c626320e364db334c7d7b93f1c91a31616b99df Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Jun 28 20:37:15 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Jun 28 20:37:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c626320 sci-mathematics/pari: ppc64 stable wrt bug #729202 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> sci-mathematics/pari/pari-2.11.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild index 3b7680f31ce..79963398ddc 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 ~arm ~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 )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: a4aaae85e2059598c416f2ea3c6ad8635a3a9b7a Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Jun 28 20:33:29 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Jun 28 20:33:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4aaae85 sci-mathematics/pari: ppc stable wrt bug #729202 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> sci-mathematics/pari/pari-2.11.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild index 98f3d39138c..3b7680f31ce 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 ~arm ~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 )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: a06de77c85afdf50f0c9a9c13c490ffa5daef21d Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Jun 28 20:26:17 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Jun 28 20:26:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06de77c sci-mathematics/pari: amd64 stable wrt bug #729202 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sci-mathematics/pari/pari-2.11.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild index 2d485e21564..98f3d39138c 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 ~arm ~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 )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 623d4ab26471435828adb197d675568b9212af47 Author: François Bissey gmail com> AuthorDate: Sat Jun 27 08:51:47 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Sun Jun 28 11:44:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623d4ab2 sci-mathematics/pari: unset LD at configuration time Package-Manager: Portage-2.3.99, Repoman-2.3.23 Closes: https://bugs.gentoo.org/722090 Closes: https://github.com/gentoo/gentoo/pull/16445 Signed-off-by: François René Pierre Bissey gmail.com> Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/pari-2.11.4.ebuild | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild index 8dc1c90f6f0..2d485e21564 100644 --- a/sci-mathematics/pari/pari-2.11.4.ebuild +++ b/sci-mathematics/pari/pari-2.11.4.ebuild @@ -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)" \
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 82bcbae0ddd825052156e3996c4f5c8ede7091bc Author: Sam James (sam_c) cmpct info> AuthorDate: Sun Jun 21 15:03:06 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Jun 26 20:21:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82bcbae0 sci-mathematics/pari: arm keyworded (bug #710994) Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Thomas Deutschmann gentoo.org> sci-mathematics/pari/pari-2.11.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild index 564ed9639a7..8dc1c90f6f0 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 )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 951e5ebfacd60f44d80352cfd5396bf0e9525a16 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Apr 28 12:41:41 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Apr 28 12:42:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=951e5ebf sci-mathematics/pari: replace DOCS array. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/pari-2.11.4.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild index 076c2cdc55f..564ed9639a7 100644 --- a/sci-mathematics/pari/pari-2.11.4.ebuild +++ b/sci-mathematics/pari/pari-2.11.4.ebuild @@ -97,6 +97,7 @@ src_test() { } src_install() { + DOCS=( AUTHORS CHANGES* COMPAT NEW README* ) default if use doc; then
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 656c494ce663f14370759b325468fd490ba2aa85 Author: Joonas Niilola gentoo org> AuthorDate: Sun Apr 26 10:37:38 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Apr 26 10:38:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=656c494c sci-mathematics/pari: remove DOCS array, works fine without Signed-off-by: Joonas Niilola gentoo.org> sci-mathematics/pari/pari-2.11.4.ebuild | 2 -- 1 file changed, 2 deletions(-) diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild index ea2ec821049..076c2cdc55f 100644 --- a/sci-mathematics/pari/pari-2.11.4.ebuild +++ b/sci-mathematics/pari/pari-2.11.4.ebuild @@ -34,8 +34,6 @@ PATCHES=( "${FILESDIR}/${PN}"-2.11.2-Makefile-docinstall.patch ) -DOCS=( AUTHORS CHANGES* COMPAT NEW README* ) - src_prepare() { default
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/, sci-mathematics/pari/files/
commit: 2ad4661499ae447c67c366828a89afae43b23dfa Author: François Bissey gmail com> AuthorDate: Wed Apr 22 02:18:51 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Apr 26 08:39:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad46614 sci-mathematics/pari: superceded by new release Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: François René Pierre Bissey gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15441 Signed-off-by: Joonas Niilola gentoo.org> sci-mathematics/pari/Manifest | 1 - .../files/pari-2.11.3-incorrect_bnfisunit.patch| 49 - sci-mathematics/pari/pari-2.11.3.ebuild| 112 - 3 files changed, 162 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index a01ef39374a..0c8ef471926 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,3 +1,2 @@ DIST pari-2.11.2.tar.gz 4433038 BLAKE2B 89fd8c14d6ee8c8640432bec75e10b79897f0180212dcb1b04b654478a3258fc13a7f982bcb400e28997934a21667c0c3cb08fdb2e843a80a24c6499feafb639 SHA512 22f5a6ecad6d9b8b337c2655f538a196a0460f6fe98256d0f49557ce7b843f6b27ad364f45a9472aaafee9506386c886f1f0d62697078e501ec465151d4d10a1 -DIST pari-2.11.3.tar.gz 4441199 BLAKE2B 49b001f2dc27d1be7a742c165881f2b21d55cf387a91d880bd3a16cbc5d69172f931caa779c5ccbe79b6855175695b5e88ff99b420b4f2b7404dd5e4a53a135c SHA512 2624cdd0523ec02324f58af65703003c88ab596bcaa30c366a9ea01123b0ae657285b10016abaa06b6783ba34dd4980f560900b836b8df228b9dbe0ca36a5b11 DIST pari-2.11.4.tar.gz 4445000 BLAKE2B e910783186eeb71e74a369681c113b77271abd7f87d7a9f366aea83f36ab984f02e312cd451fad7ee6efb2fa285780e8fa78540bb1fd4b135a62d265176c80e0 SHA512 1312f452244cd1d814a1e43e108378c956669b614845f21199b7039fe6462881168983d4badb8a80bb1bac202cd82d92788a2b4f3c23d16f993cae6e251c4fe1 diff --git a/sci-mathematics/pari/files/pari-2.11.3-incorrect_bnfisunit.patch b/sci-mathematics/pari/files/pari-2.11.3-incorrect_bnfisunit.patch deleted file mode 100644 index 877cc6ace75..000 --- a/sci-mathematics/pari/files/pari-2.11.3-incorrect_bnfisunit.patch +++ /dev/null @@ -1,49 +0,0 @@ -From: Karim Belabas -Date: Mon, 9 Sep 2019 15:20:21 + (+0200) -Subject: fix #2164 -X-Git-Url: https://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=commitdiff_plain;h=c7a1d35f382e96ddf14694be27a0ca5746880700 - -fix #2164 - -diff --git a/src/basemath/buch2.c b/src/basemath/buch2.c -index a853d3c48..e31b2278b 100644 a/src/basemath/buch2.c -+++ b/src/basemath/buch2.c -@@ -2136,7 +2136,8 @@ bnfisunit(GEN bnf,GEN x) - for (i = 1; i < RU; i++) - if (gexpo(gel(emb,i)) > -1) break; - p1 = imag_i( row_i(logunit,i, 1,RU-1) ); -- p1 = RgV_dotproduct(p1, ex); if (!R1) p1 = gmul2n(p1, -1); -+ p1 = RgV_dotproduct(p1, ex); -+ if (i > R1) p1 = gmul2n(p1, -1); - p1 = gsub(garg(gel(emb,i),prec), p1); - /* p1 = arg(the missing root of 1) */ - -diff --git a/src/test/32/nf b/src/test/32/nf -index 16bf83ce3..e6c41f8b5 100644 a/src/test/32/nf -+++ b/src/test/32/nf -@@ -502,6 +502,7 @@ Mod(1/2*x - 1/2, x^2 + 23) - [1, 1/2*x - 1/2] - Mod(0, x) - Mod(-6/5, x) -+[0, 2, Mod(0, 2)]~ - *** at top-level: nfinit([y^3+2,[1,x]]) - *** ^- - *** nfinit: incorrect type in nfinit_basic (t_VEC). -diff --git a/src/test/in/nf b/src/test/in/nf -index 49148123b..94d5165bc 100644 a/src/test/in/nf -+++ b/src/test/in/nf -@@ -156,6 +156,10 @@ K.zk - nfinit(x, 3)[2] - nfinit(1/2*x + 3/5, 3)[2] - -+\\ #2164 -+bnf = bnfinit(y^4-y-1); -+bnfisunit(bnf,-y^3+2*y^2-1) -+ - \\ ERRORS: keep at end of file - - nfinit([y^3+2,[1,x]]) diff --git a/sci-mathematics/pari/pari-2.11.3.ebuild b/sci-mathematics/pari/pari-2.11.3.ebuild deleted file mode 100644 index 7f3a302bbe4..000 --- a/sci-mathematics/pari/pari-2.11.3.ebuild +++ /dev/null @@ -1,112 +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="https://pari.math.u-bordeaux.fr/; -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" -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 -
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 9cc387c67c4eb3f469d49055e2723493250335a4 Author: Joonas Niilola gentoo org> AuthorDate: Sun Apr 26 08:04:43 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Apr 26 08:39:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cc387c6 sci-mathematics/pari: move DOCS array to its correct place Signed-off-by: Joonas Niilola gentoo.org> sci-mathematics/pari/pari-2.11.4.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild index 564ed9639a7..ea2ec821049 100644 --- a/sci-mathematics/pari/pari-2.11.4.ebuild +++ b/sci-mathematics/pari/pari-2.11.4.ebuild @@ -34,6 +34,8 @@ PATCHES=( "${FILESDIR}/${PN}"-2.11.2-Makefile-docinstall.patch ) +DOCS=( AUTHORS CHANGES* COMPAT NEW README* ) + src_prepare() { default @@ -97,7 +99,6 @@ src_test() { } src_install() { - DOCS=( AUTHORS CHANGES* COMPAT NEW README* ) default if use doc; then
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 8439106d175ffd82e8039e227b61c659847f30b1 Author: François Bissey gmail com> AuthorDate: Wed Apr 22 02:16:40 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Apr 26 08:39:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8439106d sci-mathematics/pari: New upstream release Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: François René Pierre Bissey gmail.com> Signed-off-by: Joonas Niilola gentoo.org> sci-mathematics/pari/Manifest | 1 + sci-mathematics/pari/pari-2.11.4.ebuild | 111 2 files changed, 112 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index dc1b0ad1731..a01ef39374a 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,2 +1,3 @@ DIST pari-2.11.2.tar.gz 4433038 BLAKE2B 89fd8c14d6ee8c8640432bec75e10b79897f0180212dcb1b04b654478a3258fc13a7f982bcb400e28997934a21667c0c3cb08fdb2e843a80a24c6499feafb639 SHA512 22f5a6ecad6d9b8b337c2655f538a196a0460f6fe98256d0f49557ce7b843f6b27ad364f45a9472aaafee9506386c886f1f0d62697078e501ec465151d4d10a1 DIST pari-2.11.3.tar.gz 4441199 BLAKE2B 49b001f2dc27d1be7a742c165881f2b21d55cf387a91d880bd3a16cbc5d69172f931caa779c5ccbe79b6855175695b5e88ff99b420b4f2b7404dd5e4a53a135c SHA512 2624cdd0523ec02324f58af65703003c88ab596bcaa30c366a9ea01123b0ae657285b10016abaa06b6783ba34dd4980f560900b836b8df228b9dbe0ca36a5b11 +DIST pari-2.11.4.tar.gz 4445000 BLAKE2B e910783186eeb71e74a369681c113b77271abd7f87d7a9f366aea83f36ab984f02e312cd451fad7ee6efb2fa285780e8fa78540bb1fd4b135a62d265176c80e0 SHA512 1312f452244cd1d814a1e43e108378c956669b614845f21199b7039fe6462881168983d4badb8a80bb1bac202cd82d92788a2b4f3c23d16f993cae6e251c4fe1 diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild new file mode 100644 index 000..564ed9639a7 --- /dev/null +++ b/sci-mathematics/pari/pari-2.11.4.ebuild @@ -0,0 +1,111 @@ +# 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="https://pari.math.u-bordeaux.fr/; +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" +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 #46. + 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\
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/, sci-mathematics/pari/files/
commit: 15f489e9fbc977dc72d9bdcabc8b19dce3e2aabf Author: François Bissey gmail com> AuthorDate: Wed Apr 8 04:19:36 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Apr 17 07:35:53 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15f489e9 sci-mathematics/pari: new release + upstream patch Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: François René Pierre Bissey gmail.com> Signed-off-by: Joonas Niilola gentoo.org> sci-mathematics/pari/Manifest | 1 + .../files/pari-2.11.3-incorrect_bnfisunit.patch| 49 + sci-mathematics/pari/pari-2.11.3.ebuild| 112 + 3 files changed, 162 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index c679cd11326..dc1b0ad1731 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1 +1,2 @@ DIST pari-2.11.2.tar.gz 4433038 BLAKE2B 89fd8c14d6ee8c8640432bec75e10b79897f0180212dcb1b04b654478a3258fc13a7f982bcb400e28997934a21667c0c3cb08fdb2e843a80a24c6499feafb639 SHA512 22f5a6ecad6d9b8b337c2655f538a196a0460f6fe98256d0f49557ce7b843f6b27ad364f45a9472aaafee9506386c886f1f0d62697078e501ec465151d4d10a1 +DIST pari-2.11.3.tar.gz 4441199 BLAKE2B 49b001f2dc27d1be7a742c165881f2b21d55cf387a91d880bd3a16cbc5d69172f931caa779c5ccbe79b6855175695b5e88ff99b420b4f2b7404dd5e4a53a135c SHA512 2624cdd0523ec02324f58af65703003c88ab596bcaa30c366a9ea01123b0ae657285b10016abaa06b6783ba34dd4980f560900b836b8df228b9dbe0ca36a5b11 diff --git a/sci-mathematics/pari/files/pari-2.11.3-incorrect_bnfisunit.patch b/sci-mathematics/pari/files/pari-2.11.3-incorrect_bnfisunit.patch new file mode 100644 index 000..877cc6ace75 --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.11.3-incorrect_bnfisunit.patch @@ -0,0 +1,49 @@ +From: Karim Belabas +Date: Mon, 9 Sep 2019 15:20:21 + (+0200) +Subject: fix #2164 +X-Git-Url: https://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=commitdiff_plain;h=c7a1d35f382e96ddf14694be27a0ca5746880700 + +fix #2164 +--- + +diff --git a/src/basemath/buch2.c b/src/basemath/buch2.c +index a853d3c48..e31b2278b 100644 +--- a/src/basemath/buch2.c b/src/basemath/buch2.c +@@ -2136,7 +2136,8 @@ bnfisunit(GEN bnf,GEN x) + for (i = 1; i < RU; i++) + if (gexpo(gel(emb,i)) > -1) break; + p1 = imag_i( row_i(logunit,i, 1,RU-1) ); +- p1 = RgV_dotproduct(p1, ex); if (!R1) p1 = gmul2n(p1, -1); ++ p1 = RgV_dotproduct(p1, ex); ++ if (i > R1) p1 = gmul2n(p1, -1); + p1 = gsub(garg(gel(emb,i),prec), p1); + /* p1 = arg(the missing root of 1) */ + +diff --git a/src/test/32/nf b/src/test/32/nf +index 16bf83ce3..e6c41f8b5 100644 +--- a/src/test/32/nf b/src/test/32/nf +@@ -502,6 +502,7 @@ Mod(1/2*x - 1/2, x^2 + 23) + [1, 1/2*x - 1/2] + Mod(0, x) + Mod(-6/5, x) ++[0, 2, Mod(0, 2)]~ + *** at top-level: nfinit([y^3+2,[1,x]]) + *** ^- + *** nfinit: incorrect type in nfinit_basic (t_VEC). +diff --git a/src/test/in/nf b/src/test/in/nf +index 49148123b..94d5165bc 100644 +--- a/src/test/in/nf b/src/test/in/nf +@@ -156,6 +156,10 @@ K.zk + nfinit(x, 3)[2] + nfinit(1/2*x + 3/5, 3)[2] + ++\\ #2164 ++bnf = bnfinit(y^4-y-1); ++bnfisunit(bnf,-y^3+2*y^2-1) ++ + \\ ERRORS: keep at end of file + + nfinit([y^3+2,[1,x]]) diff --git a/sci-mathematics/pari/pari-2.11.3.ebuild b/sci-mathematics/pari/pari-2.11.3.ebuild new file mode 100644 index 000..7f3a302bbe4 --- /dev/null +++ b/sci-mathematics/pari/pari-2.11.3.ebuild @@ -0,0 +1,112 @@ +# 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="https://pari.math.u-bordeaux.fr/; +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" +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 + "${FILESDIR}/${PN}"-2.11.3-incorrect_bnfisunit.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 =
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/files/, sci-mathematics/pari/
commit: 266f4febeddcf7bd2ae04f3e2cc8b53ea1ca64e2 Author: Michael Orlitzky gentoo org> AuthorDate: Thu Feb 27 21:03:34 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Feb 27 21:03:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=266f4feb sci-mathematics/pari: drop old unstable v2.9.4. We lost the ~arm keyword somewhere in the upgrade. I filed a keyword request to see if pari still works on arm. Bug: https://bugs.gentoo.org/710994 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 - .../pari/files/pari-2.9.4-no-automagic.patch | 66 --- sci-mathematics/pari/pari-2.9.4-r1.ebuild | 126 - 3 files changed, 193 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 66779145ec1..c679cd11326 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,2 +1 @@ DIST pari-2.11.2.tar.gz 4433038 BLAKE2B 89fd8c14d6ee8c8640432bec75e10b79897f0180212dcb1b04b654478a3258fc13a7f982bcb400e28997934a21667c0c3cb08fdb2e843a80a24c6499feafb639 SHA512 22f5a6ecad6d9b8b337c2655f538a196a0460f6fe98256d0f49557ce7b843f6b27ad364f45a9472aaafee9506386c886f1f0d62697078e501ec465151d4d10a1 -DIST pari-2.9.4.tar.gz 3851772 BLAKE2B 648e7fd14888bed2dfb7bbb9a25d097aa91899780da9734b444e29997916c27773109e735ecb2d3e9d164a596f3bb8da607d83f278e52d84c49a56df5c89b530 SHA512 539534496e9733bd905b6131374eef8019f93398423710d339bd3c01245e1af675a0a3f9489a05c3ceb2cf3b3426e6b1fb11ea4886b76a1b2e793b59f52e8787 diff --git a/sci-mathematics/pari/files/pari-2.9.4-no-automagic.patch b/sci-mathematics/pari/files/pari-2.9.4-no-automagic.patch deleted file mode 100644 index 3612d8f020f..000 --- a/sci-mathematics/pari/files/pari-2.9.4-no-automagic.patch +++ /dev/null @@ -1,66 +0,0 @@ -diff -r -U2 pari-2.9.4.orig/config/Makefile.SH pari-2.9.4/config/Makefile.SH pari-2.9.4.orig/config/Makefile.SH 2017-11-09 16:26:14.0 +0700 -+++ pari-2.9.4/config/Makefile.SH 2018-01-13 17:31:02.404210285 +0700 -@@ -80,10 +80,10 @@ - graph=plotQt;; - Qt4) -- PLOTCFLAGS='-D__FANCY_WIN__ -I$(QTDIR)/include' -- PLOTLIBS="-L\$(QTDIR)/lib $QTLIB" -+ PLOTCFLAGS='-D__FANCY_WIN__ `pkg-config --cflags QtGui`' -+ PLOTLIBS="`pkg-config --libs QtGui`" - graph=plotQt4;; - fltk) -- PLOTCFLAGS= -- PLOTLIBS="$FLTK_LIBS" -+ PLOTCFLAGS="`fltk-config --cxxflags` $X11_INC" -+ PLOTLIBS="`fltk-config --ldflags`" - postconfig='fltk-config --post ' - graph=plotfltk;; -@@ -277,5 +277,5 @@ - # Graphic library. - QTDIR = "$QTDIR" --MOC= \$(QTDIR)/bin/moc -+MOC= "`which moc`" - PLOTCFLAGS = $PLOTCFLAGS - PLOTLIBS = $PLOTLIBS -diff -r -U2 pari-2.9.4.orig/config/get_Qt pari-2.9.4/config/get_Qt pari-2.9.4.orig/config/get_Qt 2017-05-12 16:45:12.0 +0700 -+++ pari-2.9.4/config/get_Qt 2018-01-13 17:35:49.481198212 +0700 -@@ -6,5 +6,5 @@ - yes) -pth="/usr/local/lib /usr/local/share /usr/lib /usr/share" -- QTDIR=`locatedir qt4/bin $pth` -+ QTDIR=`locatedir qt4 $pth` -if test -n "$QTDIR"; then - QTLIB="-lQtCore -lQtGui" -diff -r -U2 pari-2.9.4.orig/config/get_config_options pari-2.9.4/config/get_config_options pari-2.9.4.orig/config/get_config_options 2017-11-09 16:26:14.0 +0700 -+++ pari-2.9.4/config/get_config_options 2018-01-13 17:38:39.264191072 +0700 -@@ -87,8 +87,10 @@ - with_ncurses_lib=`echo "$1" | sed -e 's/[-a-z]*=//'` ;; - -+ --without-qt|--with-qt=no) without_qt=yes ;; - --with-qt) with_qt=yes ;; - --with-qt=*) - with_qt=`echo "$1" | sed -e 's/[-a-z]*=//'` ;; - -+ --without-fltk|--with-fltk=no) without_fltk=yes ;; - --with-fltk) with_fltk=yes ;; - --with-fltk=*) -@@ -168,5 +170,7 @@ - - --with-qt[=DIR]use the Qt graphical library [prefix for Qt dir.] -+ --without-qt do not try to use the Qt lib - --with-fltkuse the FLTK graphical library [need fltk-config] -+ --without-fltk do not try to use the FLTK lib - - Miscellaneous -diff -r -U2 pari-2.9.4.orig/config/get_graphic_lib pari-2.9.4/config/get_graphic_lib pari-2.9.4.orig/config/get_graphic_lib 2017-11-09 16:26:14.0 +0700 -+++ pari-2.9.4/config/get_graphic_lib 2018-01-13 17:42:45.760180706 +0700 -@@ -8,4 +8,5 @@ - if test -n "$with_fltk"; then which_graphic_lib=fltk; fi - if test -n "$with_qt"; then which_graphic_lib=Qt; fi -+if test -n "$without_fltk" -a -n "$without_qt"; then which_graphic_lib=none; fi - if test "$fastread" != yes; then - cat << EOT diff --git a/sci-mathematics/pari/pari-2.9.4-r1.ebuild b/sci-mathematics/pari/pari-2.9.4-r1.ebuild deleted file mode 100644 index 84317023bfd..000 --- a/sci-mathematics/pari/pari-2.9.4-r1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 1a3205b822db58fd2a0767f316e3807bec55a3ea Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 24 12:49:39 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 24 12:49:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a3205b8 sci-mathematics/pari: x86 stable wrt bug #710354 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sci-mathematics/pari/pari-2.11.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.11.2.ebuild b/sci-mathematics/pari/pari-2.11.2.ebuild index 1ae94698ffe..3d42e03c198 100644 --- a/sci-mathematics/pari/pari-2.11.2.ebuild +++ b/sci-mathematics/pari/pari-2.11.2.ebuild @@ -11,7 +11,7 @@ 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" +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 )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari-data/
commit: 2844ad7af5b7f797b64bf713b28d5e73218fb305 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 24 12:49:41 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 24 12:49:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2844ad7a sci-mathematics/pari-data: x86 stable wrt bug #710354 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sci-mathematics/pari-data/pari-data-20191216.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari-data/pari-data-20191216.ebuild b/sci-mathematics/pari-data/pari-data-20191216.ebuild index 82e3c49611d..2a06f493c76 100644 --- a/sci-mathematics/pari-data/pari-data-20191216.ebuild +++ b/sci-mathematics/pari-data/pari-data-20191216.ebuild @@ -18,7 +18,7 @@ done LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~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="" S="${WORKDIR}"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari-data/
commit: 51076e704aefa2af7276067bdb3f912fb9762bd8 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 24 11:43:14 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 24 11:43:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51076e70 sci-mathematics/pari-data: ppc stable wrt bug #710354 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> sci-mathematics/pari-data/pari-data-20191216.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari-data/pari-data-20191216.ebuild b/sci-mathematics/pari-data/pari-data-20191216.ebuild index 2948aadcb61..82e3c49611d 100644 --- a/sci-mathematics/pari-data/pari-data-20191216.ebuild +++ b/sci-mathematics/pari-data/pari-data-20191216.ebuild @@ -18,7 +18,7 @@ done LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~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="" S="${WORKDIR}"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 9500f5134601b036d120b88d5f4773217704c19c Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 24 11:43:12 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 24 11:43:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9500f513 sci-mathematics/pari: ppc stable wrt bug #710354 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> sci-mathematics/pari/pari-2.11.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.11.2.ebuild b/sci-mathematics/pari/pari-2.11.2.ebuild index db18b208ea8..1ae94698ffe 100644 --- a/sci-mathematics/pari/pari-2.11.2.ebuild +++ b/sci-mathematics/pari/pari-2.11.2.ebuild @@ -11,7 +11,7 @@ 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" +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 )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari-data/
commit: d144269e5028099dcf0676c0ebe142a56b163d6c Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 24 11:30:29 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 24 11:30:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d144269e sci-mathematics/pari-data: ppc64 stable wrt bug #710354 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> sci-mathematics/pari-data/pari-data-20191216.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari-data/pari-data-20191216.ebuild b/sci-mathematics/pari-data/pari-data-20191216.ebuild index bd8d7a86f29..2948aadcb61 100644 --- a/sci-mathematics/pari-data/pari-data-20191216.ebuild +++ b/sci-mathematics/pari-data/pari-data-20191216.ebuild @@ -18,7 +18,7 @@ done LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~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="" S="${WORKDIR}"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari-data/
commit: eec9c938a7ef9ab65bb09d2b2213d28a82d722db Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Feb 21 15:56:52 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Feb 21 15:56:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eec9c938 sci-mathematics/pari-data: amd64 stable wrt bug #710354 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sci-mathematics/pari-data/pari-data-20191216.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/pari-data/pari-data-20191216.ebuild b/sci-mathematics/pari-data/pari-data-20191216.ebuild index f41ab40d38c..bd8d7a86f29 100644 --- a/sci-mathematics/pari-data/pari-data-20191216.ebuild +++ b/sci-mathematics/pari-data/pari-data-20191216.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,7 @@ done LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~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="" S="${WORKDIR}"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: e603dc70e4b4536e2d9a95a94c89c431734aad53 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Feb 21 15:56:48 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Feb 21 15:56:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e603dc70 sci-mathematics/pari: amd64 stable wrt bug #710354 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sci-mathematics/pari/pari-2.11.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/pari/pari-2.11.2.ebuild b/sci-mathematics/pari/pari-2.11.2.ebuild index 4d53f82467f..b230a55e4f0 100644 --- a/sci-mathematics/pari/pari-2.11.2.ebuild +++ b/sci-mathematics/pari/pari-2.11.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ 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" +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 )"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/files/, sci-mathematics/pari/
commit: e3fd7bb8cfe64cd5b92cbf5d758ffb8aeddf8f8e Author: Michael Orlitzky gentoo org> AuthorDate: Sat Dec 28 13:22:33 2019 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Dec 28 13:57:35 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3fd7bb8 sci-mathematics/pari: new version 2.11.2. This new version was imported from the sage-on-gentoo overlay where François Bissey has been maintaining it for use with SageMath. I've made a few changes: * Moved the virtual/latex-base dependency into BDEPEND, because those tools are run on the build host to create the documentation. * Used the existing patches (with different names) where possible. * Edited pari-2.10-no-automagic.patch to not mess with PLOTLIBS when USE=fltk is set. My build was failing because this patch resulted in -lstdc++ being stripped from the linker flags. * Dropped empty variable "${mymake}" in a few places. * Enabled the full test suite, which passes for me if I lie to pari about the number of columns my terminal has (???). * Installed some extra documentation by setting DOCS and calling the default implementation of src_install. * Used "usex" instead of an "if" statement for a ./Configure flag. * Changed "export CPLUSPLUS=$(tc-getCXX)" to "tc-export CXX". The CPLUSPLUS variable doesn't appear anywhere in the source, so I doubt this was doing anything. It may not even be necessary to export CC/CXX any longer. * Added RESTRICT="!test? ( test )" now that we run the test suite. * Added myself and François as maintainers. Closes: https://bugs.gentoo.org/703156 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari/Manifest | 1 + .../pari/files/pari-2.11.2-Makefile-LDFLAGS.patch | 13 +++ .../files/pari-2.11.2-Makefile-docinstall.patch| 25 + .../pari/files/pari-2.11.2-no-automagic.patch | 74 ++ sci-mathematics/pari/metadata.xml | 16 +++ sci-mathematics/pari/pari-2.11.2.ebuild| 111 + 6 files changed, 240 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 01bd0f5957d..66779145ec1 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1 +1,2 @@ +DIST pari-2.11.2.tar.gz 4433038 BLAKE2B 89fd8c14d6ee8c8640432bec75e10b79897f0180212dcb1b04b654478a3258fc13a7f982bcb400e28997934a21667c0c3cb08fdb2e843a80a24c6499feafb639 SHA512 22f5a6ecad6d9b8b337c2655f538a196a0460f6fe98256d0f49557ce7b843f6b27ad364f45a9472aaafee9506386c886f1f0d62697078e501ec465151d4d10a1 DIST pari-2.9.4.tar.gz 3851772 BLAKE2B 648e7fd14888bed2dfb7bbb9a25d097aa91899780da9734b444e29997916c27773109e735ecb2d3e9d164a596f3bb8da607d83f278e52d84c49a56df5c89b530 SHA512 539534496e9733bd905b6131374eef8019f93398423710d339bd3c01245e1af675a0a3f9489a05c3ceb2cf3b3426e6b1fb11ea4886b76a1b2e793b59f52e8787 diff --git a/sci-mathematics/pari/files/pari-2.11.2-Makefile-LDFLAGS.patch b/sci-mathematics/pari/files/pari-2.11.2-Makefile-LDFLAGS.patch new file mode 100644 index 000..6d6e6726ddf --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.11.2-Makefile-LDFLAGS.patch @@ -0,0 +1,13 @@ +diff --git a/config/Makefile.SH b/config/Makefile.SH +index 27c6d5b..43debb1 100644 +--- a/config/Makefile.SH b/config/Makefile.SH +@@ -185,7 +185,7 @@ LD = $LD \$(LD_FLAVOR) + LDFLAGS= $LDFLAGS + DLLD_FLAVOR = \$(LD_FLAVOR) + DLLD = $DLLD \$(DLLD_FLAVOR) +-DLLDFLAGS = $DLLDFLAGS ++DLLDFLAGS = $DLLDFLAGS \$(LDFLAGS) + EXTRADLLDFLAGS = $EXTRADLLDFLAGS + RUNTEST= $RUNTEST + diff --git a/sci-mathematics/pari/files/pari-2.11.2-Makefile-docinstall.patch b/sci-mathematics/pari/files/pari-2.11.2-Makefile-docinstall.patch new file mode 100644 index 000..5f03d77d9e7 --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.11.2-Makefile-docinstall.patch @@ -0,0 +1,25 @@ +diff --git a/config/Makefile.SH b/config/Makefile.SH +index 27c6d5b..43debb1 100644 +--- a/config/Makefile.SH b/config/Makefile.SH +@@ -366,9 +366,9 @@ clean: cleanall + .headers: $HEADERS + @touch \$@ + +-install-nodata: install-lib-$dft install-include install-bin install-man install-misc install-examples install-cfg ++install-nodata: install-lib-$dft install-include install-bin install-man install-misc install-cfg + +-install: install-doc install-nodata install-data ++install: install-nodata install-data + + install-include: + -mkdir -p \$(INCLUDEDIR)/pari +@@ -425,7 +425,7 @@ install-cfg:: + \$(INSTALL_DATA) $desc/PARI/822.pm \$(DATADIR)/PARI;\ + \$(INSTALL_DATA) $desc/\$(DESC) \$(DATADIR); fi + +-install-doc: install-docdvi install-doctex ++install-doc: install-docpdf install-doctex install-examples + + install-doctex: + -mkdir -p \$(BINDIR) \$(DOCDIR) diff --git
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari-data/
commit: 5121731dc7e97afd304d04c1f11239174c78ffc5 Author: Michael Orlitzky gentoo org> AuthorDate: Mon Dec 16 22:43:45 2019 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Dec 16 22:44:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5121731d sci-mathematics/pari-data: new version to force mirror of new tarballs. There are new versions of these databases, but upstream modifies the (unversioned) tarballs for them in-place when that happens. We tag the distfiles with the package version, however, so this new version should force new copies of everything to be mirrored. In addition, I've used https in HOMEPAGE and SRC_URI, and have updated the ebuild from EAPI=4 to EAPI=7. Closes: https://bugs.gentoo.org/703146 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/pari-data/Manifest | 10 .../pari-data/pari-data-20120726.ebuild| 25 --- .../pari-data/pari-data-20191216.ebuild| 28 ++ 3 files changed, 33 insertions(+), 30 deletions(-) diff --git a/sci-mathematics/pari-data/Manifest b/sci-mathematics/pari-data/Manifest index 544ea05d0a0..03b77b50c2a 100644 --- a/sci-mathematics/pari-data/Manifest +++ b/sci-mathematics/pari-data/Manifest @@ -1,5 +1,5 @@ -DIST elldata-20120726.tgz 28386778 BLAKE2B 093294a3cb2e5fa61397dec626a6cbd315cf3bd70e2fe26661b1eb800795e5f8a883af3f67793cd8f4c274a530ecfe680984395f52f63155b3d8afbe977516f8 SHA512 fa2d080783055e33e8338e4b54c484317896572c5b8e0227042608432f9839ac7467103f7cb74869c051ba70da0122b22ce1a190a688a220718abd5c141121fc -DIST galdata-20120726.tgz 53229 BLAKE2B 08f0a1be3c5252fbe534b2ed7e66b9bc8cddab807b7caf12b783aacc2e75de82dc000e762da2ec895d52424281234af121e1edfd84adf9f02c26c4e59d23e2f3 SHA512 bc89c8a42416e8ca25c356b7ad6d80ffcfff127e561fc338df87147a9e370ec71f7ae2eb6bef73d634cc7a8f18c794d7fd5ebfd0a042d3d356526a2eee28125a -DIST galpol-20120726.tgz 469851 BLAKE2B d4242ef8e8373be14af69f53c654cadf9580b5b6fcd8a705094f7c689fa36064525a69fe9e1284d1a36cf55e0436e65f42bb3dd51f45da92a11d68cca4fa7761 SHA512 4aa390761403f68f0d6b4f783e70b188f55d24c58614f72324c8cad86066e66153111fad674a38aeda84265ee994784a0bf276c49d1faa2c972bc1a075885f27 -DIST nftables-20120726.tgz 8393731 BLAKE2B d33cbf1f52d3e8a040087da28014ab727b59c641d1a53c97d311a9d1613b59f6b317b7632e0fc89943bea0a507a737543890109b888707c4fb7879279549a2e9 SHA512 62fb0f6d8c578a4e165a1f2daf3b87acbbc38377044ddd98e2901a8e0554a46c8714bad0f4f4e09107b0c0c8f43069b4ddf4fba9c7832bad65ce3c901183 -DIST seadata-20120726.tgz 19214199 BLAKE2B cafb89905180ff481f578ff2cdb150b04533ecbccfa96d045bdb61e5fe2c230262f3459d31b11f049ad1e16ed9dd6fb734569ee621efa3831800cc3d99583e60 SHA512 393f2fae45964ad0921fcf417113e10b296cb4c3a0e0eec138c896827f43a5464c4b42a07313e0f3a4383e8df97912e2e359a4cd5225d014d7575e80c7dd996a +DIST elldata-20191216.tgz 58320300 BLAKE2B e3c0981695829e31662a496e9a541daa75a167ea8b2e17cd3970fe0109efb15ef3a4d979ca3e7c4e6a9b8071cccb43c2572a9e586e9eaf26962ea04c7441ecc2 SHA512 2c0c35796293bc599d4f851bc00032c87a639f9ad575b671898b3959b06e3df5dbef7947397731132e054a55bec99127e4bf54d0299b8f100f4144896f014d06 +DIST galdata-20191216.tgz 53229 BLAKE2B 08f0a1be3c5252fbe534b2ed7e66b9bc8cddab807b7caf12b783aacc2e75de82dc000e762da2ec895d52424281234af121e1edfd84adf9f02c26c4e59d23e2f3 SHA512 bc89c8a42416e8ca25c356b7ad6d80ffcfff127e561fc338df87147a9e370ec71f7ae2eb6bef73d634cc7a8f18c794d7fd5ebfd0a042d3d356526a2eee28125a +DIST galpol-20191216.tgz 10049371 BLAKE2B 0b365579823f6f8243269144648302170eb2c2fd8c69ab3cc47e68e08745a909a9c1305080833f99c96c3ac8076ebaa9f680ba25e35eb84859a3aef22ba23c82 SHA512 5109081488ce5cb442b1a5d2f9c3206c48bfe27a743f7a6fdbd34f6d0a1cb5c2a4f5fdc173af25547eea4caefc525b9851fc9bbdb215b606598d4ab44cb60acf +DIST nftables-20191216.tgz 8393731 BLAKE2B d33cbf1f52d3e8a040087da28014ab727b59c641d1a53c97d311a9d1613b59f6b317b7632e0fc89943bea0a507a737543890109b888707c4fb7879279549a2e9 SHA512 62fb0f6d8c578a4e165a1f2daf3b87acbbc38377044ddd98e2901a8e0554a46c8714bad0f4f4e09107b0c0c8f43069b4ddf4fba9c7832bad65ce3c901183 +DIST seadata-20191216.tgz 19214199 BLAKE2B cafb89905180ff481f578ff2cdb150b04533ecbccfa96d045bdb61e5fe2c230262f3459d31b11f049ad1e16ed9dd6fb734569ee621efa3831800cc3d99583e60 SHA512 393f2fae45964ad0921fcf417113e10b296cb4c3a0e0eec138c896827f43a5464c4b42a07313e0f3a4383e8df97912e2e359a4cd5225d014d7575e80c7dd996a diff --git a/sci-mathematics/pari-data/pari-data-20120726.ebuild b/sci-mathematics/pari-data/pari-data-20120726.ebuild deleted file mode 100644 index c6c0f54d9ff..000 --- a/sci-mathematics/pari-data/pari-data-20120726.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -DESCRIPTION="Data sets for pari" -HOMEPAGE="http://pari.math.u-bordeaux.fr/; - -for p in elldata galdata galpol seadata nftables;
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 70bf11c3b3af394ee1ce925d6213002761085d56 Author: Harri Nieminen gmail com> AuthorDate: Thu Apr 19 18:51:31 2018 + Commit: David Seifert gentoo org> CommitDate: Fri Apr 20 08:01:53 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70bf11c3 sci-mathematics/pari: Remove old version This removes stable keywords. Closes: https://bugs.gentoo.org/636508 Closes: https://bugs.gentoo.org/652794 Closes: https://bugs.gentoo.org/541382 Package-Manager: Portage-2.3.31, Repoman-2.3.9 sci-mathematics/pari/Manifest | 6 -- sci-mathematics/pari/pari-2.3.5.ebuild | 139 - sci-mathematics/pari/pari-2.9.4.ebuild | 125 - 3 files changed, 270 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 3fc709bdaad..01bd0f5957d 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,7 +1 @@ -DIST elldata.tgz 14185595 BLAKE2B eb90a0e392eeeaad81b6b01ba4e8258aaf2a4b4a01950b18a0e91f176629aecc693453d8fe99b49a28f2dfbbb6fae1a06d7d4137cb13ced298e64e5aa4062f53 SHA512 dc13d1cacb98a6c2774936997452bd34ae198da9206fea69bc7cdd28240d0cdd07bb0ec1f14b8e97bea4321a60a6a6144464ab3b629be2e37dd76a73efaf43ef -DIST galdata.tgz 53229 BLAKE2B 08f0a1be3c5252fbe534b2ed7e66b9bc8cddab807b7caf12b783aacc2e75de82dc000e762da2ec895d52424281234af121e1edfd84adf9f02c26c4e59d23e2f3 SHA512 bc89c8a42416e8ca25c356b7ad6d80ffcfff127e561fc338df87147a9e370ec71f7ae2eb6bef73d634cc7a8f18c794d7fd5ebfd0a042d3d356526a2eee28125a -DIST nftables.tgz 8393731 BLAKE2B d33cbf1f52d3e8a040087da28014ab727b59c641d1a53c97d311a9d1613b59f6b317b7632e0fc89943bea0a507a737543890109b888707c4fb7879279549a2e9 SHA512 62fb0f6d8c578a4e165a1f2daf3b87acbbc38377044ddd98e2901a8e0554a46c8714bad0f4f4e09107b0c0c8f43069b4ddf4fba9c7832bad65ce3c901183 -DIST pari-2.3.5-patchset.tar.bz2 1773 BLAKE2B 08358dcb7e353eb41a784a6daa9400b74b8f331a54eea8ef159fbbecdbed5d00955a821db20e3a4f7e254160cd600d0255d6648aa0e1b2b7aca9910d5cd17f1d SHA512 f616eac3049fea684413f8f221a1604a5e62ae2804207513fcfff513d8b162a3a4d1063dad059907682404ee30f840182d75e29a44b44cda4f80266b46f75364 -DIST pari-2.3.5.tar.gz 2018097 BLAKE2B b5f4f8bc83cd77aceab791263e1a2f0294d0663d354fea454bad8cac3cdbac9c4c8381cc83bc947d518522701c36e94ce1d6862125a9bfd3b17b1a31c9baabc8 SHA512 0e49e6310b4c76ef3370786a13aa8cbc5bb0b7dc84ec1665866d623e6284f45db8584eea759e8b5954dc9b5c8a3e866e77a377d18073ed33f11708a7e88a4cca DIST pari-2.9.4.tar.gz 3851772 BLAKE2B 648e7fd14888bed2dfb7bbb9a25d097aa91899780da9734b444e29997916c27773109e735ecb2d3e9d164a596f3bb8da607d83f278e52d84c49a56df5c89b530 SHA512 539534496e9733bd905b6131374eef8019f93398423710d339bd3c01245e1af675a0a3f9489a05c3ceb2cf3b3426e6b1fb11ea4886b76a1b2e793b59f52e8787 -DIST seadata.tgz 19214199 BLAKE2B cafb89905180ff481f578ff2cdb150b04533ecbccfa96d045bdb61e5fe2c230262f3459d31b11f049ad1e16ed9dd6fb734569ee621efa3831800cc3d99583e60 SHA512 393f2fae45964ad0921fcf417113e10b296cb4c3a0e0eec138c896827f43a5464c4b42a07313e0f3a4383e8df97912e2e359a4cd5225d014d7575e80c7dd996a diff --git a/sci-mathematics/pari/pari-2.3.5.ebuild b/sci-mathematics/pari/pari-2.3.5.ebuild deleted file mode 100644 index d996d235469..000 --- a/sci-mathematics/pari/pari-2.3.5.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=3 -inherit elisp-common eutils flag-o-matic toolchain-funcs - -DESCRIPTION="A software package for computer-aided number theory" -HOMEPAGE="http://pari.math.u-bordeaux.fr/; - -SRC_COM="http://pari.math.u-bordeaux.fr/pub/${PN}; -SRC_URI="${SRC_COM}/unix/${P}.tar.gz - https://dev.gentoo.org/~mgorny/dist/${P}-patchset.tar.bz2 - data? ( ${SRC_COM}/packages/elldata.tgz - ${SRC_COM}/packages/galdata.tgz - ${SRC_COM}/packages/seadata.tgz - ${SRC_COM}/packages/nftables.tgz )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-solaris" -IUSE="doc data fltk gmp static-libs X" - -RDEPEND="sys-libs/readline - fltk? ( x11-libs/fltk:1 ) - gmp? ( dev-libs/gmp ) - X? ( x11-libs/libX11 ) - doc? ( X? ( x11-misc/xdg-utils ) )" -DEPEND="${RDEPEND} - doc? ( virtual/latex-base )" - -get_compile_dir() { - pushd "${S}/config" >& /dev/null - local fastread=yes - source ./get_archos - popd >& /dev/null - echo "O${osname}-${arch}" -} - -src_prepare() { - # move data into place - if use data; then - mv "${WORKDIR}"/data "${S}" || die "failed to move data" - fi - epatch "${WORKDIR}"/${P}-patchset/${PN}-2.3.2-strip.patch - epatch "${WORKDIR}"/${P}-patchset/${PN}-2.3.2-ppc-powerpc-arch-fix.patch - epatch "${WORKDIR}"/${P}-patchset/${PN}-2.3.5-doc-make.patch - epatch
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/, sci-mathematics/pari/files/
commit: 9661c2a09237d46969ce7d0918efe03771be8795 Author: Andrey Grozin gentoo org> AuthorDate: Sun Mar 18 21:17:36 2018 + Commit: Andrey Grozin gentoo org> CommitDate: Sun Mar 18 21:17:36 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9661c2a0 sci-mathematics/pari: fix building with USE=fltk Suggested-by: François Bissey gmail.com> Closes: https://bugs.gentoo.org/646942 Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../pari/files/pari-2.9.4-fltk-detection.patch | 22 sci-mathematics/pari/pari-2.9.4-r1.ebuild | 126 + 2 files changed, 148 insertions(+) diff --git a/sci-mathematics/pari/files/pari-2.9.4-fltk-detection.patch b/sci-mathematics/pari/files/pari-2.9.4-fltk-detection.patch new file mode 100644 index 000..26e146e032a --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.9.4-fltk-detection.patch @@ -0,0 +1,22 @@ +diff --git a/config/get_fltk b/config/get_fltk +index 87d0c1d..22f5bd8 100644 +--- a/config/get_fltk b/config/get_fltk +@@ -2,13 +2,16 @@ if test -z "$with_fltk"; then + with_fltk=yes + fi + ++cmd="FLTK_CXXFLAGS=\`fltk-config --cxxflags\`" ++. log_cmd ++ + cmd="FLTK_LIBS=\`fltk-config --ldflags\`" + . log_cmd + + exe=$osname-$arch-fltk$$$exe_suff + cxx=$CXX + if test -z "$cxx"; then cxx=g++; fi; +-cmd="$cxx $CFLAGS $FLTK_LIBS -o $exe has_fltk.c" ++cmd="$cxx $CFLAGS $FLTK_CXXFLAGS $FLTK_LIBS -o $exe has_fltk.c" + . log_cmd + if test -r "$exe"; then + echo "Using FLTK library" diff --git a/sci-mathematics/pari/pari-2.9.4-r1.ebuild b/sci-mathematics/pari/pari-2.9.4-r1.ebuild new file mode 100644 index 000..ce071489ded --- /dev/null +++ b/sci-mathematics/pari/pari-2.9.4-r1.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs multilib + +DESCRIPTION="Computer-aided number theory C library and tools" +HOMEPAGE="http://pari.math.u-bordeaux.fr/; +LICENSE="GPL-2" +SLOT="0/5" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +IUSE="data doc fltk gmp X" +SRC_URI="http://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; + +RDEPEND=" + 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= )" +DEPEND="${RDEPEND} + doc? ( virtual/latex-base )" + +get_compile_dir() { + pushd "${S}/config" > /dev/null + local fastread=yes + source ./get_archos + popd > /dev/null + echo "O${osname}-${arch}" +} + +PATCHES=( "${FILESDIR}"/${P}-strip.patch + "${FILESDIR}"/${P}-ppc.patch + "${FILESDIR}"/${P}-no-automagic.patch + "${FILESDIR}"/${P}-fltk-detection.patch + ) + +src_prepare() { + default + + # disable default building of docs during install + sed -i \ + -e "s:install-doc install-examples:install-examples:" \ + config/Makefile.SH || die "Failed to fix makefile" + + # propagate ldflags + sed -i \ + -e 's/$shared $extra/$shared $extra \\$(LDFLAGS)/' \ + config/get_dlld || die "failed to fix LDFLAGS" + # 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 + export CPLUSPLUS=$(tc-getCXX) + + # 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 + ./Configure \ + --prefix="${EPREFIX}"/usr \ + --datadir="${EPREFIX}"/usr/share/${PN} \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --sysdatadir="${EPREFIX}"/usr/share/doc/${PF} \ + --mandir="${EPREFIX}"/usr/share/man/man1 \ + --with-readline="${EPREFIX}"/usr \ + --with-ncurses-lib="${EPREFIX}"/usr/$(get_libdir) \ + $(use_with fltk) \ + $(use_with gmp) \ + --without-qt \ + || die "./Configure failed" +} + +src_compile() { + use hppa && \ + mymake=DLLD\="${EPREFIX}"/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm + + mycxxmake=LD\=$(tc-getCXX) + + local installdir=$(get_compile_dir) + cd "${installdir}" || die "failed to change directory" + # upstream set -fno-strict-aliasing. + # aliasing is
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: d6b594521223c317128fe54f652461fe2e0717ba Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 14 13:49:10 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 14 13:49:32 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6b59452 sci-mathematics/pari: Fix typo Thanks-to: Felix Janda posteo.de> Bug: https://bugs.gentoo.org/641942 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sci-mathematics/pari/pari-2.9.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.9.4.ebuild b/sci-mathematics/pari/pari-2.9.4.ebuild index 6e3bf66bb96..37593bb6748 100644 --- a/sci-mathematics/pari/pari-2.9.4.ebuild +++ b/sci-mathematics/pari/pari-2.9.4.ebuild @@ -77,7 +77,7 @@ src_configure() { --with-ncurses-lib="${EPREFIX}"/usr/$(get_libdir) \ $(use_with fltk) \ $(use_with gmp) \ - --without-qt4 \ + --without-qt \ || die "./Configure failed" }
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: 7bb94047731ead935688c2b85c11f77bb0b1511b Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 14 01:39:40 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 14 09:42:46 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb94047 sci-mathematics/pari: Drop USE=qt4 Closes: https://bugs.gentoo.org/641942 Closes: https://bugs.gentoo.org/602788 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sci-mathematics/pari/pari-2.9.4.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sci-mathematics/pari/pari-2.9.4.ebuild b/sci-mathematics/pari/pari-2.9.4.ebuild index e03aba49e6e..6e3bf66bb96 100644 --- a/sci-mathematics/pari/pari-2.9.4.ebuild +++ b/sci-mathematics/pari/pari-2.9.4.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="http://pari.math.u-bordeaux.fr/; LICENSE="GPL-2" SLOT="0/5" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" -IUSE="data doc fltk gmp qt4 X" +IUSE="data doc fltk gmp X" SRC_URI="http://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; RDEPEND=" @@ -19,7 +19,6 @@ RDEPEND=" doc? ( X? ( x11-misc/xdg-utils ) ) fltk? ( x11-libs/fltk:1= ) gmp? ( dev-libs/gmp:0= ) - qt4? ( dev-qt/qtgui:4= ) X? ( x11-libs/libX11:0= )" DEPEND="${RDEPEND} doc? ( virtual/latex-base )" @@ -78,7 +77,7 @@ src_configure() { --with-ncurses-lib="${EPREFIX}"/usr/$(get_libdir) \ $(use_with fltk) \ $(use_with gmp) \ - $(use_with qt4 qt) \ + --without-qt4 \ || die "./Configure failed" }
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: d2fe69156154f83eb52869f9c495b2b13bd45b87 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 14 01:36:17 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 14 09:42:46 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2fe6915 sci-mathematics/pari: Drop old Package-Manager: Portage-2.3.19, Repoman-2.3.6 sci-mathematics/pari/Manifest | 4 - sci-mathematics/pari/pari-2.5.4.ebuild | 143 - sci-mathematics/pari/pari-2.7.1.ebuild | 137 --- 3 files changed, 284 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 8a4f45c784c..3fc709bdaad 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -3,9 +3,5 @@ DIST galdata.tgz 53229 BLAKE2B 08f0a1be3c5252fbe534b2ed7e66b9bc8cddab807b7caf12b DIST nftables.tgz 8393731 BLAKE2B d33cbf1f52d3e8a040087da28014ab727b59c641d1a53c97d311a9d1613b59f6b317b7632e0fc89943bea0a507a737543890109b888707c4fb7879279549a2e9 SHA512 62fb0f6d8c578a4e165a1f2daf3b87acbbc38377044ddd98e2901a8e0554a46c8714bad0f4f4e09107b0c0c8f43069b4ddf4fba9c7832bad65ce3c901183 DIST pari-2.3.5-patchset.tar.bz2 1773 BLAKE2B 08358dcb7e353eb41a784a6daa9400b74b8f331a54eea8ef159fbbecdbed5d00955a821db20e3a4f7e254160cd600d0255d6648aa0e1b2b7aca9910d5cd17f1d SHA512 f616eac3049fea684413f8f221a1604a5e62ae2804207513fcfff513d8b162a3a4d1063dad059907682404ee30f840182d75e29a44b44cda4f80266b46f75364 DIST pari-2.3.5.tar.gz 2018097 BLAKE2B b5f4f8bc83cd77aceab791263e1a2f0294d0663d354fea454bad8cac3cdbac9c4c8381cc83bc947d518522701c36e94ce1d6862125a9bfd3b17b1a31c9baabc8 SHA512 0e49e6310b4c76ef3370786a13aa8cbc5bb0b7dc84ec1665866d623e6284f45db8584eea759e8b5954dc9b5c8a3e866e77a377d18073ed33f11708a7e88a4cca -DIST pari-2.5.4-patchset.tar.bz2 11050 BLAKE2B 0ea4727bb03045c7cda9b39cd429db8ea1b8d9e2656cf81fb4d401abc57803d8a6b4c538727f6744dd75c6b95530a0cca058cfdb0e85d4b9eaf39e7d43a14929 SHA512 5b70b6e15e651118c5dba339601eee1b8dfe55eb37f30d0b350d73eef33a4119ba366ba48fa171e450e27af2823b96d8006aadf0f994ae76002f98a76adcf6bb -DIST pari-2.5.4.tar.gz 2721861 BLAKE2B 003113716c4aaea3836ee7f813ff4aacecb40e6c7d9119c0a6d6073f951e6c5fae887ee22d87d5c7d7320e0d873585f145dd14e7014075bf198143dde68325f9 SHA512 de2f0593682d638288908636d848489acf115f4858b91c574168db26c4ab7443465a21d1e6c43be19ecc57dcedcd883e5af72b65467a59a2c8811e4eec64e0b9 -DIST pari-2.7.1-patchset.tar.bz2 4318 BLAKE2B 881354eec4f89f7b7e0a1d53d5fa169b0ea0de3964baff454f2e7aca1b7bd2e7ffa2f404e4df7a8ff7a662aed3920e10df4a3a1d5d86967579c360869abce557 SHA512 1ff40adcf638230e1aca951b4fdb291cd4d2048ef66215de0ec157b9ec0040e28c115c2684056cf582695e66ee8363aa776a4a50f8654c8dde7bad490a47b304 -DIST pari-2.7.1.tar.gz 3140893 BLAKE2B 0f5c69ac2decb0ac26f51de7843c282606f854c257b06d1596eb7f4157e8f64d65b65f887e2d9bb8b77cbdffdac0bb1902e373b1d44e457ac25993bc308d3e09 SHA512 ff32c181e6810af8a38f0dfe45b9f15d930923da5759c3e88595f56bf3c65ec0a79fdb9fb5f0e4ce0adb1ebc56a84e6b1606085057762073a85c0d1946857d5f DIST pari-2.9.4.tar.gz 3851772 BLAKE2B 648e7fd14888bed2dfb7bbb9a25d097aa91899780da9734b444e29997916c27773109e735ecb2d3e9d164a596f3bb8da607d83f278e52d84c49a56df5c89b530 SHA512 539534496e9733bd905b6131374eef8019f93398423710d339bd3c01245e1af675a0a3f9489a05c3ceb2cf3b3426e6b1fb11ea4886b76a1b2e793b59f52e8787 DIST seadata.tgz 19214199 BLAKE2B cafb89905180ff481f578ff2cdb150b04533ecbccfa96d045bdb61e5fe2c230262f3459d31b11f049ad1e16ed9dd6fb734569ee621efa3831800cc3d99583e60 SHA512 393f2fae45964ad0921fcf417113e10b296cb4c3a0e0eec138c896827f43a5464c4b42a07313e0f3a4383e8df97912e2e359a4cd5225d014d7575e80c7dd996a diff --git a/sci-mathematics/pari/pari-2.5.4.ebuild b/sci-mathematics/pari/pari-2.5.4.ebuild deleted file mode 100644 index 78f5d5418c9..000 --- a/sci-mathematics/pari/pari-2.5.4.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils flag-o-matic toolchain-funcs multilib - -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 - https://dev.gentoo.org/~mgorny/dist/${P}-patchset.tar.bz2; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-fbsd ~x86-linux ~x86-macos ~x86-solaris" -IUSE="data doc fltk gmp qt4 X" - -RDEPEND=" - 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= ) - qt4? ( dev-qt/qtgui:4 ) - X? ( x11-libs/libX11 )" -DEPEND="${RDEPEND} - doc? ( virtual/latex-base )" - -get_compile_dir() { - pushd "${S}/config" > /dev/null - local fastread=yes - source ./get_archos - popd > /dev/null -
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/, sci-mathematics/pari/files/
commit: 11c19699f31647ce20bee4ed56608df444278e32 Author: Andrey Grozin gentoo org> AuthorDate: Sat Jan 13 13:38:45 2018 + Commit: Andrey Grozin gentoo org> CommitDate: Sat Jan 13 13:38:45 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c19699 sci-mathematics/pari: bump to 2.9.4 Closes: https://bugs.gentoo.org/600568 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sci-mathematics/pari/Manifest | 1 + .../pari/files/pari-2.9.4-no-automagic.patch | 66 +++ sci-mathematics/pari/files/pari-2.9.4-ppc.patch| 9 ++ sci-mathematics/pari/files/pari-2.9.4-strip.patch | 10 ++ sci-mathematics/pari/pari-2.9.4.ebuild | 126 + 5 files changed, 212 insertions(+) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index a78f8a17c5f..8a4f45c784c 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -7,4 +7,5 @@ DIST pari-2.5.4-patchset.tar.bz2 11050 BLAKE2B 0ea4727bb03045c7cda9b39cd429db8ea DIST pari-2.5.4.tar.gz 2721861 BLAKE2B 003113716c4aaea3836ee7f813ff4aacecb40e6c7d9119c0a6d6073f951e6c5fae887ee22d87d5c7d7320e0d873585f145dd14e7014075bf198143dde68325f9 SHA512 de2f0593682d638288908636d848489acf115f4858b91c574168db26c4ab7443465a21d1e6c43be19ecc57dcedcd883e5af72b65467a59a2c8811e4eec64e0b9 DIST pari-2.7.1-patchset.tar.bz2 4318 BLAKE2B 881354eec4f89f7b7e0a1d53d5fa169b0ea0de3964baff454f2e7aca1b7bd2e7ffa2f404e4df7a8ff7a662aed3920e10df4a3a1d5d86967579c360869abce557 SHA512 1ff40adcf638230e1aca951b4fdb291cd4d2048ef66215de0ec157b9ec0040e28c115c2684056cf582695e66ee8363aa776a4a50f8654c8dde7bad490a47b304 DIST pari-2.7.1.tar.gz 3140893 BLAKE2B 0f5c69ac2decb0ac26f51de7843c282606f854c257b06d1596eb7f4157e8f64d65b65f887e2d9bb8b77cbdffdac0bb1902e373b1d44e457ac25993bc308d3e09 SHA512 ff32c181e6810af8a38f0dfe45b9f15d930923da5759c3e88595f56bf3c65ec0a79fdb9fb5f0e4ce0adb1ebc56a84e6b1606085057762073a85c0d1946857d5f +DIST pari-2.9.4.tar.gz 3851772 BLAKE2B 648e7fd14888bed2dfb7bbb9a25d097aa91899780da9734b444e29997916c27773109e735ecb2d3e9d164a596f3bb8da607d83f278e52d84c49a56df5c89b530 SHA512 539534496e9733bd905b6131374eef8019f93398423710d339bd3c01245e1af675a0a3f9489a05c3ceb2cf3b3426e6b1fb11ea4886b76a1b2e793b59f52e8787 DIST seadata.tgz 19214199 BLAKE2B cafb89905180ff481f578ff2cdb150b04533ecbccfa96d045bdb61e5fe2c230262f3459d31b11f049ad1e16ed9dd6fb734569ee621efa3831800cc3d99583e60 SHA512 393f2fae45964ad0921fcf417113e10b296cb4c3a0e0eec138c896827f43a5464c4b42a07313e0f3a4383e8df97912e2e359a4cd5225d014d7575e80c7dd996a diff --git a/sci-mathematics/pari/files/pari-2.9.4-no-automagic.patch b/sci-mathematics/pari/files/pari-2.9.4-no-automagic.patch new file mode 100644 index 000..3612d8f020f --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.9.4-no-automagic.patch @@ -0,0 +1,66 @@ +diff -r -U2 pari-2.9.4.orig/config/Makefile.SH pari-2.9.4/config/Makefile.SH +--- pari-2.9.4.orig/config/Makefile.SH 2017-11-09 16:26:14.0 +0700 pari-2.9.4/config/Makefile.SH 2018-01-13 17:31:02.404210285 +0700 +@@ -80,10 +80,10 @@ + graph=plotQt;; + Qt4) +- PLOTCFLAGS='-D__FANCY_WIN__ -I$(QTDIR)/include' +- PLOTLIBS="-L\$(QTDIR)/lib $QTLIB" ++ PLOTCFLAGS='-D__FANCY_WIN__ `pkg-config --cflags QtGui`' ++ PLOTLIBS="`pkg-config --libs QtGui`" + graph=plotQt4;; + fltk) +- PLOTCFLAGS= +- PLOTLIBS="$FLTK_LIBS" ++ PLOTCFLAGS="`fltk-config --cxxflags` $X11_INC" ++ PLOTLIBS="`fltk-config --ldflags`" + postconfig='fltk-config --post ' + graph=plotfltk;; +@@ -277,5 +277,5 @@ + # Graphic library. + QTDIR = "$QTDIR" +-MOC= \$(QTDIR)/bin/moc ++MOC= "`which moc`" + PLOTCFLAGS = $PLOTCFLAGS + PLOTLIBS = $PLOTLIBS +diff -r -U2 pari-2.9.4.orig/config/get_Qt pari-2.9.4/config/get_Qt +--- pari-2.9.4.orig/config/get_Qt 2017-05-12 16:45:12.0 +0700 pari-2.9.4/config/get_Qt 2018-01-13 17:35:49.481198212 +0700 +@@ -6,5 +6,5 @@ + yes) +pth="/usr/local/lib /usr/local/share /usr/lib /usr/share" +- QTDIR=`locatedir qt4/bin $pth` ++ QTDIR=`locatedir qt4 $pth` +if test -n "$QTDIR"; then + QTLIB="-lQtCore -lQtGui" +diff -r -U2 pari-2.9.4.orig/config/get_config_options pari-2.9.4/config/get_config_options +--- pari-2.9.4.orig/config/get_config_options 2017-11-09 16:26:14.0 +0700 pari-2.9.4/config/get_config_options 2018-01-13 17:38:39.264191072 +0700 +@@ -87,8 +87,10 @@ + with_ncurses_lib=`echo "$1" | sed -e 's/[-a-z]*=//'` ;; + ++ --without-qt|--with-qt=no) without_qt=yes ;; + --with-qt) with_qt=yes ;; + --with-qt=*) + with_qt=`echo "$1" | sed -e 's/[-a-z]*=//'` ;; + ++ --without-fltk|--with-fltk=no) without_fltk=yes ;; + --with-fltk) with_fltk=yes ;; + --with-fltk=*) +@@ -168,5 +170,7 @@ + + --with-qt[=DIR]use the Qt graphical library [prefix for Qt dir.] ++ --without-qt do not try to use the Qt lib + --with-fltkuse the FLTK
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/, sci-mathematics/pari/files/
commit: 402214f19fac15d127352556a0699df444331879 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 11 19:41:16 2017 + Commit: Michał Górny gentoo org> CommitDate: Mon Dec 11 19:46:29 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=402214f1 sci-mathematics/pari: [QA] Move patches to distfiles Closes: https://bugs.gentoo.org/620628 sci-mathematics/pari/Manifest | 3 + .../files/pari-2.3.2-ppc-powerpc-arch-fix.patch| 11 - sci-mathematics/pari/files/pari-2.3.2-strip.patch | 11 - .../pari/files/pari-2.3.5-doc-make.patch | 46 -- .../pari/files/pari-2.3.5-no-dot-inc.patch | 61 -- .../pari/files/pari-2.5.0-doc-make.patch | 82 --- sci-mathematics/pari/files/pari-2.5.0-macos.patch | 21 - sci-mathematics/pari/files/pari-2.5.0-mp.c.patch | 23 - .../pari/files/pari-2.5.0-no-dot-inc.patch | 61 -- .../pari/files/pari-2.5.1-no-automagic.patch | 100 --- sci-mathematics/pari/files/pari-2.5.4-polred.patch | 754 - .../pari/files/pari-2.5.4-slow_determinant.patch | 100 --- .../pari/files/pari-2.7.0-doc-make.patch | 89 --- .../pari/files/pari-2.7.0-no-automagic.patch | 100 --- .../pari/files/pari-2.7.0-no-dot-inc.patch | 64 -- .../pari/files/pari-2.7.0-slow-discriminant.patch | 54 -- .../pari/files/pari-2.7.1-perl-5.22-doc.patch | 12 - sci-mathematics/pari/pari-2.3.5.ebuild | 9 +- sci-mathematics/pari/pari-2.5.4.ebuild | 21 +- sci-mathematics/pari/pari-2.7.1.ebuild | 17 +- 20 files changed, 28 insertions(+), 1611 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index c2317db8fd8..a78f8a17c5f 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,7 +1,10 @@ DIST elldata.tgz 14185595 BLAKE2B eb90a0e392eeeaad81b6b01ba4e8258aaf2a4b4a01950b18a0e91f176629aecc693453d8fe99b49a28f2dfbbb6fae1a06d7d4137cb13ced298e64e5aa4062f53 SHA512 dc13d1cacb98a6c2774936997452bd34ae198da9206fea69bc7cdd28240d0cdd07bb0ec1f14b8e97bea4321a60a6a6144464ab3b629be2e37dd76a73efaf43ef DIST galdata.tgz 53229 BLAKE2B 08f0a1be3c5252fbe534b2ed7e66b9bc8cddab807b7caf12b783aacc2e75de82dc000e762da2ec895d52424281234af121e1edfd84adf9f02c26c4e59d23e2f3 SHA512 bc89c8a42416e8ca25c356b7ad6d80ffcfff127e561fc338df87147a9e370ec71f7ae2eb6bef73d634cc7a8f18c794d7fd5ebfd0a042d3d356526a2eee28125a DIST nftables.tgz 8393731 BLAKE2B d33cbf1f52d3e8a040087da28014ab727b59c641d1a53c97d311a9d1613b59f6b317b7632e0fc89943bea0a507a737543890109b888707c4fb7879279549a2e9 SHA512 62fb0f6d8c578a4e165a1f2daf3b87acbbc38377044ddd98e2901a8e0554a46c8714bad0f4f4e09107b0c0c8f43069b4ddf4fba9c7832bad65ce3c901183 +DIST pari-2.3.5-patchset.tar.bz2 1773 BLAKE2B 08358dcb7e353eb41a784a6daa9400b74b8f331a54eea8ef159fbbecdbed5d00955a821db20e3a4f7e254160cd600d0255d6648aa0e1b2b7aca9910d5cd17f1d SHA512 f616eac3049fea684413f8f221a1604a5e62ae2804207513fcfff513d8b162a3a4d1063dad059907682404ee30f840182d75e29a44b44cda4f80266b46f75364 DIST pari-2.3.5.tar.gz 2018097 BLAKE2B b5f4f8bc83cd77aceab791263e1a2f0294d0663d354fea454bad8cac3cdbac9c4c8381cc83bc947d518522701c36e94ce1d6862125a9bfd3b17b1a31c9baabc8 SHA512 0e49e6310b4c76ef3370786a13aa8cbc5bb0b7dc84ec1665866d623e6284f45db8584eea759e8b5954dc9b5c8a3e866e77a377d18073ed33f11708a7e88a4cca +DIST pari-2.5.4-patchset.tar.bz2 11050 BLAKE2B 0ea4727bb03045c7cda9b39cd429db8ea1b8d9e2656cf81fb4d401abc57803d8a6b4c538727f6744dd75c6b95530a0cca058cfdb0e85d4b9eaf39e7d43a14929 SHA512 5b70b6e15e651118c5dba339601eee1b8dfe55eb37f30d0b350d73eef33a4119ba366ba48fa171e450e27af2823b96d8006aadf0f994ae76002f98a76adcf6bb DIST pari-2.5.4.tar.gz 2721861 BLAKE2B 003113716c4aaea3836ee7f813ff4aacecb40e6c7d9119c0a6d6073f951e6c5fae887ee22d87d5c7d7320e0d873585f145dd14e7014075bf198143dde68325f9 SHA512 de2f0593682d638288908636d848489acf115f4858b91c574168db26c4ab7443465a21d1e6c43be19ecc57dcedcd883e5af72b65467a59a2c8811e4eec64e0b9 +DIST pari-2.7.1-patchset.tar.bz2 4318 BLAKE2B 881354eec4f89f7b7e0a1d53d5fa169b0ea0de3964baff454f2e7aca1b7bd2e7ffa2f404e4df7a8ff7a662aed3920e10df4a3a1d5d86967579c360869abce557 SHA512 1ff40adcf638230e1aca951b4fdb291cd4d2048ef66215de0ec157b9ec0040e28c115c2684056cf582695e66ee8363aa776a4a50f8654c8dde7bad490a47b304 DIST pari-2.7.1.tar.gz 3140893 BLAKE2B 0f5c69ac2decb0ac26f51de7843c282606f854c257b06d1596eb7f4157e8f64d65b65f887e2d9bb8b77cbdffdac0bb1902e373b1d44e457ac25993bc308d3e09 SHA512 ff32c181e6810af8a38f0dfe45b9f15d930923da5759c3e88595f56bf3c65ec0a79fdb9fb5f0e4ce0adb1ebc56a84e6b1606085057762073a85c0d1946857d5f DIST seadata.tgz 19214199 BLAKE2B cafb89905180ff481f578ff2cdb150b04533ecbccfa96d045bdb61e5fe2c230262f3459d31b11f049ad1e16ed9dd6fb734569ee621efa3831800cc3d99583e60 SHA512 393f2fae45964ad0921fcf417113e10b296cb4c3a0e0eec138c896827f43a5464c4b42a07313e0f3a4383e8df97912e2e359a4cd5225d014d7575e80c7dd996a diff --git
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/, sci-mathematics/pari/files/
commit: 2b4de8113370e08dd863e5fe1cc9553055f1b306 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 11 19:35:33 2017 + Commit: Michał Górny gentoo org> CommitDate: Mon Dec 11 19:46:29 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b4de811 sci-mathematics/pari: Prune old sci-mathematics/pari/Manifest | 5 - sci-mathematics/pari/files/50pari-gentoo.el | 10 -- sci-mathematics/pari/files/pari-2.5.1-1302.patch | 33 -- sci-mathematics/pari/files/pari-2.5.1-1304.patch | 39 -- sci-mathematics/pari/files/pari-2.5.1-gcc47.patch | 18 --- sci-mathematics/pari/pari-2.5.0-r3.ebuild | 136 - sci-mathematics/pari/pari-2.5.1-r1.ebuild | 138 -- sci-mathematics/pari/pari-2.5.1.ebuild| 138 -- sci-mathematics/pari/pari-2.5.2.ebuild| 134 - sci-mathematics/pari/pari-2.5.3.ebuild| 134 - sci-mathematics/pari/pari-2.7.0.ebuild| 134 - 11 files changed, 919 deletions(-) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index c43b709a4c7..c2317db8fd8 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -2,11 +2,6 @@ DIST elldata.tgz 14185595 BLAKE2B eb90a0e392eeeaad81b6b01ba4e8258aaf2a4b4a01950b DIST galdata.tgz 53229 BLAKE2B 08f0a1be3c5252fbe534b2ed7e66b9bc8cddab807b7caf12b783aacc2e75de82dc000e762da2ec895d52424281234af121e1edfd84adf9f02c26c4e59d23e2f3 SHA512 bc89c8a42416e8ca25c356b7ad6d80ffcfff127e561fc338df87147a9e370ec71f7ae2eb6bef73d634cc7a8f18c794d7fd5ebfd0a042d3d356526a2eee28125a DIST nftables.tgz 8393731 BLAKE2B d33cbf1f52d3e8a040087da28014ab727b59c641d1a53c97d311a9d1613b59f6b317b7632e0fc89943bea0a507a737543890109b888707c4fb7879279549a2e9 SHA512 62fb0f6d8c578a4e165a1f2daf3b87acbbc38377044ddd98e2901a8e0554a46c8714bad0f4f4e09107b0c0c8f43069b4ddf4fba9c7832bad65ce3c901183 DIST pari-2.3.5.tar.gz 2018097 BLAKE2B b5f4f8bc83cd77aceab791263e1a2f0294d0663d354fea454bad8cac3cdbac9c4c8381cc83bc947d518522701c36e94ce1d6862125a9bfd3b17b1a31c9baabc8 SHA512 0e49e6310b4c76ef3370786a13aa8cbc5bb0b7dc84ec1665866d623e6284f45db8584eea759e8b5954dc9b5c8a3e866e77a377d18073ed33f11708a7e88a4cca -DIST pari-2.5.0.tar.gz 2714449 BLAKE2B 2c3bdc52c9c5332670656910a425847633a39831d372f69966542564a0bc5b35d767b84df68a357285e06357ebe110fb55134d1e34675f7e9b27c78cfc0945d4 SHA512 701abdf4d65bcaeac9bdd314b1fc24a59de9ee1874b9abba5761cb88bb871c18d108a99cf1cbf9a357ac192196c043592e0e5d1645689d5a6f85afbfa7a9096f -DIST pari-2.5.1.tar.gz 2718726 BLAKE2B 28149a9af879fed26dd5d7effee8a821a293518743fb5c1ef2ca97e903cf1ab24afbeb4116b2bf833c05aebddacd026a584b8b2c60fef5b036af44d666f22f60 SHA512 dd304bd02402602c1f114a7f4d1e54af0fce8707b196fd9da617c028ba3426418813aeaf818fecaa9f76572b1d36847463a3aa7f60848cdec607ec70131dc263 -DIST pari-2.5.2.tar.gz 2719367 BLAKE2B a48109c1c5ec85306eef4b6bff8c7c05bfe0479f1f9e4e57e2b914286117c2768be869109e7701d74f29fee80fcff9e0f05d6863fde6cf881e7ecc00b7539ba0 SHA512 2d0332e5604a6bd41c8328c4cffc42302dd85db077a950e19769a0cc7b8c3e17b7c4c5c1514ecb2f75757015baa7e7df76f6174e997fbaa90874c5e6cf5e7fce -DIST pari-2.5.3.tar.gz 2720543 BLAKE2B a52473c817c9625f30e6c3ee08942f8e69d4cba0ef6d50972c20ac0995dc00d605d19d90793b88d59e5d47ac87d0ef68d4dbc6b77c3887677cd7b290e0b41bbb SHA512 8606f1f1b59a8e9e8b5bdbaacd03f980da99616568c180eb37f6f530efad396343e3146f6c7adfc5dac6e43a1d35c898531ecf61dd6d62c26cafcd2554f8c43b DIST pari-2.5.4.tar.gz 2721861 BLAKE2B 003113716c4aaea3836ee7f813ff4aacecb40e6c7d9119c0a6d6073f951e6c5fae887ee22d87d5c7d7320e0d873585f145dd14e7014075bf198143dde68325f9 SHA512 de2f0593682d638288908636d848489acf115f4858b91c574168db26c4ab7443465a21d1e6c43be19ecc57dcedcd883e5af72b65467a59a2c8811e4eec64e0b9 -DIST pari-2.7.0.tar.gz 3142306 BLAKE2B eb4a62af1eaa502d38e04116a34e2c9b186ef075cfa647c242ec5384de8d1c12acdb1ad55397a2c3af19b93b95115a60a8a6e8ae2b2bd6d197d68a1907df79e8 SHA512 312ed6032e5b1b431d04cccb593e5ca6ca323361736669be0ed345cbb6cf22114c670984ae74120aacb4ac1af822a1fdf76aed7ba59a1cd4f94e26150562ad84 DIST pari-2.7.1.tar.gz 3140893 BLAKE2B 0f5c69ac2decb0ac26f51de7843c282606f854c257b06d1596eb7f4157e8f64d65b65f887e2d9bb8b77cbdffdac0bb1902e373b1d44e457ac25993bc308d3e09 SHA512 ff32c181e6810af8a38f0dfe45b9f15d930923da5759c3e88595f56bf3c65ec0a79fdb9fb5f0e4ce0adb1ebc56a84e6b1606085057762073a85c0d1946857d5f DIST seadata.tgz 19214199 BLAKE2B cafb89905180ff481f578ff2cdb150b04533ecbccfa96d045bdb61e5fe2c230262f3459d31b11f049ad1e16ed9dd6fb734569ee621efa3831800cc3d99583e60 SHA512 393f2fae45964ad0921fcf417113e10b296cb4c3a0e0eec138c896827f43a5464c4b42a07313e0f3a4383e8df97912e2e359a4cd5225d014d7575e80c7dd996a diff --git a/sci-mathematics/pari/files/50pari-gentoo.el b/sci-mathematics/pari/files/50pari-gentoo.el deleted file mode 100644 index 2f5b4da9084..000 ---
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari-data/
commit: 842b532e3eca7c402f112dd192ac2cbaa5db914f Author: David Seifert gentoo org> AuthorDate: Sat Nov 25 16:52:24 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Nov 25 17:39:51 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=842b532e sci-mathematics/pari-data: [QA] Consistent whitespace in metadata.xml sci-mathematics/pari-data/metadata.xml | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/sci-mathematics/pari-data/metadata.xml b/sci-mathematics/pari-data/metadata.xml index 98c04919b99..dc9040a45d4 100644 --- a/sci-mathematics/pari-data/metadata.xml +++ b/sci-mathematics/pari-data/metadata.xml @@ -1,18 +1,18 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - sci-mathemat...@gentoo.org - Gentoo Mathematics Project - - - The extra data for PARI consists of: - * elldata is PARI/GP version of J. E. Cremona Elliptic Curve Data, -needed by ellsearch and ellidentify. - * galdata is needed by polgalois to compute Galois group in degrees -8 through 11. - * seadata is needed by ellap for large primes. - * nftables is a repackaging of the historical megrez number field - tables (errors fixed, 1/10th the size, easier to use). - + + sci-mathemat...@gentoo.org + Gentoo Mathematics Project + + + The extra data for PARI consists of: + * elldata is PARI/GP version of J. E. Cremona Elliptic Curve Data, + needed by ellsearch and ellidentify. + * galdata is needed by polgalois to compute Galois group in degrees + 8 through 11. + * seadata is needed by ellap for large primes. + * nftables is a repackaging of the historical megrez number field + tables (errors fixed, 1/10th the size, easier to use). +
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/, sci-mathematics/pari/files/
commit: 820fcd22ef2a0a5d8eefb18e86ab21ba76d96e3f Author: Kent Fredric gentoo org> AuthorDate: Sat Jun 10 23:48:16 2017 + Commit: Kent Fredric gentoo org> CommitDate: Sun Jun 11 14:29:18 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=820fcd22 sci-mathematics/pari: Fix for '.' in @INC on perl 5.26 re bug #615016 Perl 5.26 removes implied cwd from library loading paths, and subsequently Pari's compile fails due to reliance on this implication. These patches rectify that by constructing a library path the same as the scripts directory, and inserting that into `@INC` Of course, we still need the oldest pari because dev-perl/Math-Pari needs the old version. And of course, the files in question have minor changes over the handful of versions, necessitating 3 *mostly* identical but slightly different patches for the relevant versions. I haven't filed this issue upstream, as their bug reporting stuff looked dizzyingly confusing. Bug: https://bugs.gentoo.org/615016 Package-Manager: Portage-2.3.6, Repoman-2.3.2 .../pari/files/pari-2.3.5-no-dot-inc.patch | 61 + .../pari/files/pari-2.5.0-no-dot-inc.patch | 61 + .../pari/files/pari-2.7.0-no-dot-inc.patch | 64 ++ sci-mathematics/pari/pari-2.3.5.ebuild | 3 +- sci-mathematics/pari/pari-2.5.0-r3.ebuild | 4 +- sci-mathematics/pari/pari-2.5.1-r1.ebuild | 4 +- sci-mathematics/pari/pari-2.5.1.ebuild | 4 +- sci-mathematics/pari/pari-2.5.2.ebuild | 4 +- sci-mathematics/pari/pari-2.5.3.ebuild | 4 +- sci-mathematics/pari/pari-2.5.4.ebuild | 4 +- sci-mathematics/pari/pari-2.7.0.ebuild | 4 +- sci-mathematics/pari/pari-2.7.1.ebuild | 4 +- 12 files changed, 212 insertions(+), 9 deletions(-) diff --git a/sci-mathematics/pari/files/pari-2.3.5-no-dot-inc.patch b/sci-mathematics/pari/files/pari-2.3.5-no-dot-inc.patch new file mode 100644 index 000..cd34851a30f --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.3.5-no-dot-inc.patch @@ -0,0 +1,61 @@ +From 4f1e00df5ea1e51042146f6277bb1af02f249cc3 Mon Sep 17 00:00:00 2001 +From: Kent Fredric+Date: Sun, 11 Jun 2017 10:31:03 +1200 +Subject: [PATCH] Fix for 5.26 removal of '.' in @INC + +Previous scripts assumed CWD was in @INC and that "PARI::822" was in +wherever CWD was. + +This fixes both of those, and the latter, because its not obvious +from the build system where one should assume CWD to be. + +Instead, the absolute path of the directory of these scripts is +inserted into @INC +--- + src/desc/gen_member | 4 + src/desc/gen_proto | 4 + src/desc/merge_822 | 4 + 3 files changed, 12 insertions(+) + +diff --git a/src/desc/gen_member b/src/desc/gen_member +index 2f3cf52..66dea2b 100755 +--- a/src/desc/gen_member b/src/desc/gen_member +@@ -1,4 +1,8 @@ + #!/usr/bin/perl -w ++use File::Spec; ++use File::Basename qw( dirname ); ++use lib dirname(File::Spec->rel2abs(__FILE__)); ++ + use PARI::822; + + $class='member_functions'; +diff --git a/src/desc/gen_proto b/src/desc/gen_proto +index 1b507fa..2fb4d3f 100755 +--- a/src/desc/gen_proto b/src/desc/gen_proto +@@ -1,4 +1,8 @@ + #!/usr/bin/perl -w ++use File::Spec; ++use File::Basename qw( dirname ); ++use lib dirname(File::Spec->rel2abs(__FILE__)); ++ + use PARI::822; + + $class=$ARGV[0]; +diff --git a/src/desc/merge_822 b/src/desc/merge_822 +index a02d612..9ca8252 100755 +--- a/src/desc/merge_822 b/src/desc/merge_822 +@@ -1,4 +1,8 @@ + #!/usr/bin/perl -w ++use File::Spec; ++use File::Basename qw( dirname ); ++use lib dirname(File::Spec->rel2abs(__FILE__)); ++ + use PARI::822; + + PARI::822::read(\%funcs,$_,1) +-- +2.13.1 + diff --git a/sci-mathematics/pari/files/pari-2.5.0-no-dot-inc.patch b/sci-mathematics/pari/files/pari-2.5.0-no-dot-inc.patch new file mode 100644 index 000..e34fa6b352a --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.5.0-no-dot-inc.patch @@ -0,0 +1,61 @@ +From 03df0cdd7228a412d2adfe9ee9c746b3ec69dd6b Mon Sep 17 00:00:00 2001 +From: Kent Fredric +Date: Sun, 11 Jun 2017 10:31:03 +1200 +Subject: [PATCH] Fix for 5.26 removal of '.' in @INC + +Previous scripts assumed CWD was in @INC and that "PARI::822" was in +wherever CWD was. + +This fixes both of those, and the latter, because its not obvious +from the build system where one should assume CWD to be. + +Instead, the absolute path of the directory of these scripts is +inserted into @INC +--- + src/desc/doc_make | 4 + src/desc/gen_proto | 4 + src/desc/merge_822 | 4 + 3 files changed, 12 insertions(+) + +diff --git a/src/desc/doc_make b/src/desc/doc_make +index 02dc90d..55296ed 100755 +--- a/src/desc/doc_make b/src/desc/doc_make +@@ -1,4 +1,8 @@ + #!/usr/bin/perl ++use File::Spec; ++use File::Basename qw( dirname ); ++use lib
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: fe76f3c48772aa4dfa75c0521ae7b92bfa37d4ac Author: David Seifert gentoo org> AuthorDate: Sat May 14 23:08:59 2016 + Commit: David Seifert gentoo org> CommitDate: Sat May 14 23:16:49 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe76f3c4 sci-mathematics/pari: Fix QA MissingSlotDep Package-Manager: portage-2.2.28 sci-mathematics/pari/pari-2.5.4.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sci-mathematics/pari/pari-2.5.4.ebuild b/sci-mathematics/pari/pari-2.5.4.ebuild index f7a89d3..0b6949a 100644 --- a/sci-mathematics/pari/pari-2.5.4.ebuild +++ b/sci-mathematics/pari/pari-2.5.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -16,11 +16,11 @@ KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-fb IUSE="data doc fltk gmp qt4 X" RDEPEND=" - sys-libs/readline + sys-libs/readline:0= data? ( sci-mathematics/pari-data ) doc? ( X? ( x11-misc/xdg-utils ) ) fltk? ( x11-libs/fltk:1 ) - gmp? ( dev-libs/gmp ) + gmp? ( dev-libs/gmp:0= ) qt4? ( dev-qt/qtgui:4 ) X? ( x11-libs/libX11 )" DEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari-data/
commit: 78ef8b093411eb4e130071717baea2d2c4626227 Author: Markus Meier gentoo org> AuthorDate: Thu Mar 10 17:48:23 2016 + Commit: Markus Meier gentoo org> CommitDate: Thu Mar 10 17:48:23 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78ef8b09 sci-mathematics/pari-data: add ~arm, bug #573944 Package-Manager: portage-2.2.27 RepoMan-Options: --include-arches="arm" sci-mathematics/pari-data/pari-data-20120726.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari-data/pari-data-20120726.ebuild b/sci-mathematics/pari-data/pari-data-20120726.ebuild index 6b2e660..7da2c85 100644 --- a/sci-mathematics/pari-data/pari-data-20120726.ebuild +++ b/sci-mathematics/pari-data/pari-data-20120726.ebuild @@ -13,7 +13,7 @@ done LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" IUSE="" RDEPEND="!
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/
commit: c4794ca9b2d1a7ea4a5c7c1e74c6b919a99fddd2 Author: Markus Meier gentoo org> AuthorDate: Thu Mar 10 17:53:32 2016 + Commit: Markus Meier gentoo org> CommitDate: Thu Mar 10 17:53:32 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4794ca9 sci-mathematics/pari: add ~arm, bug #573944 Package-Manager: portage-2.2.27 RepoMan-Options: --include-arches="arm" sci-mathematics/pari/pari-2.7.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/pari/pari-2.7.1.ebuild b/sci-mathematics/pari/pari-2.7.1.ebuild index ffaa8f8..1e32a7f 100644 --- a/sci-mathematics/pari/pari-2.7.1.ebuild +++ b/sci-mathematics/pari/pari-2.7.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz; LICENSE="GPL-2" SLOT="0/4" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-fbsd ~x86-linux ~x86-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" IUSE="data doc fltk gmp qt4 X" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pari/, sci-mathematics/pari/files/
commit: 833535d7dedaedcd9715cce29303f08a5c75fa85 Author: Andrey Grozin gentoo org> AuthorDate: Sat Nov 14 16:04:48 2015 + Commit: Andrey Grozin gentoo org> CommitDate: Sat Nov 14 16:06:17 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=833535d7 sci-mathematics/pari: fix building docs with perl-5.22 Thanks to Andreas Proteus sdf.lonestar.org> Package-Manager: portage-2.2.24 sci-mathematics/pari/files/pari-2.7.1-perl-5.22-doc.patch | 12 sci-mathematics/pari/pari-2.7.1.ebuild| 2 ++ 2 files changed, 14 insertions(+) diff --git a/sci-mathematics/pari/files/pari-2.7.1-perl-5.22-doc.patch b/sci-mathematics/pari/files/pari-2.7.1-perl-5.22-doc.patch new file mode 100644 index 000..c4bbadc --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.7.1-perl-5.22-doc.patch @@ -0,0 +1,12 @@ +diff -U2 -r pari-2.7.1.orig/src/desc/doc_make pari-2.7.1/src/desc/doc_make +--- pari-2.7.1.orig/src/desc/doc_make 2014-05-11 00:59:29.0 +0700 pari-2.7.1/src/desc/doc_make 2015-11-15 00:51:11.494845695 +0600 +@@ -39,6 +39,6 @@ + $v =~ s/(\w\w+)/\\var{$1}/g; + $v =~ s/\^([a-z])/\\hbox{\\kbd{\\pow}}$1/g; +-$v =~ s/\\var{flag}/\\fl/g; +-$v =~ s/\\var{(\d+)}/{$1}/g; ++$v =~ s/\\var\{flag}/\\fl/g; ++$v =~ s/\\var\{(\d+)}/{$1}/g; + + $v = "\$($v)\$"; diff --git a/sci-mathematics/pari/pari-2.7.1.ebuild b/sci-mathematics/pari/pari-2.7.1.ebuild index 1af3fe0..ffaa8f8 100644 --- a/sci-mathematics/pari/pari-2.7.1.ebuild +++ b/sci-mathematics/pari/pari-2.7.1.ebuild @@ -43,6 +43,8 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-2.7.0-no-automagic.patch # sage-on-gentoo trac 15654: PARI discriminant speed depends on stack size epatch "${FILESDIR}"/${PN}-2.7.0-slow-discriminant.patch + # fix building docs with perl-5.22 + epatch "${FILESDIR}"/${PN}-2.7.1-perl-5.22-doc.patch # disable default building of docs during install sed -i \