From 8beb38268cbfdc27f78f4341815ba0b219f96133 Mon Sep 17 00:00:00 2001 From: prspkt Date: Tue, 17 Jul 2018 18:10:04 +0300 Subject: testing/py-flask-peewee: modernize --- testing/py-flask-peewee/APKBUILD | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'testing/py-flask-peewee') 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" -- cgit v1.2.3