python310Packages.pastedeploy: 2.1.1 -> 3.0.1

Changelog: https://github.com/Pylons/pastedeploy/blob/3.0.1/docs/news.rst
This commit is contained in:
Fabian Affolter
2023-02-23 00:37:06 +01:00
parent a6ae7f7387
commit cb753dd281
@@ -2,20 +2,35 @@
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pastedeploy";
version = "2.1.1";
version = "3.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Pylons";
repo = pname;
rev = version;
sha256 = "sha256-9/8aM/G/EdapCZJlx0ZPzNbmw2uYjA1zGbNWJAWoeCU=";
rev = "refs/tags/${version}";
hash = "sha256-8MNeOcYPEYAfghZN/K/1v/tAAdgz/fCvuVnBoru+81Q=";
};
nativeCheckInputs = [ pytestCheckHook ];
postPatch = ''
substituteInPlace pytest.ini \
--replace " --cov" ""
'';
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"paste.deploy"
];
meta = with lib; {
description = "Load, configure, and compose WSGI applications and servers";