aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-webassets/APKBUILD
blob: 0ecd7666f71c730b9bb2c1f44028a496d229e3bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=py-webassets
_pkgname=${pkgname#py-}
pkgver=0.10.1
pkgrel=0
pkgdesc="Asset management for web development"
url="https://pypi.python.org/pypi/webassets"
arch="noarch"
license="BSD"
depends="python"
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"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="8007980e0ef38c9a42f577b2b2362e76  webassets-0.10.1.tar.gz"
sha256sums="2c59f2ddc0abe29afdc91bb535faf6ce3145a1aaf2c1cd8fefdb0296d8e6c9e2  webassets-0.10.1.tar.gz"
sha512sums="39b1ff622c35c987aff432a9cde147883c63ecbf3dcd82026e42297d6994f18612afad44f0175387d614378bbb5bd94a9bc4a4373d59b140dd00aa4ada1cadc1  webassets-0.10.1.tar.gz"