summaryrefslogtreecommitdiff
path: root/sci-mathematics/gp2c
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /sci-mathematics/gp2c
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'sci-mathematics/gp2c')
-rw-r--r--sci-mathematics/gp2c/Manifest3
-rw-r--r--sci-mathematics/gp2c/gp2c-0.0.11.2-r1.ebuild29
-rw-r--r--sci-mathematics/gp2c/metadata.xml25
3 files changed, 57 insertions, 0 deletions
diff --git a/sci-mathematics/gp2c/Manifest b/sci-mathematics/gp2c/Manifest
new file mode 100644
index 000000000000..7e648dc0134e
--- /dev/null
+++ b/sci-mathematics/gp2c/Manifest
@@ -0,0 +1,3 @@
+DIST gp2c-0.0.11pl2.tar.gz 851845 BLAKE2B 599469af3e9975270e6d9f88c1209ee3da9ae9ab9bfc90abf2431e00d553d427c15a509278b099a133262b6d02d6fa3f06090bd0083c46c9488e697dc5da5245 SHA512 20f7fc61480a70d3f8811d7881e0f386a1ced522b5c538443dc0a9fe3332d37a67ba68441eb512b5fefdb761e232f9316704fa456a311651161da7b4653ca4b7
+EBUILD gp2c-0.0.11.2-r1.ebuild 742 BLAKE2B 0e87bb9bd38c984c83226b9dc198a1af8a15ec607e6a366248429ea4403e3209681d37880ad799ddac196d81b8ee68c4648284bba52c1e78b8fc0d8551118caf SHA512 ad50c9ab4d0f125c1b031f60bed5b00d0cac62149a9ae551524e5f5e1b6b309f7d27995fd549a73ce91b94ef6bfefb01eaf28f5755c28f1d9b70eccb9500a51c
+MISC metadata.xml 886 BLAKE2B b4dfcb3e2de5064a3a537c6598814f7ec47a7db0a9bfefcc4cba78c373ed97d0ffa08fdd2ccbf049b28900c84afe8f594d7562fe35ad7c9a0ad59f2d63d9988d SHA512 71cf581ae9463fd7f4bb8eea880a940251571b076ec008d6ae2625c8158fb2562b8f4944e7092b05ba264b0bdb31ad31d4be2392ce8c1c82ff0452b513cf8ddc
diff --git a/sci-mathematics/gp2c/gp2c-0.0.11.2-r1.ebuild b/sci-mathematics/gp2c/gp2c-0.0.11.2-r1.ebuild
new file mode 100644
index 000000000000..51d76b1c279a
--- /dev/null
+++ b/sci-mathematics/gp2c/gp2c-0.0.11.2-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${PN}-"$(ver_rs 3 'pl')
+DESCRIPTION="A GP to C translator"
+HOMEPAGE="http://pari.math.u-bordeaux.fr/"
+SRC_URI="http://pari.math.u-bordeaux.fr/pub/pari/GP2C/${MY_P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# Perl is run on the build host to compile the descriptions in desc/,
+# see for example desc/Makefile.am.
+BDEPEND="dev-lang/perl"
+
+# This is the first version of pari to put pari.cfg where we expect it.
+DEPEND=">=sci-mathematics/pari-2.11.2"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure(){
+ econf --with-paricfg="${EPREFIX}/usr/share/pari/pari.cfg"
+}
diff --git a/sci-mathematics/gp2c/metadata.xml b/sci-mathematics/gp2c/metadata.xml
new file mode 100644
index 000000000000..41fcade95d92
--- /dev/null
+++ b/sci-mathematics/gp2c/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mjo@gentoo.org</email>
+ </maintainer>
+ <!--
+ mjo: François maintained this package in the sage-on-gentoo overlay
+ long before I moved it into ::gentoo. You don't need an ACK from me
+ to merge his changes.
+ -->
+ <maintainer type="person">
+ <email>frp.bissey@gmail.com</email>
+ <name>François Bissey</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ The gp2c compiler is a package for translating GP routines into the C
+ programming language, so that they can be compiled and used with the PARI
+ system or the GP calculator.
+ </longdescription>
+</pkgmetadata>