aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-14 10:56:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-17 15:01:29 +0000
commit2007584c26ca3c5f83da19ec987bb5b0b6b1656e (patch)
tree4914fede009932e2c36d5a285de330ac8b1dbc5a
parent317651b74081bbcb0557982ab641938b24054d72 (diff)
downloadaports-2007584c26ca3c5f83da19ec987bb5b0b6b1656e.tar.bz2
aports-2007584c26ca3c5f83da19ec987bb5b0b6b1656e.tar.xz
testing/py-flask-cdn: new aport
Flask CDN static files extension https://pypi.python.org/pypi/Flask-CDN
-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"