void-packages/srcpkgs/python3-gmpy2/template

22 lines
792 B
Bash

# Template file for 'python3-gmpy2'
pkgname=python3-gmpy2
version=2.2.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel gmp-devel mpfr-devel libmpc-devel"
depends="python3"
checkdepends="python3-pytest python3-hypothesis"
short_desc="Python3 interface to GMP, MPFR and MPC libraries"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="LGPL-3.0-or-later"
homepage="https://github.com/aleaxit/gmpy"
changelog="https://github.com/aleaxit/gmpy/releases"
distfiles="${PYPI_SITE}/g/gmpy2/gmpy2-${version%r}.tar.gz"
checksum=e83e07567441b78cb87544910cb3cc4fe94e7da987e93ef7622e76fb96650432
if [ "$XBPS_CHECK_PKGS" = full ]; then
# this would cause a build-time circular dependency
checkdepends+=" python3-mpmath"
fi