From d3f045ad49de99045209bcedd3af41148cf8cb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sat, 15 Jan 2022 18:28:55 -0300 Subject: [PATCH] New package: python3-cypari2-2.1.2 --- srcpkgs/python3-cypari2/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-cypari2/template diff --git a/srcpkgs/python3-cypari2/template b/srcpkgs/python3-cypari2/template new file mode 100644 index 0000000000..18755ec020 --- /dev/null +++ b/srcpkgs/python3-cypari2/template @@ -0,0 +1,19 @@ +# Template file for 'python3-cypari2' +pkgname=python3-cypari2 +version=2.1.2 +revision=1 +wrksrc=cypari2-${version} +build_style=python3-module +hostmakedepends="python3-setuptools python3-Cython pari perl" +makedepends="python3-devel python3-cysignals pari-devel gmp-devel" +short_desc="Python interface to the number theory library PARI/GP" +maintainer="Gonzalo TornarĂ­a " +license="GPL-2.0-or-later" +homepage="https://github.com/sagemath/cypari2" +distfiles="${PYPI_SITE}/c/cypari2/cypari2-${version}.tar.gz" +checksum=03cd45edab8716ebbfdb754e65fea72e873c73dc91aec098fe4a01e35324ac7a + +do_check() { + PYTHONPATH="$(cd build/lib* && pwd)" \ + make check +}