aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flask-restful/APKBUILD
blob: 6de0934f621ba1d5e1920eacbb3869b93a41cab5 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-restful
_pkgname=Flask-RESTful
pkgver=0.3.7
pkgrel=0
pkgdesc="Flask RESTful API extension"
url="https://pypi.python.org/pypi/Flask-RESTful"
arch="noarch"
license="BSD"
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-restful" # Backwards compatibility
provides="py-flask-restful=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="72ceb0c6982e7c421be8a835cdfc49c10f780c499c1e77db58a07d46e4e11c53f9c48ce9ae87416d51606794c9232c41f0148d2296647fc124dbf9124e6d8f34  Flask-RESTful-0.3.7.tar.gz"