aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-flask-assets/APKBUILD
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-06-26 06:00:40 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-06-26 06:00:40 +0000
commitcd7f277a5bcd364d22bb8225ed1db2499045d627 (patch)
tree6a2a328142e47cfd01458d5cda2650e30af617db /main/py-flask-assets/APKBUILD
parentc58aca8c88fb68602dd55d4bfdaff71ff7e2251d (diff)
downloadaports-cd7f277a5bcd364d22bb8225ed1db2499045d627.tar.bz2
aports-cd7f277a5bcd364d22bb8225ed1db2499045d627.tar.xz
main/py-flask-assets: moved from testing and claim maintainership
Diffstat (limited to 'main/py-flask-assets/APKBUILD')
-rw-r--r--main/py-flask-assets/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/py-flask-assets/APKBUILD b/main/py-flask-assets/APKBUILD
new file mode 100644
index 0000000000..dc2749b64b
--- /dev/null
+++ b/main/py-flask-assets/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Eivind Uggedal <eivind@uggedal.com>
+pkgname=py-flask-assets
+_pkgname=Flask-Assets
+pkgver=0.9
+pkgrel=0
+pkgdesc="Flask asset management"
+url="https://pypi.python.org/pypi/Flask-Assets"
+arch="noarch"
+license="BSD"
+depends="python py-flask py-webassets"
+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="fa50220eb0a7c4530b7098d04d736ca5 Flask-Assets-0.9.tar.gz"
+sha256sums="6f0e90507dc277746b1c7b669939d58d1db3aa38a944919c54b70910c69e3747 Flask-Assets-0.9.tar.gz"
+sha512sums="f8f474f4ae3471018f5a8fadcebf9c6507c82fd96262937e877409e0f5678d84206c533971dbf36637ac60a31be63fca48ebfd014fd7c08954fe943636f0b935 Flask-Assets-0.9.tar.gz"