mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
38 lines
861 B
Text
38 lines
861 B
Text
# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
|
|
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
|
|
_pkgname=affine
|
|
pkgname=py3-$_pkgname
|
|
pkgver=2.3.0
|
|
pkgrel=1
|
|
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"
|