python313Packages.formencode: fix build (#373164)
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
isPy27,
|
||||
pythonOlder,
|
||||
fetchPypi,
|
||||
setuptools-scm,
|
||||
six,
|
||||
dnspython,
|
||||
legacy-cgi,
|
||||
pycountry,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
@@ -13,9 +14,9 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "formencode";
|
||||
version = "2.1.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = isPy27;
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "FormEncode";
|
||||
@@ -27,9 +28,12 @@ buildPythonPackage rec {
|
||||
sed -i '/setuptools_scm_git_archive/d' setup.py
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
dependencies = [
|
||||
six
|
||||
legacy-cgi
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
dnspython
|
||||
@@ -43,10 +47,10 @@ buildPythonPackage rec {
|
||||
"test_unicode_ascii_subgroup"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "FormEncode validates and converts nested structures";
|
||||
homepage = "http://formencode.org";
|
||||
license = licenses.mit;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user