Moved from app-sci/pari to sci-mathematics/pari.
authorOlivier Fisette <ribosome@gentoo.org>
Tue, 28 Dec 2004 15:08:39 +0000 (15:08 +0000)
committerOlivier Fisette <ribosome@gentoo.org>
Tue, 28 Dec 2004 15:08:39 +0000 (15:08 +0000)
sci-mathematics/pari/ChangeLog [new file with mode: 0644]
sci-mathematics/pari/Manifest [new file with mode: 0644]
sci-mathematics/pari/files/digest-pari-2.1.5-r1 [new file with mode: 0644]
sci-mathematics/pari/files/digest-pari-2.1.5-r2 [new file with mode: 0644]
sci-mathematics/pari/files/digest-pari-2.1.5-r3 [new file with mode: 0644]
sci-mathematics/pari/files/docs.patch [new file with mode: 0644]
sci-mathematics/pari/metadata.xml [new file with mode: 0644]
sci-mathematics/pari/pari-2.1.5-r1.ebuild [new file with mode: 0644]
sci-mathematics/pari/pari-2.1.5-r2.ebuild [new file with mode: 0644]
sci-mathematics/pari/pari-2.1.5-r3.ebuild [new file with mode: 0644]

diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog
new file mode 100644 (file)
index 0000000..ff7a01e
--- /dev/null
@@ -0,0 +1,78 @@
+# ChangeLog for app-sci/pari
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.1 2004/12/28 15:08:39 ribosome Exp $
+
+*pari-2.1.5-r3 (28 Dec 2004)
+
+  28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+  +files/docs.patch, +pari-2.1.5-r1.ebuild, +pari-2.1.5-r2.ebuild,
+  +pari-2.1.5-r3.ebuild:
+  Moved from app-sci/pari to sci-mathematics/pari.
+
+  12 Sep 2004; Bryan Ã˜stergaard <kloeri@gentoo.org> pari-2.1.5-r3.ebuild:
+  Fix fPIC issue on alpha.
+
+  06 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> pari-2.1.5-r3.ebuild:
+  Marked stable on amd64.
+
+  02 Jun 2004; Aron Griffis <agriffis@gentoo.org> pari-2.1.5-r2.ebuild,
+  pari-2.1.5-r3.ebuild:
+  Fix use invocation
+
+*pari-2.1.5-r3 (11 May 2004)
+
+  11 May 2004; Patrick Kursawe <phosphan@gentoo.org> pari-2.1.5-r3.ebuild,
+  files/docs.patch:
+  Fixing some of the TeX sources for the docs and adding the emacs file when
+  emacs is in USE (see bug #44355)
+
+  08 May 2004; Danny van Dyk <kugelfang@gentoo.org> pari-2.1.5-r2.ebuild:
+  Shared library will now be built with -fPIC, solves BUG #49853.
+
+  05 May 2004; Bryan Ã˜stergaard <kloeri@gentoo.org> pari-2.1.5-r2.ebuild:
+  Stable on alpha.
+
+  19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> pari-2.1.4.ebuild,
+  pari-2.1.5-r1.ebuild, pari-2.1.5.ebuild:
+  Cleanup
+
+*pari-2.1.5-r2 (15 Mar 2004)
+
+  15 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> pari-2.1.5-r2.ebuild:
+  Fixing bug #40788
+
+*pari-2.1.5-r1 (15 Mar 2004)
+
+  15 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> pari-2.1.5-r1.ebuild:
+  Fixing bug #29163.
+
+  28 Jan 2004; Stephen Diener <sediener@gentoo.org> pari-2.1.5.ebuild:
+  changed from DEPEND on app-text/tetex to virtual/tetex Bug #38859
+
+  27 Oct 2003; Brad House <brad_mssw@gentoo.org> pari-2.1.5.ebuild:
+  add ~amd64 flag
+
+*pari-2.1.5 (10 May 2003)
+
+  10 May 2003; George Shapovalov <george@gentoo.org> pari-2.1.5.ebuild :
+  a bug-fix upgrade (#20165)
+  Thanks to Herbie Hopkins <herbie@hopkins.net> and Chuck Short <chuck_short@rogers.com> 
+
+*pari-2.1.4 (08 Nov 2002)
+
+  12 Feb 2003; Seemant Kulleen <seemant@gentoo.org> pari-2.1.4.ebuild :
+  swedishchef fixes
+
+  07 Jan 2003; George Shapovalov <george@gentoo.org> pari-2.1.4.ebuild :
+  added IUSE, replaced header with the correct one.
+  tested and unmasked (I am processing pariguide wnd as testing pari as well, so it seems to have collected 
+  "critical mass" of testing)
+
+  20 Dec 2002; Matthew Turk <satai@gentoo.org> : fixed 11568, man page
+  installation.
+
+  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+ 
+  08 Nov 2002; Matthew Turk <satai@gentoo.org> :
+  Initial import.  Ebuild submitted by Pierre-Henri Jondot
+  <Pierre-Henri.Jondot@wanadoo.fr>
diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest
new file mode 100644 (file)
index 0000000..6003b12
--- /dev/null
@@ -0,0 +1,9 @@
+MD5 812f92e455b08016cdf6a3f69d6bb7b2 pari-2.1.5-r1.ebuild 945
+MD5 265994ad005596593e08a282debb4c6c pari-2.1.5-r3.ebuild 1832
+MD5 eb02d6782a6529df3d7b710a39f5fd0c pari-2.1.5-r2.ebuild 1362
+MD5 87decba0d2fbdf3f3ccaad95ef7b0cb1 ChangeLog 2515
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 c3f89da5ddbdb73646e3d64ee31ea887 files/docs.patch 915
+MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r1 63
+MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r2 63
+MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r3 63
diff --git a/sci-mathematics/pari/files/digest-pari-2.1.5-r1 b/sci-mathematics/pari/files/digest-pari-2.1.5-r1
new file mode 100644 (file)
index 0000000..2e0d53a
--- /dev/null
@@ -0,0 +1 @@
+MD5 194e9d1cc11926e457028c6a7cba15f0 pari-2.1.5.tar.gz 1540679
diff --git a/sci-mathematics/pari/files/digest-pari-2.1.5-r2 b/sci-mathematics/pari/files/digest-pari-2.1.5-r2
new file mode 100644 (file)
index 0000000..2e0d53a
--- /dev/null
@@ -0,0 +1 @@
+MD5 194e9d1cc11926e457028c6a7cba15f0 pari-2.1.5.tar.gz 1540679
diff --git a/sci-mathematics/pari/files/digest-pari-2.1.5-r3 b/sci-mathematics/pari/files/digest-pari-2.1.5-r3
new file mode 100644 (file)
index 0000000..2e0d53a
--- /dev/null
@@ -0,0 +1 @@
+MD5 194e9d1cc11926e457028c6a7cba15f0 pari-2.1.5.tar.gz 1540679
diff --git a/sci-mathematics/pari/files/docs.patch b/sci-mathematics/pari/files/docs.patch
new file mode 100644 (file)
index 0000000..1a5b251
--- /dev/null
@@ -0,0 +1,30 @@
+*** doc/refcard.tex    Mon Nov  6 19:59:00 2000
+--- doc/refcard.tex.new        Tue Jun 24 03:07:15 2003
+***************
+*** 17,23 ****
+--- 17,29 ----
+  %% which I modified from his GNU emacs reference card
+  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  \def\TITLE{Pari-GP reference card}
++ % ignore parimacro.tex's \magnification setting
++ \let\oldmagnification\magnification
++ \catcode`@=11
++ \def\magnification{\afterassignment\relax\count@}%
++ \catcode`@=12
+  \input parimacro.tex
++ \let\magnification\oldmagnification
+  \ifPDF
+    \input pdfmacs.tex
+    \pdfpagewidth=11.69in
+*** doc/users.tex      Mon Nov  6 19:59:01 2000
+--- doc/users.tex.new  Tue Jun 24 03:07:15 2003
+***************
+*** 63,69 ****
+    \ifPDF \writesecnumbers \fi
+    \expandafter\end % stop here the first time (don't process index)
+  \fi
+- \newpage
+  
+  \ifPDF
+  % Add a bookmark entry for the index.   CHB
+--- 63,68 ----
diff --git a/sci-mathematics/pari/metadata.xml b/sci-mathematics/pari/metadata.xml
new file mode 100644 (file)
index 0000000..b229aec
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>
diff --git a/sci-mathematics/pari/pari-2.1.5-r1.ebuild b/sci-mathematics/pari/pari-2.1.5-r1.ebuild
new file mode 100644 (file)
index 0000000..79cbcfe
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2004 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-r1.ebuild,v 1.1 2004/12/28 15:08:39 ribosome Exp $
+
+DESCRIPTION="pari (or pari-gp) : a software package for computer-aided number theory"
+HOMEPAGE="http://www.parigp-home.de/"
+SRC_URI="http://www.gn-50uma.de/ftp/pari-2.1/${P}.tar.gz"
+
+LICENSE="GPL-2"
+IUSE=""
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips hppa ~amd64"
+
+DEPEND="virtual/tetex"
+
+src_compile() {
+       ./Configure \
+               --host="$(echo ${CHOST} | cut -f "1 3" -d '-')" \
+               --prefix=/usr \
+               --miscdir=/usr/share/doc/${P} \
+               --datadir=/usr/share/${P} \
+               --mandir=/usr/share/man/man1 || die "./configure failed"
+       addwrite "/var/lib/texmf"
+       addwrite "/usr/share/texmf"
+       addwrite "/var/cache/fonts"
+       emake doc gp || die
+}
+
+src_install () {
+       make DESTDIR=${D} install || die
+       dodoc AUTHORS Announce.2.1 CHANGES README TODO
+}
diff --git a/sci-mathematics/pari/pari-2.1.5-r2.ebuild b/sci-mathematics/pari/pari-2.1.5-r2.ebuild
new file mode 100644 (file)
index 0000000..b621922
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 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-r2.ebuild,v 1.1 2004/12/28 15:08:39 ribosome Exp $
+
+DESCRIPTION="pari (or pari-gp) : a software package for computer-aided number theory"
+HOMEPAGE="http://www.parigp-home.de/"
+SRC_URI="http://www.gn-50uma.de/ftp/pari-2.1/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc alpha ~mips ~hppa ~amd64"
+
+IUSE="doc"
+
+DEPEND="doc? ( virtual/tetex )"
+
+src_compile() {
+       ./Configure \
+               --host="$(echo ${CHOST} | cut -f "1 3" -d '-')" \
+               --prefix=/usr \
+               --miscdir=/usr/share/doc/${P} \
+               --datadir=/usr/share/${P} \
+               --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!"
+       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
+       dodoc AUTHORS Announce.2.1 CHANGES README TODO
+}
diff --git a/sci-mathematics/pari/pari-2.1.5-r3.ebuild b/sci-mathematics/pari/pari-2.1.5-r3.ebuild
new file mode 100644 (file)
index 0000000..945238f
--- /dev/null
@@ -0,0 +1,62 @@
+# Copyright 1999-2004 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-r3.ebuild,v 1.1 2004/12/28 15:08:39 ribosome Exp $
+
+inherit eutils
+
+DESCRIPTION="pari (or pari-gp) : a software package for computer-aided number theory"
+HOMEPAGE="http://www.parigp-home.de/"
+SRC_URI="http://www.gn-50uma.de/ftp/pari-2.1/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc alpha ~mips ~hppa amd64"
+
+IUSE="doc emacs"
+
+DEPEND="doc? ( virtual/tetex )"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/docs.patch
+}
+
+src_compile() {
+       ./Configure \
+               --host="$(echo ${CHOST} | cut -f "1 3" -d '-')" \
+               --prefix=/usr \
+               --miscdir=/usr/share/doc/${P} \
+               --datadir=/usr/share/${P} \
+               --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!"
+       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
+}