python310Packages.xmlschema: 2.1.1 -> 2.2.0
Diff: https://github.com/sissaschool/xmlschema/compare/refs/tags/v2.1.1...v2.2.0 Changelog: https://github.com/sissaschool/xmlschema/blob/refs/tags/v2.2.0/CHANGELOG.rst
This commit is contained in:
parent
a3c897fe34
commit
01fecfaa9b
1 changed files with 5 additions and 15 deletions
|
@ -2,6 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, elementpath
|
||||
, jinja2
|
||||
, lxml
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
|
@ -9,7 +10,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "xmlschema";
|
||||
version = "2.1.1";
|
||||
version = "2.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -18,7 +19,7 @@ buildPythonPackage rec {
|
|||
owner = "sissaschool";
|
||||
repo = "xmlschema";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-rt7QScg458ezDwktO1QRydmC3XqedX+kPpv6J+JvLzQ=";
|
||||
hash = "sha256-KK1F8OVK+19ZWwu+2UtTMiVNyPPoPOv3V1qJFZAu2h4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -26,28 +27,17 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
jinja2
|
||||
lxml
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Ignore broken fixtures, and tests for files which don't exist.
|
||||
# For darwin, we need to explicity say we can't reach network
|
||||
disabledTests = [
|
||||
"export_remote"
|
||||
"element_tree_import_script"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/test_schemas.py"
|
||||
"tests/test_memory.py"
|
||||
"tests/test_validation.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"xmlschema"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/sissaschool/xmlschema/blob/${src.rev}/CHANGELOG.rst";
|
||||
description = "XML Schema validator and data conversion library for Python";
|
||||
homepage = "https://github.com/sissaschool/xmlschema";
|
||||
license = licenses.mit;
|
||||
|
|
Loading…
Reference in a new issue