blob: de01e91718d491e737b5294094a7da39e9111d82 (
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: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py-django-compressor
pkgver=2.1.1
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://files.pythonhosted.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"
python2 setup.py build
}
package() {
cd "$_builddir"
python2 setup.py install --root "$pkgdir"
}
md5sums="5e74141076b70272149ed07e6ce0ea56 django_compressor-2.1.1.tar.gz"
sha256sums="9200400046ee00a5c1b4e2fbab97704fd2514f9b59d5649c8a365c3cf06c82e8 django_compressor-2.1.1.tar.gz"
sha512sums="c7a90a22689e60d2da5fc1ab76c0a8f47ac64231fe00eba0bbfcb54b4bcab18d0f7a56b9c4ea359238a80cf39c3337ea8822aed32ba19aaee03990cb10e7f207 django_compressor-2.1.1.tar.gz"
|