Merge pull request #332360 from r-ryantm/auto-update/fontbakery

fontbakery: 0.12.7 -> 0.12.9
This commit is contained in:
Fabian Affolter 2024-08-05 13:06:39 +02:00 committed by GitHub
commit 6b982744dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,59 +1,76 @@
{
lib,
buildPythonPackage,
callPackage,
fetchPypi,
axisregistry,
babelfont,
beautifulsoup4,
beziers,
buildPythonPackage,
callPackage,
cmarkgfm,
collidoscope,
defcon,
dehinter,
fonttools,
fetchPypi,
font-v,
fonttools,
freetype-py,
gflanguages,
gfsubsets,
git,
glyphsets,
lxml,
installShellFiles,
jinja2,
lxml,
munkres,
opentypespec,
ots-python,
packaging,
pip-api,
protobuf,
pytestCheckHook,
pytest-xdist,
pytestCheckHook,
pythonOlder,
pyyaml,
requests,
requests-mock,
requests,
rich,
setuptools,
setuptools-scm,
setuptools,
shaperglot,
stringbrewer,
toml,
unicodedata2,
ufo2ft,
ufolint,
unicodedata2,
vharfbuzz,
}:
buildPythonPackage rec {
pname = "fontbakery";
version = "0.12.7";
version = "0.12.9";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-7cZeazEyAyU+WDop2n7wneg2wzh+9U9atKSRcreJpGw=";
hash = "sha256-Cl0jRQqF83IIldkp1VuVSS4ZeVsQH1NNpyEkpMJqhA8=";
};
pyproject = true;
pythonRelaxDeps = [
"collidoscope"
"protobuf"
"vharfbuzz"
];
build-system = [
setuptools
setuptools-scm
];
nativeBuildInputs = [
installShellFiles
];
dependencies = [
axisregistry
@ -64,17 +81,17 @@ buildPythonPackage rec {
collidoscope
defcon
dehinter
fonttools
font-v
fonttools
freetype-py
gflanguages
gfsubsets
glyphsets
lxml
jinja2
lxml
munkres
ots-python
opentypespec
ots-python
packaging
pip-api
protobuf
@ -84,26 +101,12 @@ buildPythonPackage rec {
shaperglot
stringbrewer
toml
ufo2ft
ufolint
unicodedata2
vharfbuzz
ufo2ft
];
build-system = [
setuptools
setuptools-scm
];
nativeBuildInputs = [
installShellFiles
];
pythonRelaxDeps = [
"collidoscope"
"protobuf"
"vharfbuzz"
];
doCheck = true;
nativeCheckInputs = [
git
pytestCheckHook
@ -111,6 +114,7 @@ buildPythonPackage rec {
requests-mock
ufolint
];
preCheck = ''
# Let the tests invoke 'fontbakery' command.
export PATH="$out/bin:$PATH"
@ -121,6 +125,7 @@ buildPythonPackage rec {
git config user.name Test
git commit --allow-empty --message 'Dummy commit for tests'
'';
disabledTests = [
# These require network access:
"test_check_description_broken_links"
@ -145,6 +150,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Tool for checking the quality of font projects";
homepage = "https://github.com/googlefonts/fontbakery";
changelog = "https://github.com/fonttools/fontbakery/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ danc86 ];
};