From 3e498595e74af661085b46a4e41f8057fdd7aaa1 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Tue, 20 Aug 2024 02:48:02 +0200 Subject: [PATCH] dev-python/django-compressor: add 4.5.1 Signed-off-by: Alarig Le Lay --- dev-python/django-compressor/Manifest | 1 + .../django-compressor-4.5.1.ebuild | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 dev-python/django-compressor/django-compressor-4.5.1.ebuild diff --git a/dev-python/django-compressor/Manifest b/dev-python/django-compressor/Manifest index 90349f2..0fc3d3a 100644 --- a/dev-python/django-compressor/Manifest +++ b/dev-python/django-compressor/Manifest @@ -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 diff --git a/dev-python/django-compressor/django-compressor-4.5.1.ebuild b/dev-python/django-compressor/django-compressor-4.5.1.ebuild new file mode 100644 index 0000000..6d189d0 --- /dev/null +++ b/dev-python/django-compressor/django-compressor-4.5.1.ebuild @@ -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}" +}