diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-05-05 16:07:24 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-05-05 16:07:24 +0000 |
commit | c0c52e2fe47f3562dce5f30f0fb5248a541ae468 (patch) | |
tree | 9d45c9e0c493788100fde8412a80d9d92409afb7 /sci-mathematics/pari | |
parent | Masked octave-forge for removal (diff) | |
download | historical-c0c52e2fe47f3562dce5f30f0fb5248a541ae468.tar.gz historical-c0c52e2fe47f3562dce5f30f0fb5248a541ae468.tar.bz2 historical-c0c52e2fe47f3562dce5f30f0fb5248a541ae468.zip |
Restored ugly old version to satisfy math-pari old stable
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
RepoMan-Options: --force
Diffstat (limited to 'sci-mathematics/pari')
-rw-r--r-- | sci-mathematics/pari/ChangeLog | 6 | ||||
-rw-r--r-- | sci-mathematics/pari/Manifest | 10 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.1.7-r1.ebuild | 95 |
3 files changed, 106 insertions, 5 deletions
diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog index bee19ee56fc3..823e7009ed87 100644 --- a/sci-mathematics/pari/ChangeLog +++ b/sci-mathematics/pari/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-mathematics/pari # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.75 2010/05/04 21:56:09 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.76 2010/05/05 16:07:24 bicatali Exp $ + + 05 May 2010; SĂ©bastien Fabbro <bicatali@gentoo.org> + +pari-2.1.7-r1.ebuild: + Restored ugly old version to satisfy math-pari old stable *pari-2.3.5 (04 May 2010) diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 67f08c3bb900..1662c7f38fd8 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -8,21 +8,23 @@ AUX pari-2.3.3-alglin.patch 696 RMD160 727ffea2a828adb6dd35bf95e569b7e4f21b9999 DIST elldata.tgz 14185595 RMD160 ddac2454fc65b7f5ddfbf1d39d96a3e51b8eef5c SHA1 f9705a2a11f1622ebcc4e6b8f3780af8a178da9e SHA256 4102c23fdbeadc89b47ba31d05fc58cd3c3e0cca216b11ec5c3be1330d4a5218 DIST galdata.tgz 53229 RMD160 488afbddf7026dd6d0c9ebbed72cb14c8c37173e SHA1 0fe78ed49e197066708a3fc3753b2651107a1264 SHA256 b7c1650099b24a20bdade47a85a928351c586287f0d4c73933313873e63290dd DIST nftables.tgz 8393731 RMD160 48a9c48246f91c1983712682937d666ba1ae6458 SHA1 90df66222346b0dbca68925671a374f5e286daeb SHA256 8dd3393ce6b3cfcf599f094f7b22bdffe17c3ba25deb912513d54676bd7cfe92 +DIST pari-2.1.7.tgz 1542137 RMD160 6d7ca649cdd457d96c12e1f9333143d496a78b7e SHA1 dca15bb3ac6dfdcc7934569fe3a65cb16f812a4e SHA256 9142f2cdaf3083c8962f1a5c2bb0e9fe8915f7d9490c03312ac2361c7ea155fa DIST pari-2.3.2.tar.gz 2015734 RMD160 d2394fd31bfa6efcbfce25081d75234ccb1005be SHA1 e7c823d393b513ba84bb66b400cbe3811a75a60f SHA256 514799c0722376ba7d163588f091662731bca0a4b3cd2a93d01eb6bec9d1f47a DIST pari-2.3.4.tar.gz 2024690 RMD160 d3bf1f24c0f321ccee309bc2b4c15c8a263fb73f SHA1 0c97456c5fc7e9fe774ceb44aaf77e9ba9574ae6 SHA256 284b241f65ea011942b50655c2e8036cdde66e3a9973d08acd50835debaf545d DIST pari-2.3.5.tar.gz 2018097 RMD160 488adf3af5398d0ab5390eb86b65cd79bd1044c5 SHA1 f211ccfe42a4b18dbcde832dfd1ece6f477f4966 SHA256 47ddae1af73b4476660d2a89338483949067a97ffb8758c82e8189dfa4c89d88 DIST seadata.tgz 8286706 RMD160 7ff7c3cd5dc46157f2cd7b3ffd286b78156435cd SHA1 587685837a736bc6fb25afc5407102d3e856854e SHA256 0df320a259235af031f7a03e2cc50fa8c272f561a7435cda3f75fc252951b297 +EBUILD pari-2.1.7-r1.ebuild 2753 RMD160 ea1372915253ee3128abd3281f5b94983afeffbd SHA1 3b6010fd6fd74932409b344a9d2d908eb3487ea4 SHA256 abaaa0d3df1610cebf1a3a1ba4dae2d15e65dea85915df87421390e23c856407 EBUILD pari-2.3.2-r1.ebuild 3040 RMD160 338300e379760838c689afe0c19b4e96d2133168 SHA1 0c71ef662feaed18526721c1a2ddeede7c2a8aac SHA256 0cfdfab38bc4236cca05b08e11e10cb8114dea458f43fb78fa7e0dd5f35c5c8d EBUILD pari-2.3.2.ebuild 3001 RMD160 17edc52e93161257af32e564c0e600d24a86ddc0 SHA1 649e35dea512aceb1df65462c9ce124bd24a1230 SHA256 32daa33c1e5c70965a5cb11434badf084b34ed821f3df08fbcb89f53d1bc952e EBUILD pari-2.3.4-r1.ebuild 4226 RMD160 aba7ae5d84924bbfd975c18fe7aa71cf6d4dc447 SHA1 717ce146d3ba0616c1ada2dd0bddc55e3ef704c2 SHA256 c54444dc3a2417dc02dad28ab65ad45dd30170caa4ccdeba6f582899a341a10f EBUILD pari-2.3.4.ebuild 4051 RMD160 ba0b44e35c2eb5fd9951a7273bcfd9fe3ead3f0c SHA1 785f8bdf24f326826b2417e94aaacf48bbcb924b SHA256 eaf39a40cd534b9f5bb069512bcab84c7ec4047adc57e8f827978fb5db42850b EBUILD pari-2.3.5.ebuild 4218 RMD160 94e47016b98fc0e1e8f682294878494a33a38680 SHA1 aa117a851857920542d0d8e6103ee5ff83bade8a SHA256 13cfbbc069ec982612afe53457c5a93463a4fdc26a3e879377c893603a42b24a -MISC ChangeLog 13982 RMD160 eb25c0b9bf372358a8e7f84c9b08aec3c6207ae9 SHA1 2b24bbd638a086daa51501034c31d547ffed1104 SHA256 a334eda7c2b76c8ae70602788e76e0d828036b6f694107c7df64b27ab99d6e6e +MISC ChangeLog 14123 RMD160 ff506861b31d2035239a41dec3ab586e3a5ba2c0 SHA1 89988337bd23ebff40ba4833de6b0f71866e216d SHA256 a6af4f5c4503dc58138879abb0ad6d80345031fcc792947b156cee6ee53f161b MISC metadata.xml 1272 RMD160 156e974a85658b4a0b184e4d96efdd9d1f0b226f SHA1 3a5de036ef9c131eda2c76df1754fc61dbd676da SHA256 5ee3f72154d8ecd3469d82ccc687f82dd640f91b124bb81192b8600eee3c7252 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) -iEYEARECAAYFAkvgolwACgkQ1ycZbhPLE2CN2wCfXtw228+jw0l0akKwRtANEHjE -AuMAoKlwTaSwT81t3irQw7meE65QBq8u -=EdSl +iEYEARECAAYFAkvhofYACgkQ1ycZbhPLE2DQUACgtHuA3FRLBmdexATKP2tp5aUl +UX8An2/NsTm/PhB1xlqN5wzSKTglUotO +=pQO7 -----END PGP SIGNATURE----- diff --git a/sci-mathematics/pari/pari-2.1.7-r1.ebuild b/sci-mathematics/pari/pari-2.1.7-r1.ebuild new file mode 100644 index 000000000000..e7e9efec6975 --- /dev/null +++ b/sci-mathematics/pari/pari-2.1.7-r1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.1.7-r1.ebuild,v 1.13 2010/05/05 16:07:24 bicatali Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="pari (or pari-gp) : a software package for computer-aided number theory" +HOMEPAGE="http://pari.math.u-bordeaux.fr/" +SRC_URI="http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86" +IUSE="doc emacs" + +DEPEND="doc? ( virtual/latex-base )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/docs.patch + + # remove exec stacks for x86; see bug #117434 + epatch "${FILESDIR}"/pari-non-exec-stack-x86-gentoo.patch +} + +src_compile() { + # Fix usage of toolchain + tc-getAS; tc-getLD; tc-getCC; tc-getCXX + + # Special handling for sparc + local myhost + [ "${PROFILE_ARCH}" == "sparc64" ] && myhost="sparc64-linux" \ + || myhost="$(echo ${CHOST} | cut -f "1 3" -d '-')" + einfo "Building for ${myhost}" + + # 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 + + # fix up build scripts to get rid of insecure RUNPATHS + # see bug #117434 + sed -e "s|\$runpathprefix \$TOP/\$objdir:\$tmp||" \ + -e "s|\$runpathprefix \$tmp||" -i config/Makefile.SH || \ + die "Failed to fix Makefile.SH" + sed -e "s|-L\$libdir|-L./|" -i Configure || \ + die "Failed to fix Configure" + + ./Configure \ + --host=${myhost} \ + --prefix=/usr \ + --miscdir=/usr/share/doc/${PF} \ + --datadir=/usr/share/${P} \ + --libdir=/usr/$(get_libdir) \ + --mandir=/usr/share/man/man1 || die "./configure failed" + addwrite "/var/lib/texmf" + addwrite "/usr/share/texmf" + addwrite "/var/cache/fonts" + + if use hppa + then + mymake=DLLD\=/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm + fi + + # Shared libraries should be PIC on ALL architectures. + # Danny van Dyk <kugelfang@gentoo.org> 2005/03/31 + # Fixes BUG #49583 + einfo "Building shared library..." + cd Olinux-* || die "Bad directory. File a BUG!" + emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!" + + einfo "Building executables..." + emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp || die "Building executables failed!" + + use doc || rm -rf doc/*.tex + use doc && emake doc +} + +src_test() { + ebegin "Testing pari kernel" + make CFLAGS="-Wl,-lpari" test-kernel > /dev/null + eend $? +} + +src_install() { + make DESTDIR="${D}" LIBDIR="${D}"/usr/$(get_libdir) install || die + if use emacs; then + insinto /usr/share/emacs/site-lisp + doins emacs/pari.el + fi + dodoc AUTHORS Announce.2.1 CHANGES README TODO +} |