From ea568cda82b671cdad775f4838745863a25bfe5e Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Tue, 21 Mar 2023 22:07:58 +0100 Subject: [PATCH] dev-python/django-compressor: new package, add 4.3.1 --- dev-python/django-compressor/Manifest | 1 + .../django-compressor-4.3.1.ebuild | 29 +++++++++++++++++++ dev-python/django-compressor/metadata.xml | 8 +++++ 3 files changed, 38 insertions(+) create mode 100644 dev-python/django-compressor/Manifest create mode 100644 dev-python/django-compressor/django-compressor-4.3.1.ebuild create mode 100644 dev-python/django-compressor/metadata.xml diff --git a/dev-python/django-compressor/Manifest b/dev-python/django-compressor/Manifest new file mode 100644 index 0000000..90349f2 --- /dev/null +++ b/dev-python/django-compressor/Manifest @@ -0,0 +1 @@ +DIST django_compressor-4.3.1.tar.gz 422161 BLAKE2B 8048c55d3bc62e15c8093d8feb134ff87b05188c0ad755e30c76b090a9717dd3796f6b4efc32ec7bd502051b1bc0b3d68332dae728acd5b7a0b9c2158016af71 SHA512 285dfd21f4b2e25788151f1ac652cbd1302958454872769c6a0d88f5b003de75e93471ec50efdea37388f3050e25a5b4063261d4f635dfcc8fd4edf27c57aa43 diff --git a/dev-python/django-compressor/django-compressor-4.3.1.ebuild b/dev-python/django-compressor/django-compressor-4.3.1.ebuild new file mode 100644 index 0000000..a58969a --- /dev/null +++ b/dev-python/django-compressor/django-compressor-4.3.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +DESCRIPTION="Compresses linked and inline JavaScript or CSS into single cached files" +HOMEPAGE="https://django-compressor.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/_}/${P/-/_}.tar.gz" +S="${WORKDIR}/${P/-/_}" + +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-appconf[${PYTHON_USEDEP}] + dev-python/rcssmin[${PYTHON_USEDEP}] + dev-python/rjsmin[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" + +python_test() { + django-admin.py test --settings=compressor.test_settings compressor || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-compressor/metadata.xml b/dev-python/django-compressor/metadata.xml new file mode 100644 index 0000000..ef2705a --- /dev/null +++ b/dev-python/django-compressor/metadata.xml @@ -0,0 +1,8 @@ + + + + + + django-compressor + +