dev-python/django-compressor: new package, add 4.3.1

This commit is contained in:
Alarig Le Lay 2023-03-21 22:07:58 +01:00
parent 86bfeb33ad
commit ea568cda82
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST django_compressor-4.3.1.tar.gz 422161 BLAKE2B 8048c55d3bc62e15c8093d8feb134ff87b05188c0ad755e30c76b090a9717dd3796f6b4efc32ec7bd502051b1bc0b3d68332dae728acd5b7a0b9c2158016af71 SHA512 285dfd21f4b2e25788151f1ac652cbd1302958454872769c6a0d88f5b003de75e93471ec50efdea37388f3050e25a5b4063261d4f635dfcc8fd4edf27c57aa43

View file

@ -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}"
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!--maintainer-needed-->
<upstream>
<remote-id type="pypi">django-compressor</remote-id>
</upstream>
</pkgmetadata>