-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
fontbakery: fix build failures #300400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
fontbakery: fix build failures #300400
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
c704cfa
python3Packages.shaperglot: fix dependencies
danc86 e42b21d
python3Packages.shaperglot: convert to PEP-517 style
danc86 ad5ed64
Revert "python3Packages.gflanguages: 0.5.13 -> 5.0.4"
danc86 23c63d4
python3Packages.gflanguages: 0.5.13 → 0.5.17
danc86 768656b
python3Packages.gflanguages: convert to PEP-517 style
danc86 a365159
python3Packages.glyphsets: drop inapplicable patch
danc86 4e74494
python3Packages.glyphsets: fix dependencies
danc86 0f84b6d
python3Packages.glyphsets: disable test that requires network access
danc86 1f764f7
python3Packages.glyphsets: convert to PEP-517 style
danc86 879ba19
python3Packages.gfsubsets: init at 2024.2.5
danc86 1290eef
fontbakery: add missing dependencies
danc86 3fe403d
fontbakery: drop inapplicable patch
danc86 abae932
fontbakery: convert to PEP-517 style
danc86 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { lib | ||
| , buildPythonPackage | ||
| , fetchPypi | ||
| , fonttools | ||
| , importlib-resources | ||
| , setuptools | ||
| , setuptools-scm | ||
| , youseedee | ||
| }: | ||
|
|
||
| buildPythonPackage rec { | ||
| pname = "gfsubsets"; | ||
| version = "2024.2.5"; | ||
| gitTag = "v2024.02.05"; | ||
|
|
||
| src = fetchPypi { | ||
| inherit pname version; | ||
| hash = "sha256-g9QxLa3B1MMTs+jmj4CyJySZRU0zoFNYdbOZwHjKPaQ="; | ||
| }; | ||
|
|
||
| pyproject = true; | ||
|
|
||
| build-system = [ | ||
| setuptools | ||
| setuptools-scm | ||
| ]; | ||
|
|
||
| dependencies = [ | ||
| fonttools | ||
| importlib-resources | ||
| youseedee | ||
| ]; | ||
|
|
||
danc86 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # Package has no unit tests. | ||
| doCheck = false; | ||
| pythonImportsCheck = [ | ||
| "gfsubsets" | ||
| ]; | ||
|
|
||
| meta = with lib; { | ||
| description = "Codepoint definitions for the Google Fonts subsetter"; | ||
| homepage = "https://github.com/googlefonts/nam-files"; | ||
| changelog = "https://github.com/googlefonts/nam-files/releases/tag/${gitTag}"; | ||
| license = licenses.asl20; | ||
| maintainers = with maintainers; [ danc86 ]; | ||
| }; | ||
| } | ||
22 changes: 0 additions & 22 deletions
22
pkgs/development/python-modules/glyphsets/0001-relax-setuptools-scm-dep.patch
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to leak this into the environment, change it to
Otherwise, I don't see any usage, please remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's used below in
meta.changelog:Unfortunately because of upstream's chosen versioning scheme, the git tag and PyPI versions don't match. I didn't want to try and craft some complicated expression to predict the git tag from the PyPI version or vice versa, I was intending to just use this variable here as a reminder to keep these two versions in sync with each other in future.
Admittedly, that means the normal Python package update script won't work correctly on this package. I'm not sure what the best solution is in this case.
Given that the release notes on Github contain very little useful information, maybe the simplest option is to just leave
meta.changelogunspecified?