# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-flask-peewee _pkgname=flask-peewee pkgver=3.0.0 pkgrel=0 pkgdesc="Flask integration for peewee" url="http://pypi.python.org/pypi/flask-peewee" arch="noarch" license="MIT" depends="python3 py3-flask 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 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 } build() { cd "$_builddir" python3 setup.py build || return 1 } package() { cd "$_builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } sha512sums="e9773a46e73eb03864487d98da1c1f094a13807c2364331cdfad56878e2d8424628d04769e8028516ba62577c4a9c32219d2dffeabb87e88ae37baaff22f5bc9 flask-peewee-3.0.0.tar.gz"