diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2014-06-26 05:57:50 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2014-06-26 05:58:04 +0000 |
commit | c58aca8c88fb68602dd55d4bfdaff71ff7e2251d (patch) | |
tree | 1f6c5b2a1cbf85c794d49239104cecb6e78f9af3 /main/py-webassets | |
parent | e9ccfe866b0f763a87875e9232c807d364256a53 (diff) | |
download | aports-c58aca8c88fb68602dd55d4bfdaff71ff7e2251d.tar.bz2 aports-c58aca8c88fb68602dd55d4bfdaff71ff7e2251d.tar.xz |
main/py-webassets: moved from main
Diffstat (limited to 'main/py-webassets')
-rw-r--r-- | main/py-webassets/APKBUILD | 40 |
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" |