Port details |
- py-gfsubsets Codepoint definitions for the Google Fonts subsetter
- 2024.2.5 x11-fonts =0 2024.2.5Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2024-02-21 15:19:49
- Last Update: 2024-03-31 03:08:13
- Commit Hash: b36f76b
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/googlefonts/nam-files
- Description:
- This is the collection of nam files (codepoint subsets) that are used to subset
fonts before serving on the Google Fonts CSS API.
The Python module gfsubsets provides an interface to these subset definitions.
It exports the following functions:
- CodepointsInFont(filename): Lists the Unicode codepoints supported by the font
- ListSubsets(): Returns the name of all defined subsets.
- SubsetsForCodepoint(cp): Returns the names of all subsets including the
codepoint.
- SubsetForCodepoint(cp): Returns the name of the "most relevant" subset
including the codepoint.
- CodepointsInSubset(subset): Returns a set of codepoints included in the
subset.
- SubsetsInFont(filename, min_pct, ext_min_pct): Returns the name of subsets
"well" supported by a font.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}gfsubsets>0:x11-fonts/py-gfsubsets@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/x11-fonts/py-gfsubsets/ && make install clean
- To add the package, run one of these commands:
- pkg install x11-fonts/py-gfsubsets
- pkg install py39-gfsubsets
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-gfsubsets listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-gfsubsets
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1708448864
SHA256 (gfsubsets-2024.2.5.tar.gz) = 83d4312dadc1d4c313b3e8e68f80b2272499454d33a0535875b399c078ca3da4
SIZE (gfsubsets-2024.2.5.tar.gz) = 1369868
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=61.0 : devel/py-setuptools@py39
- py39-setuptools-scm>=8.0 : devel/py-setuptools-scm@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- print/py-fontbakery
Configuration Options:
- No options to configure
- Options name:
- x11-fonts_py-gfsubsets
- USES:
- python:3.9+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 3
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2024.2.5 31 Mar 2024 03:08:13 |
Po-Chuan Hsieh (sunpoet) |
x11-fonts/py-gfsubsets: Update version requirement of BUILD_DEPENDS |
2024.2.5 29 Feb 2024 07:18:32 |
Charlie Li (vishwin) |
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288 |
2024.2.5 21 Feb 2024 15:06:11 |
Po-Chuan Hsieh (sunpoet) |
x11-fonts/py-gfsubsets: Add py-gfsubsets 2024.2.5
This is the collection of nam files (codepoint subsets) that are used to subset
fonts before serving on the Google Fonts CSS API.
The Python module gfsubsets provides an interface to these subset definitions.
It exports the following functions:
- CodepointsInFont(filename): Lists the Unicode codepoints supported by the font
- ListSubsets(): Returns the name of all defined subsets.
- SubsetsForCodepoint(cp): Returns the names of all subsets including the
codepoint.
- SubsetForCodepoint(cp): Returns the name of the "most relevant" subset
including the codepoint.
- CodepointsInSubset(subset): Returns a set of codepoints included in the
subset.
- SubsetsInFont(filename, min_pct, ext_min_pct): Returns the name of subsets
"well" supported by a font. |
Number of commits found: 3
|