Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bump pari to 2.5.2 will be used in sage-5.3

(Portage version: 2.2.0_alpha120/git/Linux x86_64, unsigned Manifest commit)
  • Loading branch information...
commit 537c35afd3e657e4c4a5f14c3b00d7ee652ae6bd 1 parent 7ad7602
@kiwifb kiwifb authored
View
6 sci-mathematics/pari/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.87 2012/03/06 17:06:06 bicatali Exp $
+*pari-2.5.2 (06 Aug 2012)
+
+ 06 Aug 2012; François Bissey <francois.bissey@canterbury.ac.nz>
+ +pari-2.5.2.ebuild:
+ bump
+
*pari-2.5.1-r1 (20 Jun 2012)
20 Jun 2012; François Bissey <francois.bissey@canterbury.ac.nz>
View
26 sci-mathematics/pari/Manifest
@@ -1,12 +1,14 @@
-AUX 50pari-gentoo.el 271 RMD160 e71ae40ba7bc2179bdb963d4300020d6a5f8bf76 SHA1 6956b8771d0bcf632ab59a6cca0a2282368bd03f SHA256 787e2c797c42645de8429cd449040b81563e07681c557bc9433cc4ef287ffe12
-AUX pari-2.3.2-ppc-powerpc-arch-fix.patch 453 RMD160 2522cab3f5a862d6fcf13d6b30b00a420b62d809 SHA1 2861b205fa4b7d7a0adc5fe9f4ec7dd4c728c331 SHA256 3796b8e994f6dda107dd3733ec0769dbe020debc8f24db89f4f740cd3939f64f
-AUX pari-2.3.2-strip.patch 293 RMD160 49660a3edcfd8f73ce5fe78f832262f98348a804 SHA1 85012664fd4c1f092ca08c4a1e174cc05ff09b72 SHA256 e4a63e53734295dbbdcf9ade59c12d49a36317be3b25a223c684221086fce21b
-AUX pari-2.5.0-doc-make.patch 2280 RMD160 7db274a387b81a57620329b6dc117eee990ce648 SHA1 25f001a0e0552f97f20ad56ba158f995c5a72df2 SHA256 e28a0c8db09f02c30499f606fafa9ebaa5e09bbc25dd87f1ff9ba6cf316b5338
-AUX pari-2.5.0-macos.patch 827 RMD160 f1e25cc609f509952373221bcb0a349787b1e498 SHA1 81c0b4fbf4cea073d16219944d3622dc8094dc71 SHA256 0ababf5c7c182b8f8fb46d35f2064a517d5487811e77743b7f64d12c075ed6ac
-AUX pari-2.5.0-mp.c.patch 673 RMD160 552aba40307a314b14d0623c4b042c36f60d9931 SHA1 29c78c99e666e58917e9a31ca6376280d7f7a7e7 SHA256 78db2dcf22cd8f6231926402b69e6b29683fed46c06468d661e6d94d39e07fa8
-AUX pari_1302.patch 868 RMD160 8a1ea9b102bbbb4853d208b8d2dfbfd8c32af102 SHA1 710dcdc3c88204ef8403e12b9865a62265c515ae SHA256 e5b4a0b31ee598d0bf49ce25d00503691c080d3b4b53051e6982b8d9d9f00a08
-AUX pari_1304.patch 968 RMD160 073733a21d3d4c3bdbb8a443beb8dddb52775172 SHA1 dbba85443c8ebf073a0af3ad944fd4df242ab369 SHA256 2252728ee1f4bf3aef627266704e8ec7c46ede2c48c66748388874689435d86c
-DIST pari-2.5.1.tar.gz 2718726 RMD160 d7f5af6bb2b86d2aa93a6034b26b0d7e25730a31 SHA1 c83314bb993161a60e1e46ae7616072858414354 SHA256 72c1828af50878acf5f09b553e45ac04b24400e095d16e6948a06947538a8f4f
-EBUILD pari-2.5.1-r1.ebuild 4134 RMD160 124ff4ea8b65c87515fb327e304dbd9665d80b49 SHA1 babd5421f96b170ace62343ca854534e3940ee81 SHA256 0f31477a4e3052e02a72994db19f8991dc5107a01409fa9c720c4f0f1a80d075
-MISC ChangeLog 16689 RMD160 08598c543dc63e639e549f42e35f828189746e62 SHA1 074892727a96bbb5c132dfc6943de5ab2a9c6993 SHA256 12efce3df6b2381ef8c86433ee761cb86b2bcbd7d57cbe89a13ee4ff25d9c0bd
-MISC metadata.xml 1110 RMD160 9f77b92fc473dc18364cda6049ae65c01656d14d SHA1 643003b3881bb599e57c8346073b2c4dc185ee15 SHA256 6efe59c37d2ff1b960324b5f0736e25ce2a8b3e9dc67d9b5482a9d808ba44d0b
+AUX 50pari-gentoo.el 271 SHA256 787e2c797c42645de8429cd449040b81563e07681c557bc9433cc4ef287ffe12 SHA512 2b466ebe72aa17e9b65c8a85b5ba9ba5b393a6983079738a5cc68e4dac1e360aa74e153a672d41f85addae70c9cb30e0d7079acbbf0d39077cba6871ae2f852d WHIRLPOOL fa499717ae5bcd331357a42f1029fc6a46482c32b033b957df80f89dbd455dc7a2074022a50177958cba5f9de5615f4cac0445b6fc4325be23e11cb2279d1261
+AUX pari-2.3.2-ppc-powerpc-arch-fix.patch 453 SHA256 3796b8e994f6dda107dd3733ec0769dbe020debc8f24db89f4f740cd3939f64f SHA512 053f3684d9cdf57d1306fc78856bb82cdd03fc1ba784c2d8c40938823f5202b36add61e59c51bea0e08957e02488641da895af7bbcb0c03aa64feedd2c4d807a WHIRLPOOL e063d3c687bdbfef6270a7c398d659e04b07f7d2602a2b6e5a7e036d3f330d707ca8b459b71582acf02169f187bb9d47a2491c81f0fdc80910bbe9a94e64fee2
+AUX pari-2.3.2-strip.patch 293 SHA256 e4a63e53734295dbbdcf9ade59c12d49a36317be3b25a223c684221086fce21b SHA512 2197f4cd98ef33d5d77827271badc05af99a0d189cf68e5c5f8f895c5fd9bca7e68e6e7fa8086911845eafce6a80c268c793fbca57ecad7cea3ef5d14ee0a168 WHIRLPOOL 4e1ef876471106bd26796d7755298d0776912c2c770726a35b7f0395f5bf28162d211efc54d5f877b5374136fef90ef75fbd1e47ed02d7b6382dcfde2b28ea26
+AUX pari-2.5.0-doc-make.patch 2280 SHA256 e28a0c8db09f02c30499f606fafa9ebaa5e09bbc25dd87f1ff9ba6cf316b5338 SHA512 8c0d13b2bdc39407b56e1ccf73a01a864575197ce33c58d6507ebf207bb31c8dc1f09e5266dc73f62631af5356f6e78609ba8851ffffffcdced127afcc70f5ab WHIRLPOOL ed570b9a5160251f34ed0fa73f897ccd8e77ba0bb78e1ef9a1099f4dc566ede04fa95997ee17833a38a2eb14e83cc8879354d8eabe481591093f907bcbf54a30
+AUX pari-2.5.0-macos.patch 827 SHA256 0ababf5c7c182b8f8fb46d35f2064a517d5487811e77743b7f64d12c075ed6ac SHA512 bc183e6bd37a1f1abd1f9c5915acbb1d04fa2c5b9aaf60dab9f38afb868c0c061aec0aff6e4e42f930e348ac6c3d406e8dd55166e670b34707ac6577c8b88fc1 WHIRLPOOL 55b059a8eab84c719f956499bd1101a543bc861efa60978badb320913849a2e593a1387d573d20e69df6ae17851e60b495b57ab51c9f2bcbf3273c802eeb0a79
+AUX pari-2.5.0-mp.c.patch 673 SHA256 78db2dcf22cd8f6231926402b69e6b29683fed46c06468d661e6d94d39e07fa8 SHA512 b17b5190883b69037a00a227fbb005ef15d22a08ce0720c2a9886d10ed11199a51a4eba6d7c4aba50f441286b123a1000b47927b40eec5219b6b045db2cd2f66 WHIRLPOOL 541c5f6b785bc1e575aaaa5a2974cba0f0aa41ca1a9f9fada3bcec7afafcb45f6951bd121ded71e3cb8f4cc2aaca8a76cf6ccaee6156fde81f72a7fb680c7e67
+AUX pari_1302.patch 868 SHA256 e5b4a0b31ee598d0bf49ce25d00503691c080d3b4b53051e6982b8d9d9f00a08 SHA512 894c7d8f181c1e472db6d378c9df91465b8f72ec4b00f0451af565c7eef6c378d5886cc14c2973a87950276d4ec62266be8df3d8debadd572bb43b4b5c067b3c WHIRLPOOL 5c733a5224f8d7ddb4b46131b978a89242e3b1124e35724908fe0ab88dda2982c29a107a1607939f623dc4058de36c4f1c58a20ecd6663752c348595dfd158d4
+AUX pari_1304.patch 968 SHA256 2252728ee1f4bf3aef627266704e8ec7c46ede2c48c66748388874689435d86c SHA512 a1c21fab25801e20ba278bbd7cd58cc6b185db6ed0971d125df1f2fde94779ee2562046e53e3550f2ff4d06c89b203216930ee33fea9d37ac74929773c8cc293 WHIRLPOOL 1f33bc6a6a36336376d8d24734bd3f0080fca89b9a5a5aa9d5149d4b12d55561c43d9a71c538792fe8987f794dfd6f63d5a9efde04c906c03095fc664d72cf20
+DIST pari-2.5.1.tar.gz 2718726 SHA256 72c1828af50878acf5f09b553e45ac04b24400e095d16e6948a06947538a8f4f SHA512 dd304bd02402602c1f114a7f4d1e54af0fce8707b196fd9da617c028ba3426418813aeaf818fecaa9f76572b1d36847463a3aa7f60848cdec607ec70131dc263 WHIRLPOOL acb4e2ce3b6680e6df1adc3d36d23b80b16e9efeb681ea726b74a3d83139152ca5e97ae95101cc79a69b9b34df34805efa09bec6663f30ea658d9cb07c587e45
+DIST pari-2.5.2.tar.gz 2719367 SHA256 6f04da2719b09fc7c4c713377df6541d641bbdd9ffc60aad280ba7951561ed98 SHA512 2d0332e5604a6bd41c8328c4cffc42302dd85db077a950e19769a0cc7b8c3e17b7c4c5c1514ecb2f75757015baa7e7df76f6174e997fbaa90874c5e6cf5e7fce WHIRLPOOL 27acb1350a1b4b06b97590f2e0c83d4cf03d6b321ca734c30c42efd50a370a3a1dabe346ed4bb8da63ee2f9f07a7353fc7358d71dd35c7e0eaab9a440ef19d08
+EBUILD pari-2.5.1-r1.ebuild 4134 SHA256 0f31477a4e3052e02a72994db19f8991dc5107a01409fa9c720c4f0f1a80d075 SHA512 a9f4179f78b4afa824253f42b28b0202f6fa6a77f51aa042c2e33e072949ef26e940a9e9e6b55ff8785e306a7ba01e77d3c7a0985f8f9506df825c1631f9e70b WHIRLPOOL faf8e3d805e836b8dc6a199246fc4ae77b430c1e0bcd084a666667a0342086fde9f75d53d10413b3ee84be01d7c36e3566a2791253d3eff4d3aec50d20271473
+EBUILD pari-2.5.2.ebuild 4031 SHA256 e7a921b4ad3f35da03c2beaba5d545bd079e5df867cb296aecb33e1e74f3402a SHA512 bdede810ec6ceb6f6de8b2c62a17b79cfc092b0b4f1a102eb30ec823f0f6237db37630ab25e8be6df69d46a3867bd08058121df50b51dd9d260fface23dc0161 WHIRLPOOL d705b5e12645a8341d6b896b6ec3cf32cc63bec0d999b3cf6ce4f5e17c3cc66334a97366148d6952ef4f0f9007dca732e7763b81bf2d9cfb1537e2aacb290e62
+MISC ChangeLog 16814 SHA256 4ce0df158f69b6eb7f11972e8d0561b09c602e1bc6f933f3eb2024b14c6e9c33 SHA512 2debb06b24c5675a287c6b68d9632f9601c5ee375f585d72b97e79bdc602cff0c84cf61aa83a53a199a13750c01eb1ab08c1bf0807f25f8858967643c2bc1fe8 WHIRLPOOL ba60c84efce1f9c1a92e3d8a8849aabd4777d055249c4c80f75b8b00de7e52a12b9873b0734b7041cfd34810cbe24827558d9e14ce0dd1fcc02418d581c6eeb8
+MISC metadata.xml 1110 SHA256 6efe59c37d2ff1b960324b5f0736e25ce2a8b3e9dc67d9b5482a9d808ba44d0b SHA512 45e082fb3986c087a74edcea79669a76eae6ee7b2177ab2578dfd9ac3dc2b2834778bf3bafd247b053cf0c7ef94c6bc39009a847a686554e78b22d660f95fcdd WHIRLPOOL 4abf4404cebf71cedbcc5954ae1f6fd8847fa44439d7b47f6a91c953436cacc641b75789c4d226a7b210dd680a936690c343cc92da7778a6eac62c5a53cbcb83
View
141 sci-mathematics/pari/pari-2.5.2.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.5.1.ebuild,v 1.1 2012/03/06 17:06:06 bicatali Exp $
+
+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="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 )"
+
+SITEFILE=50${PN}-gentoo.el
+
+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
+
+ # 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() {
+ if use hppa; then
+ mymake=DLLD\="${EPREFIX}"/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm
+ fi
+
+ 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
+}
Please sign in to comment.
Something went wrong with that request. Please try again.