aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flask-restaction/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-flask-restaction/APKBUILD')
-rw-r--r--testing/py-flask-restaction/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flask-restaction/APKBUILD b/testing/py-flask-restaction/APKBUILD
new file mode 100644
index 0000000000..7d3f5fa9d3
--- /dev/null
+++ b/testing/py-flask-restaction/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-flask-restaction
+_pkgname=flask-restaction
+pkgver=0.17.5
+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="ace12f8478504ae3cbb00986b039ae47 flask-restaction-0.17.5.zip"
+sha256sums="d5d8b9cf658db05dca112e7c2dc27408f3de4494e84a7778ea8e5f13286bdfbd flask-restaction-0.17.5.zip"
+sha512sums="09a5a8b40acd3c9aac257788c47b4512ebbe787f85411f913750c43f3a4b3c4988c8734319f876fe9c5de716fef1fed162ca3355c6f9ff9558549eba46fa4e80 flask-restaction-0.17.5.zip"