summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarri Nieminen <moikkis@gmail.com>2018-04-19 21:51:31 +0300
committerDavid Seifert <soap@gentoo.org>2018-04-20 10:01:42 +0200
commit2ec7c9ff62675f633c329fb17158b21b581be533 (patch)
tree545b0100690dc5a6ec2d56bfebdc5979a9ab1f5f
parentdev-perl/Math-Pari: Remove depedency on pari (diff)
downloadgentoo-2ec7c9ff62675f633c329fb17158b21b581be533.tar.gz
gentoo-2ec7c9ff62675f633c329fb17158b21b581be533.tar.bz2
gentoo-2ec7c9ff62675f633c329fb17158b21b581be533.zip
dev-perl/Math-Pari: Remove old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
-rw-r--r--dev-perl/Math-Pari/Math-Pari-2.10.808.ebuild63
1 files changed, 0 insertions, 63 deletions
diff --git a/dev-perl/Math-Pari/Math-Pari-2.10.808.ebuild b/dev-perl/Math-Pari/Math-Pari-2.10.808.ebuild
deleted file mode 100644
index 174fceb70d7..00000000000
--- a/dev-perl/Math-Pari/Math-Pari-2.10.808.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MODULE_AUTHOR=ILYAZ
-MODULE_SECTION=modules
-MODULE_VERSION=2.010808
-MODULE_A_EXT=zip
-inherit perl-module toolchain-funcs
-
-PARI_VER=2.3.5
-
-DESCRIPTION="Perl interface to PARI"
-SRC_URI="${SRC_URI}
- http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-${PARI_VER}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
-IUSE=""
-
-# Math::Pari requires that a copy of the pari source in a parallel
-# directory to where you build it. It does not need to compile it, but
-# it does need to be the same version as is installed, hence the hard
-# DEPEND below
-RDEPEND="~sci-mathematics/pari-${PARI_VER}"
-DEPEND="${RDEPEND}
- app-arch/unzip
-"
-
-S_PARI=${WORKDIR}/pari-${PARI_VER}
-SRC_TEST=do
-
-src_prepare() {
- # On 64-bit hardware, these files are needed in both the 64/ and 32/
- # directories for the testsuite to pass.
- cd "${S_PARI}"/src/test/
- for t in analyz compat ellglobalred elliptic galois graph intnum kernel \
- linear nfields number objets ploth polyser program qfbsolve rfrac \
- round4 stark sumiter trans ; do
- i="in/${t}"
- o32="32/${t}"
- o64="64/${t}"
- [ -f "$i" -a ! -f "$o32" ] && cp -al "$i" "$o32"
- [ -f "$i" -a ! -f "$o64" ] && cp -al "$i" "$o64"
- done
- perl-module_src_prepare
-}
-
-src_configure() {
- # Unfortunately the assembly routines math-pari has for SPARC do not appear
- # to be working at current. Perl cannot test math-pari or anything that
- # pulls in the math-pari module as DynaLoader cannot load the resulting
- # .so files math-pari generates. As such, we have to use the generic
- # non-machine specific assembly methods here.
- use sparc && myconf="${myconf} machine=none"
-
- perl-module_src_configure
-}
-
-src_compile() {
- emake AR="$(tc-getAR)" OTHERLDFLAGS="${LDFLAGS}"
-}