Merge pull request #285928 from mweinelt/markupsafe-2.1.5

python311Packages.markupsafe: 2.1.3 -> 2.1.5
This commit is contained in:
Martin Weinelt 2024-02-03 15:41:15 +01:00 committed by GitHub
commit b6f197d286
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,28 +1,54 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, pythonOlder
# build-system
, setuptools
# tests
, pytestCheckHook
# reverse dependencies
, jinja2
, mkdocs
, quart
, werkzeug
}:
buildPythonPackage rec {
pname = "markupsafe";
version = "2.1.3";
format = "setuptools";
version = "2.1.5";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "MarkupSafe";
inherit version;
hash = "sha256-r1mO0y1q6G8bdHuCeDlYsaSrj2F7Bv5oeVx/Amq73K0=";
hash = "sha256-0oPTeokLpMGuc/+t+ARkNcdue8Ike7tjwAvRpwnGVEs=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "markupsafe" ];
pythonImportsCheck = [
"markupsafe"
];
passthru.tests = {
inherit
jinja2
mkdocs
quart
werkzeug
;
};
meta = with lib; {
changelog = "https://markupsafe.palletsprojects.com/en/${versions.majorMinor version}.x/changes/#version-${replaceStrings [ "." ] [ "-" ] version}";