mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
37 lines
922 B
Text
37 lines
922 B
Text
# Maintainer:
|
|
pkgname=py3-pytweening
|
|
pkgver=1.0.7
|
|
pkgrel=1
|
|
pkgdesc="Set of tweening / easing functions implemented in Python"
|
|
url="https://github.com/asweigart/pytweening"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/p/pytweening/pytweening-$pkgver.tar.gz"
|
|
builddir="$srcdir/pytweening-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
.testenv/bin/python3 tests/basicTests.py
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
9efdaaceff4aa14bfd65a6772979e146ad3e48727173db6b36725a9a3ae867f5a699c131477107ebccce176be1135ae257c04eb0482688c420fccffcded0065c pytweening-1.0.7.tar.gz
|
|
"
|