blob: 775f6900c0fc79c3977a1ebe4521b3f8e59d817a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-pypytools
pkgver=0.6.2
pkgrel=1
pkgdesc="collection of useful tools to use PyPy-specific features, with CPython fallbacks"
url="https://github.com/antocuni/pypytools"
arch=""
license="MIT"
makedepends="py3-setuptools"
checkdepends="py3-freezegun py3-numpy py3-pytest"
source="https://files.pythonhosted.org/packages/source/p/pypytools/pypytools-$pkgver.tar.gz
python3.8.patch
"
builddir="$srcdir/pypytools-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
5e95ea6c30403d3b46ab43bfa316ba9b3dda85149aa0aaadc3056c74683c2e60cff357d86989b43ccb8fe73ee2a4bace9e8bdb7f164ea497211b4843c32fc05f pypytools-0.6.2.tar.gz
836c87620af5d76c3483d3c8b3b696922f4245c3faf16a851f3df6862d7c6615023eb25b3f3a0e76106a115eea07eb51c14b826d52dc0382a37ac5347f910478 python3.8.patch
"
|