python313Packages.pywebcopy: add legacy-cgi for Python >= 3.13
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
cachecontrol,
|
||||
fetchFromGitHub,
|
||||
legacy-cgi,
|
||||
lxml-html-clean,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
requests,
|
||||
setuptools,
|
||||
six,
|
||||
}:
|
||||
|
||||
@@ -22,10 +24,6 @@ buildPythonPackage rec {
|
||||
hash = "sha256-XTPk3doF9dqImsLtTB03YKMWLzQrJpJtjNXe+691rZo=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "pywebcopy" ];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
@@ -33,7 +31,11 @@ buildPythonPackage rec {
|
||||
lxml-html-clean
|
||||
requests
|
||||
six
|
||||
];
|
||||
] ++ lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "pywebcopy" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/rajatomar788/pywebcopy/blob/master/docs/changelog.md";
|
||||
|
||||
Reference in New Issue
Block a user