summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/freemat/Manifest13
-rw-r--r--sci-mathematics/pari/ChangeLog6
-rw-r--r--sci-mathematics/pari/Manifest10
-rw-r--r--sci-mathematics/pari/pari-2.1.7-r1.ebuild95
4 files changed, 113 insertions, 11 deletions
diff --git a/sci-mathematics/freemat/Manifest b/sci-mathematics/freemat/Manifest
index ef3d88e15bde..7fe57ec40a3e 100644
--- a/sci-mathematics/freemat/Manifest
+++ b/sci-mathematics/freemat/Manifest
@@ -4,16 +4,17 @@ Hash: SHA1
AUX freemat-3.6-gcc44.patch 414 RMD160 9fad803969f30910cf8da539d1c9fc92e87e9e73 SHA1 43b526feacd539160371f23978833d74f1b195b8 SHA256 5e34882bf33ec9a28bcdbacd8f94246cdf5308248d36a908853606dd377c2887
AUX freemat-3.6-includes.patch 12718 RMD160 81e22774a89ead773b7a7cc49dfce272014198bd SHA1 83af91282c6771cb6d7cac13fd5a2d83d1defe59 SHA256 4b9b71e1ad007f32c85b45e5ce950e552c167c9942bab91d77ba53c9a088d9d9
AUX freemat-3.6-optional-deps.patch 2768 RMD160 53da537a8bb00e64ff887884217a7a46ccb28c05 SHA1 6b83d60570277a610f22a0e143e8afd88c44abdb SHA256 ff30ab1a5897234e91251b31bc3ef5e8acc97f8adb5b9443aebddecd83d5259c
+AUX freemat-4.0-gcc45.patch 8460 RMD160 aaf5d080e0ab9417538778e36f1da4caf2f32040 SHA1 966565ae170233f42056d0f59b48a7c3e4754b2f SHA256 bf5699f75995583e984a858a013e5566288332eebe5d9979a60d03c527ac1275
DIST FreeMat-3.6.tar.gz 7843736 RMD160 5af31332f42aafe952c6495b16ceee5ce4ab5d1c SHA1 2ffaac015f870409ceb07eae035efb94ab1d95cb SHA256 2cbc8b4435add159df11b734fd2736029b80f6c9712e53e5aa156eac1aac5951
DIST FreeMat-4.0-Source.tar.gz 38038903 RMD160 6978890a0e4b55bb4815bee9cc5c027b6da3c1e2 SHA1 4446af7f393bc33d7e6017f78cff4bf680c411a7 SHA256 6df1707c1f9e08b34e15eca8fa58bf3cf0ec8c121f64f58ca1d34a6eafd1066b
EBUILD freemat-3.6.ebuild 2123 RMD160 8dc1124673dcc63e815b6cc27a94fb68ed87585d SHA1 02efa5cbac4f7d0d89457453e02170c15c61e7a0 SHA256 3caa43851fbf85abc9a82fef7ce27136d78f521e386d63d1123182d7d87e5208
-EBUILD freemat-4.0.ebuild 1691 RMD160 99302396bb7320da5c62090348a59295855c053a SHA1 25898606090d478155b9d96fa3746505b20c7989 SHA256 1b53e0ecf8fed367f19b677a25def73dd50e8bd4a13f99753a3da0a32606b59b
-MISC ChangeLog 3772 RMD160 daea69748915ebebc2d8c2980c3e811ab7305ae5 SHA1 f2208c2bb80fc08e5af83ac18faaab67c2ba5e3d SHA256 1f97d515ed021a2815e11cc33bec36ad821f36647ebd16d0d42541b72d73878d
+EBUILD freemat-4.0.ebuild 1748 RMD160 5a9a55242dc40c8e29fd32b67c6604806c6ecb5b SHA1 dfc2db7a73a920b50ac51ea5370ecbdcb318ab64 SHA256 2af41c171d958aca601fe40d5448e7ed538af7c8a9f2fdf643b06f0514c7e85f
+MISC ChangeLog 3954 RMD160 9a1304a3397aaf729c4ddfaa551dd9daa7fd9459 SHA1 59dce93aead6ae566a60aeda3552d00f1eac7ae3 SHA256 733279d9f5e452ee078b3be38fc235b34fd8d9e8d1e0f7c8b8116067b38dfdc5
MISC metadata.xml 923 RMD160 b91a893dc540c52252fd68642f012051a05cb24c SHA1 05e4960fc83389804056ffcfec31b69b38929e38 SHA256 4025d2670fe55671ba64ec0ae29971f437c89641e0f08c96c6207f6907ab4016
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAktL8UUACgkQ1ycZbhPLE2BDogCdGvf46eQTTdAG+6gYdML8kyuf
-ptkAn0szvxf5zAxAfJLHQ1I1FIkMoKSd
-=AEo0
+iEYEARECAAYFAkvhouEACgkQ1ycZbhPLE2BN3gCgkRg2kSGLEvyEM4Rid7Gao4zj
+FlIAoLA2+wkro51nZ/3tSxgh7+q5M37m
+=yAVx
-----END PGP SIGNATURE-----
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
+}