summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2007-05-06 12:25:45 +0000
committerMarkus Dittrich <markusle@gentoo.org>2007-05-06 12:25:45 +0000
commit8b40161553e8fa6649e265a2b20ddc8eef88e53c (patch)
tree5ec1169f7ca47dd34327614300f8571e4a66c393 /sci-mathematics
parentReplacing einfo with elog (diff)
downloadhistorical-8b40161553e8fa6649e265a2b20ddc8eef88e53c.tar.gz
historical-8b40161553e8fa6649e265a2b20ddc8eef88e53c.tar.bz2
historical-8b40161553e8fa6649e265a2b20ddc8eef88e53c.zip
Version bump.
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/pari/ChangeLog7
-rw-r--r--sci-mathematics/pari/Manifest26
-rw-r--r--sci-mathematics/pari/files/digest-pari-2.3.23
-rw-r--r--sci-mathematics/pari/pari-2.3.2.ebuild98
4 files changed, 119 insertions, 15 deletions
diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog
index 0f705dfdcb08..6c58cb24d026 100644
--- a/sci-mathematics/pari/ChangeLog
+++ b/sci-mathematics/pari/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/pari
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.41 2007/02/22 01:33:38 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.42 2007/05/06 12:25:45 markusle Exp $
+
+*pari-2.3.2 (06 May 2007)
+
+ 06 May 2007; Markus Dittrich <markusle@gentoo.org> +pari-2.3.2.ebuild:
+ Version bump.
22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest
index c853348de38d..e3435d7713b1 100644
--- a/sci-mathematics/pari/Manifest
+++ b/sci-mathematics/pari/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX docs.patch 915 RMD160 3e5cf3712d9f22678ab3bad2e541e04c11405a04 SHA1 ddc4e17185936d5a40e47254415ce94c15227ddc SHA256 00237da12482a4f292ddf358f269c9e28531da172aa130b07a26c9e125e45d1c
MD5 c3f89da5ddbdb73646e3d64ee31ea887 files/docs.patch 915
RMD160 3e5cf3712d9f22678ab3bad2e541e04c11405a04 files/docs.patch 915
@@ -21,6 +18,7 @@ DIST pari-2.1.5.tar.gz 1540679 RMD160 1ebd126e69cbb239304f67b420b16226ac335c59 S
DIST pari-2.1.6.tgz 1541464 RMD160 6b79e84b639d1862df148b253136deacd73bf4f0 SHA1 54bd40fa70a02e76d78d0ea19c0f56f7da62de8e SHA256 6150700432e2cbd08567aeaa62b2f7f92f350b83f2cac8e747b1d581883a4227
DIST pari-2.1.7.tgz 1542137 RMD160 6d7ca649cdd457d96c12e1f9333143d496a78b7e SHA1 dca15bb3ac6dfdcc7934569fe3a65cb16f812a4e SHA256 9142f2cdaf3083c8962f1a5c2bb0e9fe8915f7d9490c03312ac2361c7ea155fa
DIST pari-2.3.0.tar.gz 2009553 RMD160 5d34ae6af7f5a50df25d6ca07d81dff12cbcc9e4 SHA1 73a0b2cb02d38d81b9b14d7edb1a4ec8e59fa9b4 SHA256 e8d1ddbeb15e0df04e97ed274804ca2c790950327bdffa852388a31b57b1e10f
+DIST pari-2.3.2.tar.gz 2015734 RMD160 d2394fd31bfa6efcbfce25081d75234ccb1005be SHA1 e7c823d393b513ba84bb66b400cbe3811a75a60f SHA256 514799c0722376ba7d163588f091662731bca0a4b3cd2a93d01eb6bec9d1f47a
EBUILD pari-2.1.5-r4.ebuild 2563 RMD160 8a9d12ed7316ad8cbf60bb60f3e8dfd3d4e8c520 SHA1 a761a8809cbeb46ca6f565aab5f554569cb2281e SHA256 aed15d7a05c642b46963d1bf32014a8b0688b2b4b43175b0dbd70ab04a7c18d3
MD5 dd86221c31f38694f931f54d55252b38 pari-2.1.5-r4.ebuild 2563
RMD160 8a9d12ed7316ad8cbf60bb60f3e8dfd3d4e8c520 pari-2.1.5-r4.ebuild 2563
@@ -41,10 +39,14 @@ EBUILD pari-2.3.0.ebuild 2707 RMD160 c543cf49774447dbdecc3c072a14276ee2321246 SH
MD5 6e5a804e929d181353bcc2aa1c1e3e58 pari-2.3.0.ebuild 2707
RMD160 c543cf49774447dbdecc3c072a14276ee2321246 pari-2.3.0.ebuild 2707
SHA256 c5d553a3ec9362ceb811298bb9771af82336145c13439201409aea46dc83eeb2 pari-2.3.0.ebuild 2707
-MISC ChangeLog 8270 RMD160 dff62582d6756ea9837d5544bc9b60e33ba49792 SHA1 5f110cc5be151dac3566856f8936825f7b208b27 SHA256 b55ea0d0879d499790da8ae66ef96a2571b3208095db5b5bf62b901a228bb5b5
-MD5 5c755d14f2d196a96a622cb16e15bf3e ChangeLog 8270
-RMD160 dff62582d6756ea9837d5544bc9b60e33ba49792 ChangeLog 8270
-SHA256 b55ea0d0879d499790da8ae66ef96a2571b3208095db5b5bf62b901a228bb5b5 ChangeLog 8270
+EBUILD pari-2.3.2.ebuild 2711 RMD160 41086f3382267340e4bb091e4294ba9a72a2dc65 SHA1 18f2c5e4836503ff8303e9f3befee636f33b8da3 SHA256 4c60b570464affdbb5b1b1e7f8c32b9b2289d92b282eabe1b367d6470afdf307
+MD5 23ab6dbc9776b5105a0d1b2c7e41a68d pari-2.3.2.ebuild 2711
+RMD160 41086f3382267340e4bb091e4294ba9a72a2dc65 pari-2.3.2.ebuild 2711
+SHA256 4c60b570464affdbb5b1b1e7f8c32b9b2289d92b282eabe1b367d6470afdf307 pari-2.3.2.ebuild 2711
+MISC ChangeLog 8390 RMD160 c83a516b9ad10fcd4f42f1722a2ec4b729315d73 SHA1 e44bbd548a3306c29cc2965ca32bde014714558b SHA256 09e747f02b8178b06f7421fb3b26c1840fc115b44c1ab47eee0606637e1a1601
+MD5 e2394734048c9aabd6f5f93fb134e3d0 ChangeLog 8390
+RMD160 c83a516b9ad10fcd4f42f1722a2ec4b729315d73 ChangeLog 8390
+SHA256 09e747f02b8178b06f7421fb3b26c1840fc115b44c1ab47eee0606637e1a1601 ChangeLog 8390
MISC metadata.xml 168 RMD160 d98790cf055dc0f820c63d65f485b9dcfa8950f4 SHA1 95c9e4f7368f82053d631bbcd469612c92ca13cb SHA256 c0cc8d6ab9385750af753ddc504299ed90a70b5c4c655f6c77d865917a8829c9
MD5 30bc69a424d7634aae9c1e4203365d3d metadata.xml 168
RMD160 d98790cf055dc0f820c63d65f485b9dcfa8950f4 metadata.xml 168
@@ -64,10 +66,6 @@ SHA256 677ddf7806dfd620db0256a9dc90607881bd91e5a918a39eb6d7eb53354d90b0 files/di
MD5 a2ae025cf063e0921e9808328247d59f files/digest-pari-2.3.0 235
RMD160 e6addbee75c3fbade71bcd093eb63ba375325035 files/digest-pari-2.3.0 235
SHA256 42f3f981d8c664f9939ffd55fcd2132e6e715a966fd44a9671e0cf00458e5461 files/digest-pari-2.3.0 235
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFF3PKJz974XjDVpbkRArUCAJ9+PG1XKof4ZjieK3fFFnZpXpsIgACfUn46
-vP7LaMcrAssbDC+3TpjE+08=
-=fOvk
------END PGP SIGNATURE-----
+MD5 ef2b356cd70389f43fa0e6a9611bc3c9 files/digest-pari-2.3.2 235
+RMD160 87de60ec40e82e1db0a49904beaddbfe83b79510 files/digest-pari-2.3.2 235
+SHA256 d9e19c4ea72d742401616b2595d98098fc754ac4c108918d7b6bfb791bf22128 files/digest-pari-2.3.2 235
diff --git a/sci-mathematics/pari/files/digest-pari-2.3.2 b/sci-mathematics/pari/files/digest-pari-2.3.2
new file mode 100644
index 000000000000..9b6b3b422cbc
--- /dev/null
+++ b/sci-mathematics/pari/files/digest-pari-2.3.2
@@ -0,0 +1,3 @@
+MD5 54f8b7cb615db6d216f1a31a575c8223 pari-2.3.2.tar.gz 2015734
+RMD160 d2394fd31bfa6efcbfce25081d75234ccb1005be pari-2.3.2.tar.gz 2015734
+SHA256 514799c0722376ba7d163588f091662731bca0a4b3cd2a93d01eb6bec9d1f47a pari-2.3.2.tar.gz 2015734
diff --git a/sci-mathematics/pari/pari-2.3.2.ebuild b/sci-mathematics/pari/pari-2.3.2.ebuild
new file mode 100644
index 000000000000..7dbe79b5079c
--- /dev/null
+++ b/sci-mathematics/pari/pari-2.3.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.2.ebuild,v 1.1 2007/05/06 12:25:45 markusle 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/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
+IUSE="doc emacs X"
+
+DEPEND="doc? ( virtual/tetex )
+ sys-libs/readline
+ X? ( || ( x11-libs/libX11 virtual/x11 ) )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # disable default building of docs during install
+ sed -e "s:install-doc install-examples:install-examples:" \
+ -i config/Makefile.SH || die "Failed to fix makefile"
+}
+
+src_compile() {
+ # 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
+
+ ./Configure \
+ --host=${myhost} \
+ --prefix=/usr \
+ --datadir=/usr/share/${P} \
+ --libdir=/usr/$(get_libdir) \
+ --mandir=/usr/share/man/man1 || die "./configure failed"
+
+ 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!"
+
+ if use doc; then
+ cd "${S}"
+ emake docpdf || die "Failed to generate docs"
+ fi
+}
+
+src_test() {
+ cd "${S}"
+ ebegin "Testing pari kernel"
+ make test-kernel > /dev/null
+ eend $?
+}
+
+src_install() {
+ make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install || \
+ die "Install failed"
+
+ if use emacs; then
+ insinto /usr/share/emacs/site-lisp
+ doins emacs/pari.el
+ fi
+
+ dodoc AUTHORS Announce.2.1 CHANGES README TODO NEW
+ if use doc; then
+ make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install-doc \
+ || die "Failed to install docs"
+ insinto /usr/share/doc/${PF}
+ doins doc/*.pdf || die "Failed to install pdf docs"
+ fi
+
+ #remove superfluous doc directory
+ rm -fr ${D}/usr/share/${P}/doc || \
+ die "Failed to clean up doc directory"
+}