# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-flask-cdn _pkgname=Flask-CDN pkgver=1.5.3 pkgrel=0 pkgdesc="Flask CDN static files extension" url="https://pypi.python.org/pypi/Flask-CDN" arch="noarch" license="MIT" depends="python3 py3-flask" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-flask-cdn" # Backwards compatibility provides="py-flask-cdn=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 -m unittest } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="dbec6798506876ea098f11236f960c7b557a0174a38330845e7fe8312cd359b104c025aabfc2b8d1d22a095106c9f7c1af6b4cd55a83039b94ed177f1045e3e4 Flask-CDN-1.5.3.tar.gz"