python312Packages.markupsafe: 2.1.5 -> 3.0.1

https://markupsafe.palletsprojects.com/page/changes/#version-3-0-1
This commit is contained in:
Martin Weinelt
2024-10-13 11:09:55 +02:00
parent c49a79c8bf
commit 02b3b33ecd
@@ -1,7 +1,7 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
pythonOlder,
# build-system
@@ -19,18 +19,19 @@
buildPythonPackage rec {
pname = "markupsafe";
version = "2.1.5";
version = "3.0.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "MarkupSafe";
inherit version;
hash = "sha256-0oPTeokLpMGuc/+t+ARkNcdue8Ike7tjwAvRpwnGVEs=";
src = fetchFromGitHub {
owner = "pallets";
repo = "markupsafe";
rev = "refs/tags/${version}";
hash = "sha256-YMvEfrIwGy5Ug4EjkiWOlijEWltWSjJGDrpseH86778=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
@@ -46,7 +47,7 @@ buildPythonPackage rec {
};
meta = with lib; {
changelog = "https://markupsafe.palletsprojects.com/en/${versions.majorMinor version}.x/changes/#version-${
changelog = "https://markupsafe.palletsprojects.com/page/changes/#version-${
replaceStrings [ "." ] [ "-" ] version
}";
description = "Implements a XML/HTML/XHTML Markup safe string";