python310Packages.paste: 3.5.0 -> 3.5.2

This commit is contained in:
Fabian Affolter 2023-02-21 13:44:32 +01:00
parent 954619157c
commit 2c6cbd0d72

View file

@ -2,27 +2,37 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pythonOlder
, setuptools
, six , six
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "paste"; pname = "paste";
version = "3.5.0"; version = "3.5.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cdent"; owner = "cdent";
repo = "paste"; repo = "paste";
rev = version; rev = "refs/tags/${version}";
sha256 = "sha256-yaOxbfQ8rdViepxhdF0UzlelC/ozdsP1lOdU5w4OPEQ="; hash = "sha256-lpQMzrRpcG5TqWm/FJn4oo9TV8Skf0ypZVeQC4y8p1U=";
}; };
postPatch = '' postPatch = ''
patchShebangs tests/cgiapp_data/ patchShebangs tests/cgiapp_data/
''; '';
propagatedBuildInputs = [ six ]; propagatedBuildInputs = [
setuptools
six
];
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [ disabledTests = [
# broken test # broken test
@ -31,7 +41,9 @@ buildPythonPackage rec {
"test_proxy_to_website" "test_proxy_to_website"
]; ];
pythonNamespaces = [ "paste" ]; pythonNamespaces = [
"paste"
];
meta = with lib; { meta = with lib; {
description = "Tools for using a Web Server Gateway Interface stack"; description = "Tools for using a Web Server Gateway Interface stack";