vp-build/srcpkgs/python-gmpy2/template

23 lines
718 B
Bash

# Template file for 'python-gmpy2'
pkgname=python-gmpy2
version=2.0.8
revision=4
wrksrc="gmpy2-${version}"
build_style=python-module
hostmakedepends="unzip python-setuptools python3-setuptools
gmp-devel mpfr-devel libmpc-devel"
makedepends="python-devel python3-devel gmp-devel mpfr-devel libmpc-devel"
short_desc="Python2 interface to GMP, MPFR and MPC libraries"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/aleaxit/gmpy"
license="LGPL-3"
distfiles="${PYPI_SITE}/g/gmpy2/gmpy2-${version}.zip"
checksum=dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f
python3-gmpy2_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}