# Maintainer: Eivind Uggedal <eivind@uggedal.com> pkgname=py-webassets _pkgname=${pkgname#py-} pkgver=0.12.1 pkgrel=0 pkgdesc="Asset management for web development" url="https://pypi.python.org/pypi/webassets" arch="noarch" license="BSD" depends="python2" depends_dev="" makedepends="python2-dev py-setuptools" install="" subpackages="" source="https://files.pythonhosted.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" python2 setup.py build || return 1 } package() { cd "$_builddir" python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="429401824556e6e0868e437f9e561ba6 webassets-0.12.1.tar.gz" sha256sums="e7d9c8887343123fd5b32309b33167428cb1318cdda97ece12d0907fd69d38db webassets-0.12.1.tar.gz" sha512sums="f62b4108c31780f719128c543852834b1c305fd85b60dfc6f4e95454a83fafa6be03253f5859f9166890b1bfe40f339c6f9524b8091b6ea5a5ea4c31fb928d08 webassets-0.12.1.tar.gz"