22 lines
685 B
Bash
22 lines
685 B
Bash
# 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 <tornaria@cmat.edu.uy>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/sagemath/cypari2"
|
|
distfiles="${PYPI_SITE}/c/cypari2/cypari2-${version}.tar.gz"
|
|
checksum=03cd45edab8716ebbfdb754e65fea72e873c73dc91aec098fe4a01e35324ac7a
|
|
|
|
post_extract() {
|
|
local _f
|
|
for _f in cypari2/*.pyx; do
|
|
rm -f ${_f%.pyx}.c
|
|
done
|
|
}
|