testing/py-wtf-peewee: new aport

WTForms integration for peewee
https://github.com/coleifer/wtf-peewee

neded by py-flask-peewee
This commit is contained in:
Natanael Copa 2018-07-18 16:45:52 +00:00
parent 104a241076
commit 8e56fe9261

View File

@ -0,0 +1,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"