diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-05-04 16:34:52 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-05-04 16:34:52 +0000 |
commit | 4ac8b2a922ed002caa49ca71a40154cc3b6e54bd (patch) | |
tree | 22f0b12a8cc6125c6d68fe7935330de6c35d0ab8 /sci-mathematics | |
parent | Update download URL. (diff) | |
download | historical-4ac8b2a922ed002caa49ca71a40154cc3b6e54bd.tar.gz historical-4ac8b2a922ed002caa49ca71a40154cc3b6e54bd.tar.bz2 historical-4ac8b2a922ed002caa49ca71a40154cc3b6e54bd.zip |
Version bump and cleanup.
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/pari/ChangeLog | 8 | ||||
-rw-r--r-- | sci-mathematics/pari/Manifest | 9 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.1.5-r4.ebuild | 82 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.1.7.ebuild | 86 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.3.3.ebuild (renamed from sci-mathematics/pari/pari-2.3.0.ebuild) | 69 |
5 files changed, 53 insertions, 201 deletions
diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog index eba8eaea5217..2e06b92745f5 100644 --- a/sci-mathematics/pari/ChangeLog +++ b/sci-mathematics/pari/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-mathematics/pari # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.57 2008/04/03 12:37:59 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.58 2008/05/04 16:34:52 markusle Exp $ + +*pari-2.3.3 (04 May 2008) + + 04 May 2008; Markus Dittrich <markusle@gentoo.org> -pari-2.1.5-r4.ebuild, + -pari-2.1.7.ebuild, -pari-2.3.0.ebuild, +pari-2.3.3.ebuild: + Version bump and cleanup. 03 Apr 2008; Markus Dittrich <markusle@gentoo.org> pari-2.3.2-r1.ebuild: Made the ebuild mode generic for it to work on BSD also (see bug #214379). diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 62022d1de485..711d843aa0ab 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -5,17 +5,14 @@ AUX pari-2.3.2-strip.patch 293 RMD160 49660a3edcfd8f73ce5fe78f832262f98348a804 S AUX pari-non-exec-stack-x86-gentoo.patch 345 RMD160 34d513eded3f15d058c7e2da0497f2b7f519b044 SHA1 a76ba8da7530419dc3ebe779035b14a9d55e8fc9 SHA256 e2574f58eb385c3dc76f5f5eff4fb075090d37bbd078bbbf68e95e09539f31d5 AUX wrong_functype-r1.patch 1498 RMD160 ede78c0c8e3e1e2873aa1b61efe2515f92c2575f SHA1 85d0ebe7093a9cba9f00fb5694f8d1c15bf8f03a SHA256 f4b2ae857a9e8b5ab99640e343bb962297bbca49f5425749ef919ba953a29c9e AUX wrong_functype.patch 1946 RMD160 e38655b53030eecc3c7520cd4a0fc48ea174fd0e SHA1 2da2d4eca4adf4b44970b94cf308243c82d1bcde SHA256 a2ae7109f8f292393c80b710c0da4f1079ebe64f480d8f99d4ca2c9b6325e27b -DIST pari-2.1.5.tgz 1540679 RMD160 1ebd126e69cbb239304f67b420b16226ac335c59 SHA1 fd9a969d2f6afbfd1ebf3293fb90df23f602a7fb SHA256 fbec16d25251a15d58b55d0e7b8d277d13a1ff4f838b9dc865506a26b8cf5427 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 2587 RMD160 3f0db0b88d6a54f01cd3bfdc7f15c33a17b370bc SHA1 1be4794891244331bb0e1016a9e6ceaa3712b74c SHA256 0c0292ee96fb532eb592e2e67873b231dc5a15cb4e9f7b910bb594cd283970d1 +DIST pari-2.3.3.tar.gz 2016896 RMD160 ad81a5332f42025b822d8906b7e04039f8d50187 SHA1 5304442a631fd87681112e5e7a8d071eeda3e192 SHA256 829e61bccb96a1d11c3a52631b25be3913470146a3747dae154917acd4d53280 EBUILD pari-2.1.6.ebuild 2490 RMD160 94f196d096f2ce6ba66c958e0087757c20b38424 SHA1 10097868a5fc95040fcfbbdb733974a834d92109 SHA256 01975c5e5d6dcd1c78456c0562508cb412b2e4fadf3806ed4890c2dd0080c2ac EBUILD pari-2.1.7-r1.ebuild 2749 RMD160 47956f86a6ec165eb84d83c1ae849a95baab70d0 SHA1 517fbe2b654f316803c819de2e2098165138c2a2 SHA256 15b0ca5d7f225c987fe538d42a7765265d17aed24482ca30483fc3cf35fce79f -EBUILD pari-2.1.7.ebuild 2455 RMD160 d0ad983e207524323f42d6b36501e6222c60d33c SHA1 d65fe62d495beed348ac6090f150d4db6197b3d3 SHA256 729c06392f86496f349acf82af4bbfc448fef5bf7c666584882127c6ab413629 -EBUILD pari-2.3.0.ebuild 2687 RMD160 0842978a58fa9cbf7c2491f3e84633850ba383ec SHA1 ee4750ec1e441f2ddeccd9420a0d3870e0129df2 SHA256 7d5b647c0ccc3f73a846fc4f3861d4515d51c974ab7c8cbe7f995cef1183329f EBUILD pari-2.3.2-r1.ebuild 3031 RMD160 1a581ee0ec1c9cb352cefcdbbd679f7555345889 SHA1 d6c83ba669aa9b344a73459303bf0a1eca67ab55 SHA256 e16d9816da6353e6c1759f668c471f0f261c857d2954494ede51fed705518567 EBUILD pari-2.3.2.ebuild 2990 RMD160 64d1807ad5fef220da62db8df3f99c7c4e14cb92 SHA1 88b65d5c4a0a136d334a99904acf0a2b8ca916e1 SHA256 344f393da4ae540a2602793d5cb95585f25e36741686fc790c93185c5dcfe7bd -MISC ChangeLog 10738 RMD160 cb56e1d310956b0db67d93ea058f7d15d1095542 SHA1 42fea8584a110c78398d2a6561a3cd20bb83bec1 SHA256 209e1530273b969fd9058a2cc9dab6970c35623a600389b1660fa38475fcbf14 +EBUILD pari-2.3.3.ebuild 3042 RMD160 8a2023b8a10d03e9a3f3e4b6e8eaf9a112b84550 SHA1 fd6a9bd4bba4836854b15722324ac4547689e9cd SHA256 93c915fa2dff734750f42e8394cb42b24659ebaecd99f6da2b4bd04547331aef +MISC ChangeLog 10932 RMD160 3d5c6a88b328d2c4f48cc5d1ec59c245ca130866 SHA1 9671e2e02df238b72ade727facbb67cc5199c2d0 SHA256 75bd27d09cc3816a037913cabd449466f0bb0e23d87a5289be3dcdf9bf7b5b57 MISC metadata.xml 168 RMD160 d98790cf055dc0f820c63d65f485b9dcfa8950f4 SHA1 95c9e4f7368f82053d631bbcd469612c92ca13cb SHA256 c0cc8d6ab9385750af753ddc504299ed90a70b5c4c655f6c77d865917a8829c9 diff --git a/sci-mathematics/pari/pari-2.1.5-r4.ebuild b/sci-mathematics/pari/pari-2.1.5-r4.ebuild deleted file mode 100644 index 7318d313a9d7..000000000000 --- a/sci-mathematics/pari/pari-2.1.5-r4.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# 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.1.5-r4.ebuild,v 1.6 2007/11/16 15:46:32 markusle Exp $ - -inherit eutils flag-o-matic multilib - -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/${PN}/unix/OLD/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 hppa ~mips ~ppc ~sparc x86" - -IUSE="doc emacs" - -DEPEND="doc? ( virtual/tetex )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/docs.patch - epatch "${FILESDIR}"/wrong_functype.patch - -} - -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 - - #we also need to force -fPIC - if ! is-flag -fPIC; then append-flags -fPIC; fi - - ./Configure \ - --host="$(echo ${CHOST} | cut -f "1 3" -d '-')" \ - --prefix=/usr \ - --miscdir=/usr/share/doc/${P} \ - --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 amd64; then - # Fixes BUG #49583 - einfo "Building shared library..." - cd Olinux-x86_64 - emake CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!" - einfo "Building executables..." - emake CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp || die "Building exectuables failed!" - elif use alpha; then - einfo "Building shared library..." - cd Olinux-alpha - emake CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!" - einfo "Building executables..." - emake CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp || die "Building exec tu ables failed!" - elif use hppa; then - einfo "Building shared library..." - cd Olinux-hppa* - mymake=DLLD\=/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm - emake CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" ${mymake} lib-dyn || die "Building shared library failed!" - einfo "Building executables..." - emake CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp || die "Building exec tu ables failed!" - else - emake CFLAGS="${CFLAGS} -DGCC_INLINE" gp || die - fi - use doc || rm -rf doc/*.tex - use doc && emake doc -} - -src_install () { - make DESTDIR="${D}" 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 -} diff --git a/sci-mathematics/pari/pari-2.1.7.ebuild b/sci-mathematics/pari/pari-2.1.7.ebuild deleted file mode 100644 index 6c1000791242..000000000000 --- a/sci-mathematics/pari/pari-2.1.7.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# 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.1.7.ebuild,v 1.7 2007/11/16 15:46:32 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/${PN}/unix/OLD/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha ~amd64 hppa ~mips ppc sparc x86" -IUSE="doc emacs" - -DEPEND="doc? ( virtual/tetex )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/docs.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 - #we also need to force -fPIC throughout on amd64 - if [ "${ARCH}" = "amd64" ] && ! is-flag -fPIC; then append-flags -fPIC; fi - - ./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 -} diff --git a/sci-mathematics/pari/pari-2.3.0.ebuild b/sci-mathematics/pari/pari-2.3.3.ebuild index 8ba50baadabc..5ddfd4d87fa5 100644 --- a/sci-mathematics/pari/pari-2.3.0.ebuild +++ b/sci-mathematics/pari/pari-2.3.3.ebuild @@ -1,38 +1,45 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.0.ebuild,v 1.6 2007/11/16 15:46:32 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.3.ebuild,v 1.1 2008/05/04 16:34:52 markusle Exp $ -inherit eutils toolchain-funcs flag-o-matic +inherit elisp-common eutils flag-o-matic multilib toolchain-funcs -DESCRIPTION="pari (or pari-gp) : a software package for computer-aided number theory" +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" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="doc emacs X" DEPEND="doc? ( virtual/tetex ) sys-libs/readline - X? ( x11-libs/libX11 )" + X? ( x11-libs/libX11 ) + emacs? ( virtual/emacs )" +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_unpack() { unpack ${A} cd "${S}" + epatch "${FILESDIR}/"${PN}-2.3.2-strip.patch + epatch "${FILESDIR}/"${PN}-2.3.2-ppc-powerpc-arch-fix.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() { - # 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 @@ -41,22 +48,21 @@ src_compile() { fi ./Configure \ - --host=${myhost} \ --prefix=/usr \ --datadir=/usr/share/${P} \ --libdir=/usr/$(get_libdir) \ - --mandir=/usr/share/man/man1 || die "./configure failed" + --mandir=/usr/share/man/man1 || die "./Configure failed" - if use hppa - then + 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 + local installdir=$(get_compile_dir) einfo "Building shared library..." - cd Olinux-* || die "Bad directory. File a BUG!" + cd "${installdir}" || die "Bad directory. File a BUG!" emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!" einfo "Building executables..." @@ -66,32 +72,43 @@ src_compile() { 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() { - ebegin "Testing pari kernel" - make test-kernel > /dev/null - eend $? + make test-kernel } src_install() { - make DESTDIR="${D}" LIBDIR="${D}"/usr/$(get_libdir) install || \ + emake 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 + 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 + dodoc AUTHORS Announce.2.1 CHANGES README TODO NEW if use doc; then - make DESTDIR="${D}" LIBDIR="${D}"/usr/$(get_libdir) install-doc \ + 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 || \ + 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 +} |