aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-webassets/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-webassets/APKBUILD')
-rw-r--r--main/py-webassets/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-webassets/APKBUILD b/main/py-webassets/APKBUILD
new file mode 100644
index 0000000000..9c11dea044
--- /dev/null
+++ b/main/py-webassets/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Eivind Uggedal <eivind@uggedal.com>
+pkgname=py-webassets
+_pkgname=${pkgname#py-}
+pkgver=0.9
+pkgrel=0
+pkgdesc="Asset management for web development"
+url="https://pypi.python.org/pypi/webassets"
+arch="noarch"
+license="BSD"
+depends="python"
+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="e9fb6a746c1166dda48d5c2cfc8bc1b5 webassets-0.9.tar.gz"
+sha256sums="11d70a7c62a3e23360b899ae9be0bf3437427da6d3ab49600ff09aff60d7c490 webassets-0.9.tar.gz"
+sha512sums="9e9b33d81bb2baaf3b5ce3f0907347a21b310a5a21fa4626b8637ee027f0a37b19a5914874b0f3c90a5504b934f30022b60fb82cd7ea114c9a8ffe7f4f3731b4 webassets-0.9.tar.gz"