python312Packages.glyphset: fix build, cleanup
This commit is contained in:
@@ -24,6 +24,16 @@ buildPythonPackage rec {
|
||||
hash = "sha256-fa+W1IGIZcn1P1xNKm1Yb/TOuf4QdDVnIvlDkOLOcLY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "setuptools_scm>=8.0.4,<8.1" "setuptools_scm"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
defcon
|
||||
fonttools
|
||||
@@ -31,16 +41,15 @@ buildPythonPackage rec {
|
||||
glyphslib
|
||||
pyyaml
|
||||
requests
|
||||
setuptools
|
||||
unicodedata2
|
||||
];
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
preCheck = ''
|
||||
export PATH="$out/bin:$PATH"
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# This "test" just tries to connect to PyPI and look for newer releases. Not needed.
|
||||
"test_dependencies"
|
||||
|
||||
Reference in New Issue
Block a user