diff options
author | Jeroen Roovers <jer@gentoo.org> | 2007-10-02 14:33:42 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2007-10-02 14:33:42 +0000 |
commit | 025f5315c581cbddd77e3d219bb5ba8a6f6d70ac (patch) | |
tree | 5c1d4f0224204069497716603dced03ec6230134 /sci-mathematics/pari | |
parent | Stable on alpha (bug #191216) (diff) | |
download | historical-025f5315c581cbddd77e3d219bb5ba8a6f6d70ac.tar.gz historical-025f5315c581cbddd77e3d219bb5ba8a6f6d70ac.tar.bz2 historical-025f5315c581cbddd77e3d219bb5ba8a6f6d70ac.zip |
Revision bump to fix HPPA build problem, and trivial changes in whitespace and other QA conventions (bug #194456).
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'sci-mathematics/pari')
-rw-r--r-- | sci-mathematics/pari/ChangeLog | 9 | ||||
-rw-r--r-- | sci-mathematics/pari/Manifest | 19 | ||||
-rw-r--r-- | sci-mathematics/pari/files/digest-pari-2.3.2-r1 | 3 | ||||
-rw-r--r-- | sci-mathematics/pari/files/pari-2.3.2-strip.patch | 11 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.3.2-r1.ebuild | 107 |
5 files changed, 144 insertions, 5 deletions
diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog index 899abb979f29..ae58a35f751f 100644 --- a/sci-mathematics/pari/ChangeLog +++ b/sci-mathematics/pari/ChangeLog @@ -1,6 +1,13 @@ # 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.49 2007/10/01 17:03:36 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.50 2007/10/02 14:33:41 jer Exp $ + +*pari-2.3.2-r1 (02 Oct 2007) + + 02 Oct 2007; Jeroen Roovers <jer@gentoo.org> + +files/pari-2.3.2-strip.patch, +pari-2.3.2-r1.ebuild: + Revision bump to fix HPPA build problem, and trivial changes in whitespace + and other QA conventions (bug #194456). 01 Oct 2007; Jeroen Roovers <jer@gentoo.org> pari-2.3.2.ebuild: DON'T hide build output. diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 744455662334..ace45eec20f6 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -6,6 +6,10 @@ AUX docs.patch 915 RMD160 3e5cf3712d9f22678ab3bad2e541e04c11405a04 SHA1 ddc4e171 MD5 c3f89da5ddbdb73646e3d64ee31ea887 files/docs.patch 915 RMD160 3e5cf3712d9f22678ab3bad2e541e04c11405a04 files/docs.patch 915 SHA256 00237da12482a4f292ddf358f269c9e28531da172aa130b07a26c9e125e45d1c files/docs.patch 915 +AUX pari-2.3.2-strip.patch 293 RMD160 49660a3edcfd8f73ce5fe78f832262f98348a804 SHA1 85012664fd4c1f092ca08c4a1e174cc05ff09b72 SHA256 e4a63e53734295dbbdcf9ade59c12d49a36317be3b25a223c684221086fce21b +MD5 df0fcda54d99c57caa363b014f04244f files/pari-2.3.2-strip.patch 293 +RMD160 49660a3edcfd8f73ce5fe78f832262f98348a804 files/pari-2.3.2-strip.patch 293 +SHA256 e4a63e53734295dbbdcf9ade59c12d49a36317be3b25a223c684221086fce21b files/pari-2.3.2-strip.patch 293 AUX pari-non-exec-stack-x86-gentoo.patch 345 RMD160 34d513eded3f15d058c7e2da0497f2b7f519b044 SHA1 a76ba8da7530419dc3ebe779035b14a9d55e8fc9 SHA256 e2574f58eb385c3dc76f5f5eff4fb075090d37bbd078bbbf68e95e09539f31d5 MD5 78c8899d1c750e318c88a8cf08a5eefc files/pari-non-exec-stack-x86-gentoo.patch 345 RMD160 34d513eded3f15d058c7e2da0497f2b7f519b044 files/pari-non-exec-stack-x86-gentoo.patch 345 @@ -43,14 +47,18 @@ EBUILD pari-2.3.0.ebuild 2689 RMD160 570bc3462b07feab4d0d21d1323949f837e14a66 SH MD5 f7401926157d44c66bc9a4001118bac0 pari-2.3.0.ebuild 2689 RMD160 570bc3462b07feab4d0d21d1323949f837e14a66 pari-2.3.0.ebuild 2689 SHA256 2b0c1384ba4017ca1db4cdc72b730080ec03831d23a7c1ea440b260d82a842f3 pari-2.3.0.ebuild 2689 +EBUILD pari-2.3.2-r1.ebuild 2790 RMD160 da4fef363e471afa91d6bc16dc0eb59bef9c11c9 SHA1 e83b3eb3c5c2338c801f381167849ab325c568c1 SHA256 53326b7baadd72f8dddf6b5c5d4265c735bd45c9dba72225d6ebbfc0892a633e +MD5 970a7c3022b9aab29e5b146007f059b3 pari-2.3.2-r1.ebuild 2790 +RMD160 da4fef363e471afa91d6bc16dc0eb59bef9c11c9 pari-2.3.2-r1.ebuild 2790 +SHA256 53326b7baadd72f8dddf6b5c5d4265c735bd45c9dba72225d6ebbfc0892a633e pari-2.3.2-r1.ebuild 2790 EBUILD pari-2.3.2.ebuild 2996 RMD160 f29056b2c70d74760da94a15f55c3eaa2fdaab1c SHA1 83c128e044cf1ff8ce31290a14b83e9c5f2b0856 SHA256 9d99c81d21e5b2f4bb1acfed5062008f8640e11822a56ce1918ef06af9cdc393 MD5 c0dc38636ecc373ae89b4f315bb0083f pari-2.3.2.ebuild 2996 RMD160 f29056b2c70d74760da94a15f55c3eaa2fdaab1c pari-2.3.2.ebuild 2996 SHA256 9d99c81d21e5b2f4bb1acfed5062008f8640e11822a56ce1918ef06af9cdc393 pari-2.3.2.ebuild 2996 -MISC ChangeLog 9341 RMD160 81e01e39fa7450679e6e2e99b184eeb80179ebd8 SHA1 b43ba472181a9aa17852a1f789393ec66348badf SHA256 b97b45bf87bcc9df50b8cc3a931468d63d940289b87141aefb37d7ca7c3d5839 -MD5 2684825645139306eca4aaea4b26ea6e ChangeLog 9341 -RMD160 81e01e39fa7450679e6e2e99b184eeb80179ebd8 ChangeLog 9341 -SHA256 b97b45bf87bcc9df50b8cc3a931468d63d940289b87141aefb37d7ca7c3d5839 ChangeLog 9341 +MISC ChangeLog 9594 RMD160 9a353c6397f1323bc4e6ff30f49088d96d055a94 SHA1 04af3ddf6afd13438202808de2be7bc02359f8b6 SHA256 1bc2ff76d8fa120b3c9b30b50235021b6ab9bcacff193d3964a0408f58d8554e +MD5 e69a1af46427f381f6c17f29fcbb9311 ChangeLog 9594 +RMD160 9a353c6397f1323bc4e6ff30f49088d96d055a94 ChangeLog 9594 +SHA256 1bc2ff76d8fa120b3c9b30b50235021b6ab9bcacff193d3964a0408f58d8554e ChangeLog 9594 MISC metadata.xml 168 RMD160 d98790cf055dc0f820c63d65f485b9dcfa8950f4 SHA1 95c9e4f7368f82053d631bbcd469612c92ca13cb SHA256 c0cc8d6ab9385750af753ddc504299ed90a70b5c4c655f6c77d865917a8829c9 MD5 30bc69a424d7634aae9c1e4203365d3d metadata.xml 168 RMD160 d98790cf055dc0f820c63d65f485b9dcfa8950f4 metadata.xml 168 @@ -73,3 +81,6 @@ SHA256 42f3f981d8c664f9939ffd55fcd2132e6e715a966fd44a9671e0cf00458e5461 files/di 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 +MD5 ef2b356cd70389f43fa0e6a9611bc3c9 files/digest-pari-2.3.2-r1 235 +RMD160 87de60ec40e82e1db0a49904beaddbfe83b79510 files/digest-pari-2.3.2-r1 235 +SHA256 d9e19c4ea72d742401616b2595d98098fc754ac4c108918d7b6bfb791bf22128 files/digest-pari-2.3.2-r1 235 diff --git a/sci-mathematics/pari/files/digest-pari-2.3.2-r1 b/sci-mathematics/pari/files/digest-pari-2.3.2-r1 new file mode 100644 index 000000000000..9b6b3b422cbc --- /dev/null +++ b/sci-mathematics/pari/files/digest-pari-2.3.2-r1 @@ -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/files/pari-2.3.2-strip.patch b/sci-mathematics/pari/files/pari-2.3.2-strip.patch new file mode 100644 index 000000000000..0fee947fd556 --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.3.2-strip.patch @@ -0,0 +1,11 @@ +--- config/Makefile.SH. 2007-10-01 23:45:45.000000000 +0200 ++++ config/Makefile.SH 2007-10-01 23:55:10.000000000 +0200 +@@ -208,7 +208,7 @@ + MV = mv -f + LN = $ln_s + CP_F = cp -f +-STRIP = strip ++STRIP = true + STRIPFLAGS = + + # Change these installation directories to suit your needs. diff --git a/sci-mathematics/pari/pari-2.3.2-r1.ebuild b/sci-mathematics/pari/pari-2.3.2-r1.ebuild new file mode 100644 index 000000000000..5d6c81bff938 --- /dev/null +++ b/sci-mathematics/pari/pari-2.3.2-r1.ebuild @@ -0,0 +1,107 @@ +# 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-r1.ebuild,v 1.1 2007/10/02 14:33:41 jer Exp $ + +inherit elisp-common eutils flag-o-matic multilib 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/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 ) + emacs? ( virtual/emacs )" +SITEFILE=50${PN}-gentoo.el + + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-strip.patch" + + # 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() { + #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 \ + --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 + + if use emacs; then + cd "${S}/emacs" + elisp-comp *.el || die "elisp-comp failed" + fi +} + +src_test() { + cd "${S}" + + make test-kernel +} + +src_install() { + emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || \ + die "Install failed" + + if use emacs; then + elisp-install ${PN} emacs/*.el emacs/*.elc || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + + dodoc AUTHORS Announce.2.1 CHANGES README TODO NEW + if use doc; then + emake 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" +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |