python312Packages.glyphtools: disable tests
The setup.py test command has been removed. This package had no tests in the first place, so we reach partiy by import testing the module.
This commit is contained in:
parent
498bae0d0a
commit
df74f34c6d
@ -5,7 +5,6 @@
|
||||
beziers,
|
||||
glyphslib,
|
||||
numpy,
|
||||
setuptoolsCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -25,12 +24,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
# A unit test suite does exist, but it only contains a dummy test that
|
||||
# doesn't test anything. It does import the module though so we still run it.
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [
|
||||
# Upstream apparently prefers the deprecated setuptools 'test' command.
|
||||
setuptoolsCheckHook
|
||||
];
|
||||
# imports the library.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "glyphtools" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for extracting information from font glyphs";
|
||||
|
Loading…
x
Reference in New Issue
Block a user