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:
Martin Weinelt 2024-07-30 01:05:54 +02:00
parent 498bae0d0a
commit df74f34c6d
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -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";