python312Packages.shaperglot: 0.5.0 -> 0.6.4
Diff: https://github.com/googlefonts/shaperglot/compare/refs/tags/v0.5.0...v0.6.4 Changelog: https://github.com/googlefonts/shaperglot/releases/tag/v0.6.4
This commit is contained in:
parent
43d5c63843
commit
26239229cd
@ -6,9 +6,10 @@
|
||||
num2words,
|
||||
protobuf,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
setuptools,
|
||||
strictyaml,
|
||||
termcolor,
|
||||
ufo2ft,
|
||||
@ -18,17 +19,29 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "shaperglot";
|
||||
version = "0.5.0";
|
||||
version = "0.6.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
# PyPI source tarballs omit tests, fetch from Github instead
|
||||
src = fetchFromGitHub {
|
||||
owner = "googlefonts";
|
||||
repo = "shaperglot";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-jmYB1tsMMpFs0X/FW3z9el2nFr8De2jR1dO658w7U4Q=";
|
||||
hash = "sha256-O6z7TJpC54QkqX5/G1HKSvaDYty7B9BnCQ4FpsLsEMs=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
env.PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = "python";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools>=75.0.0" "setuptools"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
gflanguages
|
||||
@ -41,19 +54,17 @@ buildPythonPackage rec {
|
||||
vharfbuzz
|
||||
youseedee
|
||||
];
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "shaperglot" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to test OpenType fonts for language support";
|
||||
mainProgram = "shaperglot";
|
||||
homepage = "https://github.com/googlefonts/shaperglot";
|
||||
changelog = "https://github.com/googlefonts/shaperglot/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ danc86 ];
|
||||
mainProgram = "shaperglot";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user