blob: 5a0a772cd2f1925f1bdb62c2d8605991a6da1df9 (
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
33
34
35
36
37
38
|
# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
_pkgname=affine
pkgname=py3-$_pkgname
pkgver=2.3.0
pkgrel=0
pkgdesc="Affine transformation matrices"
url="https://pypi.org/project/affine/"
arch="noarch"
license="BSD-3-Clause"
depends="
python3
"
makedepends="
py3-setuptools
"
checkdepends="
pytest
"
source="
py3-affine-$pkgver.tar.gz::https://github.com/sgillies/affine/archive/$pkgver.tar.gz
"
builddir="$srcdir/affine-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=2
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/*/tests
}
sha512sums="25e3671542a4bcb45c04a3e4a1c312f7e427091470b30b115dd8d0c7a1f3ac008e1b1f9222ca60b08b4717cab90fc224f2e70fc0184ca371ccf918f8c04a23ce py3-affine-2.3.0.tar.gz"
|