aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flask-cdn/APKBUILD
blob: 76016a564079d90d7906625378c83b875a0475f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-cdn
_pkgname=Flask-CDN
pkgver=1.5.3
pkgrel=1
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"