aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-wtf-peewee/APKBUILD
blob: b0be134ce9aaacf8f18a497b5b85e59fc6d70117 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor:
# Maintainer:
pkgname=py3-wtf-peewee
_pkgname=wtf-peewee
pkgver=3.0.2
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"
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 --prefix=/usr --root="$pkgdir"
}

sha512sums="79daa49861ea566251094e078eab366a90d2e5ac716b8cf679622b05949a409a1895aecf6cc4e1101fa076ff47e53e131602b9a9daa8f4e35a84feecf2dcb807  wtf-peewee-3.0.2.tar.gz"