python3Packages.xmlschema: 1.0.18 -> 1.1.0
This commit is contained in:
parent
157f392f57
commit
1a297c817f
@ -4,14 +4,14 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "1.0.18";
|
version = "1.1.0";
|
||||||
pname = "xmlschema";
|
pname = "xmlschema";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sissaschool";
|
owner = "sissaschool";
|
||||||
repo = "xmlschema";
|
repo = "xmlschema";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1pwq2sfh7klcxismsqzgw80cp3cdkq9wv8x9g3h1zx1p66xpas9p";
|
sha256 = "1h8321jb6q3dhlh3608y3f3sbbzfd3jg1psyirxkrm4w5xs3lbvy";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ elementpath ];
|
propagatedBuildInputs = [ elementpath ];
|
||||||
@ -20,19 +20,17 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "elementpath~=1.3.0" "elementpath~=1.3"
|
--replace "elementpath~=1.4.0" "elementpath~=1.4"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Ignore broken fixtures, and tests for files which don't exist.
|
# Ignore broken fixtures, and tests for files which don't exist.
|
||||||
# For darwin, we need to explicity say we can't reach network
|
# For darwin, we need to explicity say we can't reach network
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
substituteInPlace xmlschema/tests/__init__.py \
|
pytest tests \
|
||||||
--replace "SKIP_REMOTE_TESTS = " "SKIP_REMOTE_TESTS = True #"
|
--ignore=tests/test_factory.py \
|
||||||
pytest . \
|
--ignore=tests/test_schemas.py \
|
||||||
--ignore=xmlschema/tests/test_factory.py \
|
--ignore=tests/test_memory.py \
|
||||||
--ignore=xmlschema/tests/test_memory.py \
|
--ignore=tests/test_validation.py \
|
||||||
--ignore=xmlschema/tests/test_validators.py \
|
|
||||||
--ignore=xmlschema/tests/test_schemas.py \
|
|
||||||
-k 'not element_tree_import_script'
|
-k 'not element_tree_import_script'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user