mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 07:28:15 +02:00
36 lines
1,005 B
Text
36 lines
1,005 B
Text
# Maintainer:
|
|
pkgname=py3-wtf-peewee
|
|
_pkgname=wtf-peewee
|
|
pkgver=3.0.6
|
|
pkgrel=0
|
|
pkgdesc="WTForms integration for peewee"
|
|
url="https://github.com/coleifer/wtf-peewee"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-peewee py3-wtforms py3-markupsafe"
|
|
makedepends="py3-setuptools py3-gpep517"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
options="!check" # broken tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
gpep517 install-wheel --destdir .testenv --prefix '' .dist/*.whl
|
|
.testenv/bin/python3 -m unittest discover
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
d50f0eec69b0d4076f7f3bb4c6b9132d7d2689cd242a600bf4b527fa5c21d1554e08d4d1e654b2a9ab8bc0b77f514302b059629967e9dbe930f234e95e4b85af wtf-peewee-3.0.6.tar.gz
|
|
"
|