mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/django-js-asset: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}"
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
From 440ad305e76a0a948e0df54eb9b92b59c1ac9cb9 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@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
|
||||
|
||||
Reference in New Issue
Block a user