python3Packages.fontparts: 0.13.1 -> 1.0.0

Diff: https://github.com/robotools/fontParts/compare/0.13.1...1.0.0

Changelog: https://github.com/robotools/fontParts/releases/tag/1.0.0
This commit is contained in:
Robert Schütz
2026-06-19 09:55:09 -07:00
parent 917e5f6505
commit a95fcb9764
@@ -1,7 +1,7 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
# build-system
setuptools,
@@ -17,17 +17,23 @@
python,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "fontparts";
version = "0.13.1";
version = "1.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-+oifxmY7MUkQj3Sy75wjRmoVEPkgZaO3+8/sauMMxYA=";
extension = "zip";
src = fetchFromGitHub {
owner = "robotools";
repo = "fontParts";
tag = finalAttrs.version;
hash = "sha256-dBR9Lf8ECLAOAkEkEy4JCgOKmyXzwXaOXdW4cErWQcs=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail ', "vcs-versioning"' ""
'';
build-system = [
setuptools
setuptools-scm
@@ -44,6 +50,8 @@ buildPythonPackage rec {
++ fonttools.optional-dependencies.lxml
++ fonttools.optional-dependencies.unicode;
pythonImportsCheck = [ "fontParts" ];
checkPhase = ''
runHook preCheck
${python.interpreter} Lib/fontParts/fontshell/test.py
@@ -53,8 +61,8 @@ buildPythonPackage rec {
meta = {
description = "API for interacting with the parts of fonts during the font development process";
homepage = "https://github.com/robotools/fontParts";
changelog = "https://github.com/robotools/fontParts/releases/tag/${version}";
changelog = "https://github.com/robotools/fontParts/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.sternenseemann ];
};
}
})