blob: 218d981b3a01c1fb681ab92f0d2cf7ca2872114f (
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
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flask-restaction
_pkgname=flask-restaction
pkgver=0.19.4
pkgrel=0
pkgdesc="Flask RESTful API extension"
url="https://pypi.python.org/pypi/flask-restaction"
arch="noarch"
license="MIT"
depends="python py-flask"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
_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="12e8154b770392fb8023660915ddaab6 flask-restaction-0.19.4.zip"
sha256sums="384cbf5094e3c53784a0f0e92503cef240978bde2260f6116bfc021bd5620e8e flask-restaction-0.19.4.zip"
sha512sums="47abf2195f02e0363da5a21e68bc22f6a50ee9e1dfc42d26f04e7ec7214748907012e2692c8573ed882712646d87b53ae3b0396bcd48afc627e89137e49c6628 flask-restaction-0.19.4.zip"
|