2024-02-20 21:41:23 +01:00
|
|
|
# Description: Compresses linked and inline JavaScript or CSS into single cached files.
|
|
|
|
# URL: https://django-compressor.readthedocs.io/en/latest/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2024-02-25 22:50:19 +01:00
|
|
|
# Depends on: python3-django-appconf python3-rcssmin python3-rjsmin
|
2024-02-20 21:41:23 +01:00
|
|
|
|
|
|
|
name=python3-django-compressor
|
2024-07-23 21:09:05 +02:00
|
|
|
version=4.5.1
|
2024-02-20 21:41:23 +01:00
|
|
|
release=1
|
2024-06-19 19:50:25 +02:00
|
|
|
source=(https://pypi.org/packages/source/d/django_compressor/django_compressor-$version.tar.gz)
|
2024-02-20 21:41:23 +01:00
|
|
|
|
|
|
|
build() {
|
2024-06-19 19:50:25 +02:00
|
|
|
cd django_compressor-$version
|
2024-02-20 21:41:23 +01:00
|
|
|
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
|
|
}
|