diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-12-11 20:35:33 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-12-11 20:46:29 +0100 |
commit | 2b4de8113370e08dd863e5fe1cc9553055f1b306 (patch) | |
tree | 95ea6fa4d7cf9b91bf35e4469083e38aa1752068 /sci-mathematics | |
parent | dev-perl/Net-SSH2: Bump to version 0.670.0 (diff) | |
download | gentoo-2b4de8113370e08dd863e5fe1cc9553055f1b306.tar.gz gentoo-2b4de8113370e08dd863e5fe1cc9553055f1b306.tar.bz2 gentoo-2b4de8113370e08dd863e5fe1cc9553055f1b306.zip |
sci-mathematics/pari: Prune old
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/pari/Manifest | 5 | ||||
-rw-r--r-- | sci-mathematics/pari/files/50pari-gentoo.el | 10 | ||||
-rw-r--r-- | sci-mathematics/pari/files/pari-2.5.1-1302.patch | 33 | ||||
-rw-r--r-- | sci-mathematics/pari/files/pari-2.5.1-1304.patch | 39 | ||||
-rw-r--r-- | sci-mathematics/pari/files/pari-2.5.1-gcc47.patch | 18 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.5.0-r3.ebuild | 136 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.5.1-r1.ebuild | 138 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.5.1.ebuild | 138 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.5.2.ebuild | 134 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.5.3.ebuild | 134 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.7.0.ebuild | 134 |
11 files changed, 0 insertions, 919 deletions
diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index c43b709a4c73..c2317db8fd81 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 cccc62fb0f6d8c578a4e165a1f2daf3b87acbbc38377044ddd98e2901a8e0554a46c8714bad0f4f4e09107b0c0c8f43069b4ddf4fba9c7832bad65ce3c901183 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 2f5b4da9084e..000000000000 --- a/sci-mathematics/pari/files/50pari-gentoo.el +++ /dev/null @@ -1,10 +0,0 @@ - -;; site-init for sci-mathematics/pari - -(add-to-list 'load-path "@SITELISP@") - -(autoload 'gp-mode "pari" nil t) -(autoload 'gp-script-mode "pari" nil t) -(autoload 'gp "pari" nil t) -(autoload 'gpman "pari" nil t) -(add-to-list 'auto-mode-alist '("\\.gp$" . gp-script-mode)) diff --git a/sci-mathematics/pari/files/pari-2.5.1-1302.patch b/sci-mathematics/pari/files/pari-2.5.1-1302.patch deleted file mode 100644 index 245e587d275c..000000000000 --- a/sci-mathematics/pari/files/pari-2.5.1-1302.patch +++ /dev/null @@ -1,33 +0,0 @@ -commit 917b505c86a70dda2191d380861af05becc03858 -Author: Karim Belabas <Karim.Belabas@math.u-bordeaux1.fr> -Date: Mon Mar 12 23:54:11 2012 +0100 - - ispower(x < 0,, &n): n could have the wrong sign [#1302] - -diff --git a/src/basemath/arith1.c b/src/basemath/arith1.c -index ded946b..5502ba5 100644 ---- a/src/basemath/arith1.c -+++ b/src/basemath/arith1.c -@@ -1109,6 +1109,7 @@ Z_isanypower(GEN x, GEN *pty) - *pty = gerepileuptoint(av, y); - return k; - } -+ if (pty) togglesign_safe(pty); - } - if (pty) *pty = gerepilecopy(av, *pty); else avma = av; - return k; -diff --git a/src/test/32/ispower b/src/test/32/ispower -index bf4b6f0..84d8de7 100644 ---- a/src/test/32/ispower -+++ b/src/test/32/ispower -@@ -1118,7 +1118,7 @@ - [2, 999] - [6, 10] - [3, -4] --[3, 2] --[3, 21218] -+[3, -2] -+[3, -21218] - [3, -1/4] --Total time spent: 3236 -+Total time spent: 3012 diff --git a/sci-mathematics/pari/files/pari-2.5.1-1304.patch b/sci-mathematics/pari/files/pari-2.5.1-1304.patch deleted file mode 100644 index 3da2e8558dac..000000000000 --- a/sci-mathematics/pari/files/pari-2.5.1-1304.patch +++ /dev/null @@ -1,39 +0,0 @@ -commit ff707a3f2ba2d5c555434ba50547453833a7570f -Author: Karim Belabas <Karim.Belabas@math.u-bordeaux1.fr> -Date: Sun Mar 18 23:54:02 2012 +0100 - - 71- issquarefree(0) => error [#1304] - -diff --git a/src/basemath/ifactor1.c b/src/basemath/ifactor1.c -index 046491f..8f9fbaa 100644 ---- a/src/basemath/ifactor1.c -+++ b/src/basemath/ifactor1.c -@@ -3493,7 +3493,11 @@ moebius(GEN n) - GEN - gissquarefree(GEN x) { return map_proto_lG(issquarefree,x); } - long --Z_issquarefree(GEN n) { return moebius(n)? 1: 0; } -+Z_issquarefree(GEN n) -+{ -+ if (!signe(n)) return 0; -+ return moebius(n)? 1: 0; -+} - long - issquarefree(GEN x) - { -diff --git a/src/test/32/arith b/src/test/32/arith -new file mode 100644 -index 0000000..3c5981a ---- /dev/null -+++ b/src/test/32/arith -@@ -0,0 +1,2 @@ -+0 -+Total time spent: 8 -diff --git a/src/test/in/arith b/src/test/in/arith -new file mode 100644 -index 0000000..fb92bed ---- /dev/null -+++ b/src/test/in/arith -@@ -0,0 +1,2 @@ -+\\#1304 -+issquarefree(0) diff --git a/sci-mathematics/pari/files/pari-2.5.1-gcc47.patch b/sci-mathematics/pari/files/pari-2.5.1-gcc47.patch deleted file mode 100644 index e7b27159fa06..000000000000 --- a/sci-mathematics/pari/files/pari-2.5.1-gcc47.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: pari-2.5.1/src/basemath/bibli2.c -=================================================================== ---- pari-2.5.1.orig/src/basemath/bibli2.c 2012-01-26 17:26:13.000000000 +0100 -+++ pari-2.5.1/src/basemath/bibli2.c 2012-06-04 10:08:41.000000000 +0200 -@@ -1394,12 +1394,12 @@ - int (*CMP)(void*,GEN,GEN); - int (*cmp)(GEN,GEN) = (flag & cmp_LEX)? &lexcmp: &gcmp; - void *E; -+ struct veccmp_s v; - - if (flag < 0 || flag > (cmp_REV|cmp_LEX|cmp_IND|cmp_UNIQ)) - pari_err(flagerr,"vecsort"); - if (k) { - long i, j, l, lk, tx, lx; -- struct veccmp_s v; - GEN y; - - /* cf init_sort */ diff --git a/sci-mathematics/pari/pari-2.5.0-r3.ebuild b/sci-mathematics/pari/pari-2.5.0-r3.ebuild deleted file mode 100644 index 57421935e631..000000000000 --- a/sci-mathematics/pari/pari-2.5.0-r3.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="A software package for computer-aided number theory" -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" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" -IUSE="doc data fltk gmp X" - -RDEPEND="sys-libs/readline - fltk? ( x11-libs/fltk:1 ) - gmp? ( dev-libs/gmp ) - X? ( x11-libs/libX11 ) - doc? ( X? ( x11-misc/xdg-utils ) ) - data? ( sci-mathematics/pari-data )" -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() { - epatch "${FILESDIR}/${PN}"-2.3.2-strip.patch - epatch "${FILESDIR}/${PN}"-2.3.2-ppc-powerpc-arch-fix.patch - # fix parallel make - epatch "${FILESDIR}/${PN}"-2.5.0-doc-make.patch - # sage error handling patch - epatch "${FILESDIR}/${PN}"-2.5.0-mp.c.patch - # OS X: add -install_name to the linker option - epatch "${FILESDIR}/${PN}"-2.5.0-macos.patch - # Fix Perl 5.26 - epatch "${FILESDIR}/"${PN}-2.5.0-no-dot-inc.patch - - # 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" - - sed -i "s:/usr:${EPREFIX}/usr:g" config/get_X11 \ - || die "Failed to fix get_X11" - - # usersch3.tex is generated - rm -f doc/usersch3.tex || die "failed to remove generated file" -} - -src_configure() { - tc-export CC - - # 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 - - local myconfig - if use gmp ; then - myconfig="--with-gmp=${EPREFIX}/usr" - else - myconfig="--with-gmp=no" - 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) \ - $myconfig \ - || die "./Configure failed" -} - -src_compile() { - local installdir=$(get_compile_dir) - cd "${installdir}" || die "failed to change directory" - - # upstream set -fno-strict-aliasing. - # aliasing is a known issue on amd64, work on x86 by sheer luck - emake ${mymake} \ - CFLAGS="${CFLAGS} -fno-strict-aliasing -DGCC_INLINE -fPIC" lib-dyn - emake ${mymake} \ - CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp - - if use doc; then - cd "${S}" || die "failed to change directory" - # To prevent sandbox violations by metafont - VARTEXFONTS="${T}"/fonts emake docpdf - fi -} - -src_test() { - emake dobench -} - -src_install() { - default - dodoc MACHINES COMPAT - if use doc; then - # install gphelp and the pdf documentations manually. - # the install-doc target is overkill. - dodoc doc/*.pdf - dobin doc/gphelp - insinto /usr/share/doc/${PF} - # gphelp looks for some of the tex sources... - doins doc/*.tex doc/translations - # Install the examples - for real. - local installdir=$(get_compile_dir) - cd "${installdir}" || die "failed to change directory" - emake EXDIR="${ED}/usr/share/doc/${PF}/examples" install-examples - fi -} diff --git a/sci-mathematics/pari/pari-2.5.1-r1.ebuild b/sci-mathematics/pari/pari-2.5.1-r1.ebuild deleted file mode 100644 index 7202ed087dea..000000000000 --- a/sci-mathematics/pari/pari-2.5.1-r1.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit eutils flag-o-matic toolchain-funcs multilib - -DESCRIPTION="A software package for computer-aided number theory" -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" -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 - data? ( sci-mathematics/pari-data ) - doc? ( X? ( x11-misc/xdg-utils ) ) - fltk? ( x11-libs/fltk:1 ) - gmp? ( dev-libs/gmp ) - 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 - echo "O${osname}-${arch}" -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.3.2-strip.patch - epatch "${FILESDIR}"/${PN}-2.3.2-ppc-powerpc-arch-fix.patch - # fix parallel make - epatch "${FILESDIR}"/${PN}-2.5.0-doc-make.patch - # sage error handling patch - epatch "${FILESDIR}"/${PN}-2.5.0-mp.c.patch - # OS X: add -install_name to the linker option - epatch "${FILESDIR}"/${PN}-2.5.0-macos.patch - # Fix Perl 5.26 - epatch "${FILESDIR}/"${PN}-2.5.0-no-dot-inc.patch - # from debian, fies bug #423617 - epatch "${FILESDIR}"/${PN}-2.5.1-gcc47.patch - # fix automagic - epatch "${FILESDIR}"/${PN}-2.5.1-no-automagic.patch - # upstream fixes - epatch "${FILESDIR}"/${PN}-2.5.1-1302.patch - epatch "${FILESDIR}"/${PN}-2.5.1-1304.patch - - # 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" - - sed -i "s:/usr:${EPREFIX}/usr:g" config/get_X11 \ - || die "Failed to fix get_X11" - - # usersch3.tex is generated - rm -f doc/usersch3.tex || die "failed to remove generated file" -} - -src_configure() { - tc-export CC - - # 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) \ - $(use_with qt4 qt) \ - || die "./Configure failed" -} - -src_compile() { - local installdir=$(get_compile_dir) - cd "${installdir}" || die "failed to change directory" - # upstream set -fno-strict-aliasing. - # aliasing is a known issue on amd64, work on x86 by sheer luck - emake ${mymake} \ - CFLAGS="${CFLAGS} -fno-strict-aliasing -DGCC_INLINE -fPIC" lib-dyn - emake ${mymake} \ - CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp - - if use doc; then - cd "${S}" || die "failed to change directory" - # To prevent sandbox violations by metafont - VARTEXFONTS="${T}"/fonts emake docpdf - fi -} - -src_test() { - emake dobench -} - -src_install() { - default - dodoc MACHINES COMPAT - if use doc; then - # install gphelp and the pdf documentations manually. - # the install-doc target is overkill. - dodoc doc/*.pdf - dobin doc/gphelp - insinto /usr/share/doc/${PF} - # gphelp looks for some of the tex sources... - doins doc/*.tex doc/translations - # Install the examples - for real. - local installdir=$(get_compile_dir) - cd "${installdir}" || die "failed to change directory" - emake EXDIR="${ED}/usr/share/doc/${PF}/examples" install-examples - fi -} diff --git a/sci-mathematics/pari/pari-2.5.1.ebuild b/sci-mathematics/pari/pari-2.5.1.ebuild deleted file mode 100644 index fb1efebef0c3..000000000000 --- a/sci-mathematics/pari/pari-2.5.1.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="A software package for computer-aided number theory" -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" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" -IUSE="doc data fltk gmp X" - -RDEPEND="sys-libs/readline - fltk? ( x11-libs/fltk:1 ) - gmp? ( dev-libs/gmp ) - X? ( x11-libs/libX11 ) - doc? ( X? ( x11-misc/xdg-utils ) ) - data? ( sci-mathematics/pari-data )" -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() { - epatch "${FILESDIR}/${PN}"-2.3.2-strip.patch - epatch "${FILESDIR}/${PN}"-2.3.2-ppc-powerpc-arch-fix.patch - # fix parallel make - epatch "${FILESDIR}/${PN}"-2.5.0-doc-make.patch - # sage error handling patch - epatch "${FILESDIR}/${PN}"-2.5.0-mp.c.patch - # OS X: add -install_name to the linker option - epatch "${FILESDIR}/${PN}"-2.5.0-macos.patch - # Fix Perl 5.26 - epatch "${FILESDIR}/"${PN}-2.5.0-no-dot-inc.patch - # from debian, fies bug #423617 - epatch "${FILESDIR}/${PN}"-2.5.1-gcc47.patch - - # 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" - - sed -i "s:/usr:${EPREFIX}/usr:g" config/get_X11 \ - || die "Failed to fix get_X11" - - # usersch3.tex is generated - rm -f doc/usersch3.tex || die "failed to remove generated file" -} - -src_configure() { - tc-export CC - - # 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 - - local myconfig - if use gmp ; then - myconfig="--with-gmp=${EPREFIX}/usr" - else - myconfig="--with-gmp=no" - 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) \ - $myconfig \ - || die "./Configure failed" -} - -src_compile() { - local installdir=$(get_compile_dir) - cd "${installdir}" || die "failed to change directory" - - # upstream set -fno-strict-aliasing. - # aliasing is a known issue on amd64, work on x86 by sheer luck - emake ${mymake} \ - CFLAGS="${CFLAGS} -fno-strict-aliasing -DGCC_INLINE -fPIC" lib-dyn - emake ${mymake} \ - CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp - - if use doc; then - cd "${S}" || die "failed to change directory" - # To prevent sandbox violations by metafont - VARTEXFONTS="${T}"/fonts emake docpdf - fi -} - -src_test() { - emake dobench -} - -src_install() { - default - dodoc MACHINES COMPAT - if use doc; then - # install gphelp and the pdf documentations manually. - # the install-doc target is overkill. - dodoc doc/*.pdf - dobin doc/gphelp - insinto /usr/share/doc/${PF} - # gphelp looks for some of the tex sources... - doins doc/*.tex doc/translations - # Install the examples - for real. - local installdir=$(get_compile_dir) - cd "${installdir}" || die "failed to change directory" - emake EXDIR="${ED}/usr/share/doc/${PF}/examples" install-examples - fi -} diff --git a/sci-mathematics/pari/pari-2.5.2.ebuild b/sci-mathematics/pari/pari-2.5.2.ebuild deleted file mode 100644 index 3bc68a6ccdc0..000000000000 --- a/sci-mathematics/pari/pari-2.5.2.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils flag-o-matic toolchain-funcs multilib - -DESCRIPTION="A software package for computer-aided number theory" -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" -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 - data? ( sci-mathematics/pari-data ) - doc? ( X? ( x11-misc/xdg-utils ) ) - fltk? ( x11-libs/fltk:1 ) - gmp? ( dev-libs/gmp ) - 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 - echo "O${osname}-${arch}" -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.3.2-strip.patch - epatch "${FILESDIR}"/${PN}-2.3.2-ppc-powerpc-arch-fix.patch - # fix parallel make - epatch "${FILESDIR}"/${PN}-2.5.0-doc-make.patch - # sage error handling patch - epatch "${FILESDIR}"/${PN}-2.5.0-mp.c.patch - # OS X: add -install_name to the linker option - epatch "${FILESDIR}"/${PN}-2.5.0-macos.patch - # Fix Perl 5.26 - epatch "${FILESDIR}/"${PN}-2.5.0-no-dot-inc.patch - # fix automagic - epatch "${FILESDIR}"/${PN}-2.5.1-no-automagic.patch - - # 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" - - sed -i "s:/\(usr\|lib64\):${EPREFIX}/\1:g" \ - config/get_{Qt,X11,include_path,libpth} \ - || die "Failed to fix get_X11" - - # usersch3.tex is generated - rm doc/usersch3.tex || die "failed to remove generated file" -} - -src_configure() { - tc-export CC - - # 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) \ - $(use_with qt4 qt) \ - || die "./Configure failed" -} - -src_compile() { - local installdir=$(get_compile_dir) - cd "${installdir}" || die "failed to change directory" - # upstream set -fno-strict-aliasing. - # aliasing is a known issue on amd64, work on x86 by sheer luck - emake ${mymake} \ - CFLAGS="${CFLAGS} -fno-strict-aliasing -DGCC_INLINE -fPIC" lib-dyn - emake ${mymake} \ - CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp - - if use doc; then - cd "${S}" || die "failed to change directory" - # To prevent sandbox violations by metafont - VARTEXFONTS="${T}"/fonts emake docpdf - fi -} - -src_test() { - emake dobench -} - -src_install() { - default - dodoc MACHINES COMPAT - if use doc; then - # install gphelp and the pdf documentations manually. - # the install-doc target is overkill. - dodoc doc/*.pdf - dobin doc/gphelp - insinto /usr/share/doc/${PF} - # gphelp looks for some of the tex sources... - doins doc/*.tex doc/translations - # Install the examples - for real. - local installdir=$(get_compile_dir) - cd "${installdir}" || die "failed to change directory" - emake EXDIR="${ED}/usr/share/doc/${PF}/examples" install-examples - fi -} diff --git a/sci-mathematics/pari/pari-2.5.3.ebuild b/sci-mathematics/pari/pari-2.5.3.ebuild deleted file mode 100644 index 8f42ea7f9a84..000000000000 --- a/sci-mathematics/pari/pari-2.5.3.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils flag-o-matic toolchain-funcs multilib - -DESCRIPTION="A software package for computer-aided number theory" -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" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" -IUSE="data doc fltk gmp qt4 X" - -RDEPEND="sys-libs/readline - data? ( sci-mathematics/pari-data ) - doc? ( X? ( x11-misc/xdg-utils ) ) - fltk? ( x11-libs/fltk:1 ) - gmp? ( dev-libs/gmp ) - 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 - echo "O${osname}-${arch}" -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.3.2-strip.patch - epatch "${FILESDIR}"/${PN}-2.3.2-ppc-powerpc-arch-fix.patch - # fix parallel make - epatch "${FILESDIR}"/${PN}-2.5.0-doc-make.patch - # sage error handling patch - epatch "${FILESDIR}"/${PN}-2.5.0-mp.c.patch - # OS X: add -install_name to the linker option - epatch "${FILESDIR}"/${PN}-2.5.0-macos.patch - # Fix Perl 5.26 - epatch "${FILESDIR}/"${PN}-2.5.0-no-dot-inc.patch - # fix automagic - epatch "${FILESDIR}"/${PN}-2.5.1-no-automagic.patch - - # 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" - - sed -i "s:/\(usr\|lib64\):${EPREFIX}/\1:g" \ - config/get_{Qt,X11,include_path,libpth} \ - || die "Failed to fix get_X11" - - # usersch3.tex is generated - rm doc/usersch3.tex || die "failed to remove generated file" -} - -src_configure() { - tc-export CC - - # 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) \ - $(use_with qt4 qt) \ - || die "./Configure failed" -} - -src_compile() { - local installdir=$(get_compile_dir) - cd "${installdir}" || die "failed to change directory" - # upstream set -fno-strict-aliasing. - # aliasing is a known issue on amd64, work on x86 by sheer luck - emake ${mymake} \ - CFLAGS="${CFLAGS} -fno-strict-aliasing -DGCC_INLINE -fPIC" lib-dyn - emake ${mymake} \ - CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp - - if use doc; then - cd "${S}" || die "failed to change directory" - # To prevent sandbox violations by metafont - VARTEXFONTS="${T}"/fonts emake docpdf - fi -} - -src_test() { - emake dobench -} - -src_install() { - default - dodoc MACHINES COMPAT - if use doc; then - # install gphelp and the pdf documentations manually. - # the install-doc target is overkill. - dodoc doc/*.pdf - dobin doc/gphelp - insinto /usr/share/doc/${PF} - # gphelp looks for some of the tex sources... - doins doc/*.tex doc/translations - # Install the examples - for real. - local installdir=$(get_compile_dir) - cd "${installdir}" || die "failed to change directory" - emake EXDIR="${ED}/usr/share/doc/${PF}/examples" install-examples - fi -} diff --git a/sci-mathematics/pari/pari-2.7.0.ebuild b/sci-mathematics/pari/pari-2.7.0.ebuild deleted file mode 100644 index 5553fa2865b9..000000000000 --- a/sci-mathematics/pari/pari-2.7.0.ebuild +++ /dev/null @@ -1,134 +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" - -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" -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: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}" -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.3.2-strip.patch - epatch "${FILESDIR}"/${PN}-2.3.2-ppc-powerpc-arch-fix.patch - # fix parallel make - epatch "${FILESDIR}"/${PN}-2.7.0-doc-make.patch - # fix automagic - 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 Perl 5.26 - epatch "${FILESDIR}/"${PN}-2.7.0-no-dot-inc.patch - - # 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" - - # usersch3.tex is generated - rm doc/usersch3.tex || die "failed to remove generated file" -} - -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) \ - $(use_with qt4 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 a known issue on amd64, work on x86 by sheer luck - emake ${mymake} \ - CFLAGS="${CFLAGS} -fno-strict-aliasing -DGCC_INLINE -fPIC" lib-dyn - emake ${mymake} ${mycxxmake} \ - CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp - - if use doc; then - cd "${S}" || die "failed to change directory" - # To prevent sandbox violations by metafont - VARTEXFONTS="${T}"/fonts emake docpdf - fi -} - -src_test() { - emake dobench -} - -src_install() { - emake ${mymake} ${mycxxmake} DESTDIR="${D}" install - dodoc MACHINES COMPAT - if use doc; then - # install gphelp and the pdf documentations manually. - # the install-doc target is overkill. - dodoc doc/*.pdf - dobin doc/gphelp - insinto /usr/share/doc/${PF} - # gphelp looks for some of the tex sources... - doins doc/*.tex doc/translations - # Install the examples - for real. - emake EXDIR="${ED}/usr/share/doc/${PF}/examples" \ - -C $(get_compile_dir) install-examples - fi -} |