blob: 281079dfe04b71d778723f3ef7a015410cb566e4 (
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-restless
_pkgname=Flask-Restless
pkgver=0.17.0
pkgrel=0
pkgdesc="Flask ReSTful API generation extension"
url="https://pypi.python.org/pypi/Flask-Restless"
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-restless" # Backwards compatibility
provides="py-flask-restless=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="c7fc7ee0626f010af528fce02dcfb896673c5ba81e9815acc50f5060a826a95a7f5c5af966a3bc6f222416d161dad70cad25acb43e9575621d036f0315d526d3 Flask-Restless-0.17.0.tar.gz"
|