aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flask-peewee
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-07-17 18:10:04 +0300
committerNatanael Copa <ncopa@alpinelinux.org>2018-07-17 20:24:59 +0000
commit8beb38268cbfdc27f78f4341815ba0b219f96133 (patch)
tree46d671fb30727ac48d758608645769aa0338aaf8 /testing/py-flask-peewee
parent2d1360e9a87293b21c606023b1938e24343d3c31 (diff)
downloadaports-8beb38268cbfdc27f78f4341815ba0b219f96133.tar.bz2
aports-8beb38268cbfdc27f78f4341815ba0b219f96133.tar.xz
testing/py-flask-peewee: modernize
Diffstat (limited to 'testing/py-flask-peewee')
-rw-r--r--testing/py-flask-peewee/APKBUILD19
1 files changed, 5 insertions, 14 deletions
diff --git a/testing/py-flask-peewee/APKBUILD b/testing/py-flask-peewee/APKBUILD
index 91071f7b19..840049dbdd 100644
--- a/testing/py-flask-peewee/APKBUILD
+++ b/testing/py-flask-peewee/APKBUILD
@@ -15,25 +15,16 @@ install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$_builddir"
- python3 setup.py build || return 1
+ cd "$builddir"
+ python3 setup.py build
}
package() {
- cd "$_builddir"
- python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="e9773a46e73eb03864487d98da1c1f094a13807c2364331cdfad56878e2d8424628d04769e8028516ba62577c4a9c32219d2dffeabb87e88ae37baaff22f5bc9 flask-peewee-3.0.0.tar.gz"