1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/testing/py3-wtf-peewee/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

32 lines
776 B
Text

# Contributor:
# Maintainer:
pkgname=py3-wtf-peewee
_pkgname=wtf-peewee
pkgver=3.0.4
pkgrel=1
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"
options="!check" # broken tests
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
bb62ad40b44f674892c5df0e3b4d8fb3be8ee11e76b9c2661cf9938a9208e2ce276f723011b066b75c15de1de3e7b73b65408881a69835686d8e6f42519d4975 wtf-peewee-3.0.4.tar.gz
"