Merge pull request #202845 from fabaff/statmake-fix
python310Packages.statmake: disable failing test
This commit is contained in:
commit
eaea87ee2a
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "daltonmaag";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-BpxjAr65ZQEJ0PSUIPtS78UvJbMG91qkV8py2K/+W2E=";
|
||||
hash = "sha256-BpxjAr65ZQEJ0PSUIPtS78UvJbMG91qkV8py2K/+W2E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -50,21 +50,20 @@ buildPythonPackage rec {
|
||||
ufoLib2
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/daltonmaag/statmake/pull/41
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'requires = ["poetry>=1.0.0"]' 'requires = ["poetry-core"]' \
|
||||
--replace 'build-backend = "poetry.masonry.api"' 'build-backend = "poetry.core.masonry.api"' \
|
||||
--replace 'cattrs = "^1.1"' 'cattrs = ">= 1.1"'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"statmake"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test requires an update as later cattrs is present in Nixpkgs
|
||||
# https://github.com/daltonmaag/statmake/issues/42
|
||||
"test_load_stylespace_broken_range"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Applies STAT information from a Stylespace to a variable font";
|
||||
homepage = "https://github.com/daltonmaag/statmake";
|
||||
changelog = "https://github.com/daltonmaag/statmake/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user