dev-python/django-compressor: add 4.5.1

Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2024-08-20 02:48:02 +02:00
parent 87c2b6fb3f
commit 3e498595e7
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 30 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST django_compressor-4.3.1.tar.gz 422161 BLAKE2B 8048c55d3bc62e15c8093d8feb134ff87b05188c0ad755e30c76b090a9717dd3796f6b4efc32ec7bd502051b1bc0b3d68332dae728acd5b7a0b9c2158016af71 SHA512 285dfd21f4b2e25788151f1ac652cbd1302958454872769c6a0d88f5b003de75e93471ec50efdea37388f3050e25a5b4063261d4f635dfcc8fd4edf27c57aa43
DIST django_compressor-4.5.1.tar.gz 124734 BLAKE2B 007ab83b7dc0edc92eb4e5c95ecce4e5b1ebf09aa0f84df51b8c4721ead55343a992920eccedf8cd373517a9041ff4b11f99a44425537b07eb473ffb90833b13 SHA512 696e032de9c6cd39a924e28e98a476f49fc25629ec1f1d446d78e6be93695435a9cf1b3222807dd6644efd19955c2252648105bacc207b2ee5c00a6338e7046a

View file

@ -0,0 +1,29 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Compresses linked and inline JavaScript or CSS into single cached files"
HOMEPAGE="https://django-compressor.readthedocs.io/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# missing test deps, package does not handle them gracefully, also seem
# broken or whatever
RESTRICT="test"
RDEPEND="
dev-python/django[${PYTHON_USEDEP}]
dev-python/django-appconf[${PYTHON_USEDEP}]
dev-python/rcssmin[${PYTHON_USEDEP}]
dev-python/rjsmin[${PYTHON_USEDEP}]
"
python_test() {
django-admin.py test --settings=compressor.test_settings compressor ||
die "Tests failed with ${EPYTHON}"
}