python3Packages.ufo2ft: 3.2.8 -> 3.3.0
https://github.com/googlefonts/ufo2ft/releases/tag/v3.3.0
This commit is contained in:
@@ -7,34 +7,44 @@
|
||||
cu2qu,
|
||||
defcon,
|
||||
fetchPypi,
|
||||
fetchpatch2,
|
||||
fontmath,
|
||||
fonttools,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools-scm,
|
||||
skia-pathops,
|
||||
syrupy,
|
||||
ufolib2,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ufo2ft";
|
||||
version = "3.2.8";
|
||||
version = "3.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-HSD66FbCxZyACRq7b8p2uizoO4ZqPAn1O8BFoi1/Mkc=";
|
||||
hash = "sha256-lw5mLcVw1NFT1c/AOcMyo2a8aGOyxFG+ZAU6Ggnssko=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
# update syrupy snapshots
|
||||
url = "https://github.com/googlefonts/ufo2ft/commit/7a3edb2e4202cf388e3ffe31b5b3783dbb392db2.patch";
|
||||
hash = "sha256-YEgUgrtgH3PBZlt+xoJme+oPRuDMwq7M/4cJ3JbeuyU=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "cffsubr" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
cu2qu
|
||||
fontmath
|
||||
fonttools
|
||||
@@ -46,7 +56,10 @@ buildPythonPackage rec {
|
||||
skia-pathops
|
||||
] ++ fonttools.optional-dependencies.lxml ++ fonttools.optional-dependencies.ufo;
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Do not depend on skia.
|
||||
|
||||
Reference in New Issue
Block a user