aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-wtf-peewee/APKBUILD
blob: 31eaffedff8e4e284a0fc6eb959d225a516835df (plain)
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
30
31
32
33
34
35
# Contributor:
# Maintainer:
pkgname=py-wtf-peewee
_pkgname=wtf-peewee
pkgver=3.0.0
pkgrel=0
pkgdesc="WTForms integration for peewee"
url="https://github.com/coleifer/wtf-peewee"
arch="noarch"
license="MIT"
depends="python3 py-peewee"
depends_dev=""
makedepends="python3-dev py3-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="130df6bb4f9f539c5cef9d6e05b778b29266bc43dcc90f1c2af11f16b608d63df58feb8463d544fd7e01bceb2e66013be166623e4331f605a2eb920ad209165f  wtf-peewee-3.0.0.tar.gz"