Commit bf35fb7e authored by Holger Jaekel's avatar Holger Jaekel Committed by Leo

testing/py3-affine: new aport

parent 82a82bf5
# 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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment