dev-python/django-js-asset: Bump to 2.2.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-12-13 05:31:26 +01:00
parent 5f231502a4
commit 17da58697f
2 changed files with 37 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST django_js_asset-2.1.0.tar.gz 7734 BLAKE2B a3bc41ea91721cb7a91749b0e682352b9d527ab5c2c493eaef42d63f9443975924efae3a2abf1df1bf3fdf8a339036cc67e8a881f3f0aca0f4eec1cfc5589904 SHA512 d2e80bccd173c09b2401e8d6b202d5526afaf17089d0855849a7eb2ad66525b9a171eb134fdc28fabb3dc701f89e88740312c2e34326d5aa42cd7510502384cc
DIST django_js_asset-2.2.0.tar.gz 7904 BLAKE2B 2200ffec739325e01070c53247eb613162bbb09447ea370d3c74bd721c0431cac78e188ac826b6292281b48adfff6789faafdc5c606121262b11c90aeb1900b3 SHA512 23a415fcbc76b9885a1b2831ec87ba64e79019b5595e3865c283c4e558e4cd986b5ab39f25e07308575320684dcc449e1d2029b8f145955f448a9f70bae34951

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Script tag with additional attributes for django.forms.Media"
HOMEPAGE="
https://github.com/matthiask/django-js-asset/
https://pypi.org/project/django-js-asset/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/django-3.2[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
${RDEPEND}
)
"
python_test() {
cd tests || die
local -x DJANGO_SETTINGS_MODULE=testapp.settings
"${EPYTHON}" manage.py test -v 2 || die "Tests failed with ${EPYTHON}"
}