mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
23 lines
943 B
Bash
23 lines
943 B
Bash
# Template file for 'python3-primecountpy'
|
|
pkgname=python3-primecountpy
|
|
version=0.1.1
|
|
revision=1
|
|
build_style=python3-pep517
|
|
hostmakedepends="python3-setuptools python3-wheel python3-Cython
|
|
python3-cysignals"
|
|
makedepends="python3-devel primecount-devel pari-devel"
|
|
depends="python3-cysignals"
|
|
short_desc="Python interface to the C++ library primecount"
|
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/dimpase/primecountpy"
|
|
changelog="https://github.com/dimpase/primecountpy/releases"
|
|
distfiles="${PYPI_SITE}/p/primecountpy/primecountpy-${version}.tar.gz"
|
|
checksum=c8561817c0be86eeffc41b97b6ef617d795f72cf3de59d9234d1c83d7e424030
|
|
|
|
make_check=no # needs pytest-cython
|
|
|
|
post_extract() {
|
|
# see https://github.com/dimpase/primecountpy/issues/20
|
|
rm primecountpy/primecount.cpp primecountpy/primecount.cpython-313-x86_64-linux-gnu.so primecountpy/__pycache__/__init__.cpython-313.pyc
|
|
}
|