aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-wtf-peewee
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-07-18 16:45:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-07-18 16:45:52 +0000
commit8e56fe9261d8739eeca60d472a8efebc60f83ed0 (patch)
treecd01e2b09fc9712fec478f70470519a1f3d475d0 /testing/py-wtf-peewee
parent104a2410766f4572c5d76996cda3ecf2e91b81df (diff)
downloadaports-8e56fe9261d8739eeca60d472a8efebc60f83ed0.tar.bz2
aports-8e56fe9261d8739eeca60d472a8efebc60f83ed0.tar.xz
testing/py-wtf-peewee: new aport
WTForms integration for peewee https://github.com/coleifer/wtf-peewee neded by py-flask-peewee
Diffstat (limited to 'testing/py-wtf-peewee')
-rw-r--r--testing/py-wtf-peewee/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/py-wtf-peewee/APKBUILD b/testing/py-wtf-peewee/APKBUILD
new file mode 100644
index 0000000000..31eaffedff
--- /dev/null
+++ b/testing/py-wtf-peewee/APKBUILD
@@ -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"