aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py-flask-cdn/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flask-cdn/APKBUILD b/testing/py-flask-cdn/APKBUILD
new file mode 100644
index 0000000000..ef382321c8
--- /dev/null
+++ b/testing/py-flask-cdn/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-flask-cdn
+_pkgname=Flask-CDN
+pkgver=0.10.0
+pkgrel=0
+pkgdesc="Flask CDN static files extension"
+url="https://pypi.python.org/pypi/Flask-CDN"
+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.tar.gz"
+
+_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="aa05261ef6ed55cf54991aa848b10ee8 Flask-CDN-0.10.0.tar.gz"
+sha256sums="2c051427367874fb2958cb2df7704d75190b913361b472f136a5c84fa5c66856 Flask-CDN-0.10.0.tar.gz"
+sha512sums="6afe7e9629a8227a05484b86ecc3de9ab892b2dfb69d8127cc7bf19b9fe9016339ebad4a1fb0376efa56dc2e5f6af56634fc678712a46401fa2b3cf1fb79f090 Flask-CDN-0.10.0.tar.gz"