# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-flask-autoindex _pkgname=Flask-AutoIndex pkgver=0.5 pkgrel=0 pkgdesc="Flask autoindex" url="https://pypi.python.org/pypi/Flask-AutoIndex" arch="noarch" license="BSD" depends="python py-flask" depends_dev="" makedepends="python2-dev py-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" python setup.py build || return 1 } package() { cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="24984602365704737468bb4d2586a739 Flask-AutoIndex-0.5.tar.gz" sha256sums="12904135a3092dfdbfc3eec0f573ec0cf483e46252e7e12fedff89407a9f2c75 Flask-AutoIndex-0.5.tar.gz" sha512sums="715c27976f065aeee995adcbc6405a7eab2f197c69712181774e7474f04c3419358beb90663f7ec043cf3862d23daca7aa2add29f1708b26b21118444fe3caeb Flask-AutoIndex-0.5.tar.gz"