Merge pull request #183947 from onny/glyphslib

python310Packages.glyphslib: 6.0.6 -> 6.0.7
This commit is contained in:
Jonas Heinrich 2022-08-07 09:27:58 +02:00 committed by GitHub
commit bfa595b925
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, fonttools
, openstep-plist
, ufoLib2
@ -16,22 +16,21 @@
buildPythonPackage rec {
pname = "glyphslib";
version = "6.0.6";
version = "6.0.7";
format = "pyproject";
src = fetchPypi {
pname = "glyphsLib";
inherit version;
sha256 = "sha256-F4ev+o6vwDjV2H3z+DrwQZ7VLc1cSIjCWhgY7pcse1M=";
src = fetchFromGitHub {
owner = "googlefonts";
repo = "glyphsLib";
rev = "v${version}";
sha256 = "sha256-PrHK9uEgs0DcNYW6EQ5Qw29CN4R2OcxOHrMeIswsxdA=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [ setuptools-scm ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "glyphsLib" ];
propagatedBuildInputs = [
fonttools
openstep-plist
@ -44,6 +43,10 @@ buildPythonPackage rec {
skia-pathops
];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "glyphsLib" ];
disabledTestPaths = [
"tests/builder/designspace_gen_test.py" # this test tries to use non-existent font "CoolFoundry Examplary Serif"
"tests/builder/interpolation_test.py" # this test tries to use a font that previous test should made