diff options
-rw-r--r-- | dev-python/django-js-asset/Manifest | 1 | ||||
-rw-r--r-- | dev-python/django-js-asset/django-js-asset-2.1.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 62e9dc794edf..72464c2ec5ac 100644 --- a/dev-python/django-js-asset/Manifest +++ b/dev-python/django-js-asset/Manifest @@ -1 +1,2 @@ DIST django-js-asset-2.0.gh.tar.gz 7386 BLAKE2B 5bebddc68a6d77b9ffc4c685cfcf0c34d03a82d1f24ea0bc64f35e70bf3a736fc8be612fba1e21bfbe1cb646363f06d0d001822209e15034cb03c337c80d24fd SHA512 0ec4954952394d90946d0653e86ecf45eb83ceaeb99bfde1eeed68f471110b85260abd7ae69f5b2c318e4341c09fd31efb781825d74164dc8ac6bd94bcb6f8e7 +DIST django_js_asset-2.1.0.tar.gz 7734 BLAKE2B a3bc41ea91721cb7a91749b0e682352b9d527ab5c2c493eaef42d63f9443975924efae3a2abf1df1bf3fdf8a339036cc67e8a881f3f0aca0f4eec1cfc5589904 SHA512 d2e80bccd173c09b2401e8d6b202d5526afaf17089d0855849a7eb2ad66525b9a171eb134fdc28fabb3dc701f89e88740312c2e34326d5aa42cd7510502384cc diff --git a/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild b/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild new file mode 100644 index 000000000000..119d7ac8ef32 --- /dev/null +++ b/dev-python/django-js-asset/django-js-asset-2.1.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..11} ) + +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" +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}" +} |