archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-primecountpy / repos / community-x86_64 / PKGBUILD
blob1886874c675906b3e4c9e4d7ef31f48c438e6d79
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 _pipname=primecountpy
4 pkgname=python-$_pipname
5 pkgver=0.1.0
6 pkgrel=2
7 pkgdesc='Cython interface to the C++ library primecount'
8 arch=(x86_64)
9 url='https://github.com/dimpase/primecountpy'
10 license=(GPL3)
11 depends=(python-cysignals primecount)
12 makedepends=(cython python-setuptools)
13 source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
14 sha256sums=('78fe7cc32115f0669a45d7c90faaf39f7ce3939e39e2e7e5f14c17fe4bff0676')
16 build() {
17   cd $_pipname-$pkgver
18   python setup.py build
21 package() {
22   cd $_pipname-$pkgver 
23   python setup.py install --root="$pkgdir" --optimize=1 --skip-build