commit: c5900902f013076210b2dc4278b436367baecc32 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Dec 13 04:31:44 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Dec 13 04:38:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5900902
dev-python/django-js-asset: Remove old Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/django-js-asset/Manifest | 1 - .../django-js-asset/django-js-asset-2.1.0.ebuild | 41 ---------------------- .../files/django-js-asset-2.1.0-hatchling.patch | 29 --------------- 3 files changed, 71 deletions(-) diff --git a/dev-python/django-js-asset/Manifest b/dev-python/django-js-asset/Manifest index c08b4e36d99c..2296ee76e2a1 100644 --- a/dev-python/django-js-asset/Manifest +++ b/dev-python/django-js-asset/Manifest @@ -1,2 +1 @@ -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.1.0.ebuild b/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild deleted file mode 100644 index 524084cf255c..000000000000 --- a/dev-python/django-js-asset/django-js-asset-2.1.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# 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} - ) -" - -PATCHES=( - # https://github.com/matthiask/django-js-asset/pull/12 - "${FILESDIR}/${P}-hatchling.patch" -) - -python_test() { - cd tests || die - local -x DJANGO_SETTINGS_MODULE=testapp.settings - "${EPYTHON}" manage.py test -v 2 || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/django-js-asset/files/django-js-asset-2.1.0-hatchling.patch b/dev-python/django-js-asset/files/django-js-asset-2.1.0-hatchling.patch deleted file mode 100644 index 194d97192b3c..000000000000 --- a/dev-python/django-js-asset/files/django-js-asset-2.1.0-hatchling.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 440ad305e76a0a948e0df54eb9b92b59c1ac9cb9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgo...@gentoo.org> -Date: Tue, 12 Dec 2023 18:17:50 +0100 -Subject: [PATCH] Fix building with hatchling-1.19 - -Explicitly specify package name, as hatchling-1.19 now does not include -packages that do not match the project name by default, and raises -an error instead. ---- - pyproject.toml | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/pyproject.toml b/pyproject.toml -index cf963d8..478d8fc 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -42,6 +42,9 @@ tests = [ - [project.urls] - Homepage = "https://github.com/matthiask/django-js-asset/" - -+[tool.hatch.build.targets.wheel] -+packages = ["js_asset"] -+ - [tool.hatch.version] - path = "js_asset/__init__.py" - --- -2.43.0 -