mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-29 10:21:10 +02:00
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
|
|
# Maintainer:
|
|
pkgname=py-django-compressor
|
|
pkgver=1.4
|
|
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="dc050f1a85f83f927f94bcb09e8bdd0f django_compressor-1.4.tar.gz"
|
|
sha256sums="b26034230efcef7d60e5267890eda656dfc49c567f27125d907eee4fe7f9a6ec django_compressor-1.4.tar.gz"
|
|
sha512sums="15ca3b871cf98050206f823ce5d473ceb3ce0584ab5c3dcde3ee4ed02b32050b7dfaea056dfbcc2be768aaba8a885ea4dee18d8f9bd259c200bda3b269d423a1 django_compressor-1.4.tar.gz"
|