diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-12-13 05:31:26 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-12-13 05:38:08 +0100 |
commit | 17da58697f7716ae08d8a8d234f37a684cf42aa2 (patch) | |
tree | 0f15f034c70a1ea47f73d959160c8bd1042147f0 /dev-python/django-js-asset | |
parent | dev-python/chameleon: Bump to 4.4.0 (diff) | |
download | gentoo-17da58697f7716ae08d8a8d234f37a684cf42aa2.tar.gz gentoo-17da58697f7716ae08d8a8d234f37a684cf42aa2.tar.bz2 gentoo-17da58697f7716ae08d8a8d234f37a684cf42aa2.zip |
dev-python/django-js-asset: Bump to 2.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/django-js-asset')
-rw-r--r-- | dev-python/django-js-asset/Manifest | 1 | ||||
-rw-r--r-- | dev-python/django-js-asset/django-js-asset-2.2.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/django-js-asset/Manifest b/dev-python/django-js-asset/Manifest index 7f2842ff29f3..c08b4e36d99c 100644 --- a/dev-python/django-js-asset/Manifest +++ b/dev-python/django-js-asset/Manifest @@ -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 diff --git a/dev-python/django-js-asset/django-js-asset-2.2.0.ebuild b/dev-python/django-js-asset/django-js-asset-2.2.0.ebuild new file mode 100644 index 000000000000..94a57b485d5b --- /dev/null +++ b/dev-python/django-js-asset/django-js-asset-2.2.0.ebuild @@ -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}" +} |