blob: 7f72dc0318c742bbddab743d9fd14576c0fc0267 (
plain)
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
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer:
pkgname=py-django-compressor
pkgver=1.3
pkgrel=0
pkgdesc="JavaScript and CSS compressor for Django"
url=https://github.com/django-compressor/django-compressor
arch=noarch
license="MIT and ASL 2.0 and BSD"
depends="py-django py-django-appconf"
makedepends=py-setuptools
source=https://pypi.python.org/packages/source/d/django_compressor/django_compressor-$pkgver.tar.gz
_builddir=$srcdir/django_compressor-$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
}
package() {
cd "$_builddir"
python setup.py install --root "$pkgdir"
}
md5sums="da8ee3c5908d648ded03dfe996499b15 django_compressor-1.3.tar.gz"
sha256sums="66ff1a845a6c1b16c4cf552ee3d746033979e46cd9bd5d999d4b5dae93327a52 django_compressor-1.3.tar.gz"
sha512sums="73d7ed68c9050945968324eb061e8bf605c3758d4df924c8e12b326cd823b1ec92aef7b984fd282cb491ef3025a3ae5733f03063036361fdd0f1e0a23e875ea2 django_compressor-1.3.tar.gz"
|