aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-wtf-peewee/APKBUILD
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-02 21:52:55 +0300
committerprspkt <prspkt@protonmail.com>2019-06-02 22:44:11 +0300
commitff6653cf62c005d4dbf732b3c86c1ef7d4779d00 (patch)
treec7d85dcbeb302a892637f1148b60c31523cca591 /testing/py3-wtf-peewee/APKBUILD
parent33cfcb0d88552833551df7c073e1cb88921684cd (diff)
downloadaports-ff6653cf62c005d4dbf732b3c86c1ef7d4779d00.tar.gz
aports-ff6653cf62c005d4dbf732b3c86c1ef7d4779d00.tar.bz2
aports-ff6653cf62c005d4dbf732b3c86c1ef7d4779d00.tar.xz
testing/py-wtf-peewee: rename to py3-wtf-peewee
Diffstat (limited to 'testing/py3-wtf-peewee/APKBUILD')
-rw-r--r--testing/py3-wtf-peewee/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/py3-wtf-peewee/APKBUILD b/testing/py3-wtf-peewee/APKBUILD
new file mode 100644
index 0000000000..0a4a27df47
--- /dev/null
+++ b/testing/py3-wtf-peewee/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor:
+# Maintainer:
+pkgname=py3-wtf-peewee
+_pkgname=wtf-peewee
+pkgver=3.0.0
+pkgrel=1
+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"