Date: Fri, 22 Sep 2023 03:23:11 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: fb0bd5598ab0 - main - x11-fonts/py-shaperglot: Add py-shaperglot 0.3.0 Message-ID: <202309220323.38M3NBrH090103@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb0bd5598ab098453a02fc3009d4da2a647f9b7d commit fb0bd5598ab098453a02fc3009d4da2a647f9b7d Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-09-22 03:11:11 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-09-22 03:11:11 +0000 x11-fonts/py-shaperglot: Add py-shaperglot 0.3.0 Shaperglot is a library and a utility for testing a font's language support. You give it a font, and it tells you what languages are supported and to what degree. Most other libraries to check for language support (for example, Rosetta's wonderful hyperglot library) do this by looking at the Unicode codepoints that the font supports. Shaperglot takes a different approach. --- x11-fonts/Makefile | 1 + x11-fonts/py-shaperglot/Makefile | 29 +++++++++++++++++++++++++++++ x11-fonts/py-shaperglot/distinfo | 3 +++ x11-fonts/py-shaperglot/pkg-descr | 7 +++++++ 4 files changed, 40 insertions(+) diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index c0bd13ff5c89..7c210df88965 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -246,6 +246,7 @@ SUBDIR += py-glyphsLib SUBDIR += py-opentype-sanitizer SUBDIR += py-opentypespec + SUBDIR += py-shaperglot SUBDIR += py-ufo2ft SUBDIR += py-ufoLib SUBDIR += py-ufolint diff --git a/x11-fonts/py-shaperglot/Makefile b/x11-fonts/py-shaperglot/Makefile new file mode 100644 index 000000000000..065d6781815c --- /dev/null +++ b/x11-fonts/py-shaperglot/Makefile @@ -0,0 +1,29 @@ +PORTNAME= shaperglot +PORTVERSION= 0.3.0 +CATEGORIES= x11-fonts python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Test font files for OpenType language support +WWW= https://github.com/googlefonts/shaperglot + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gflanguages>=0.4.7:x11-fonts/py-gflanguages@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}num2words>=0.5<0.6:devel/py-num2words@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}protobuf>=3.19.4,1:devel/py-protobuf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}strictyaml>=0:devel/py-strictyaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ufo2ft>=0:x11-fonts/py-ufo2ft@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}vharfbuzz>=0<1:print/py-vharfbuzz@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}youseedee>=0:textproc/py-youseedee@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/x11-fonts/py-shaperglot/distinfo b/x11-fonts/py-shaperglot/distinfo new file mode 100644 index 000000000000..a58243c19f93 --- /dev/null +++ b/x11-fonts/py-shaperglot/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1695143205 +SHA256 (shaperglot-0.3.0.tar.gz) = 1a77da6af8c29cba5ae68d446e0e7fdf76bf5521a587a79d070bd982512a89a3 +SIZE (shaperglot-0.3.0.tar.gz) = 71118 diff --git a/x11-fonts/py-shaperglot/pkg-descr b/x11-fonts/py-shaperglot/pkg-descr new file mode 100644 index 000000000000..4a7f6c452dde --- /dev/null +++ b/x11-fonts/py-shaperglot/pkg-descr @@ -0,0 +1,7 @@ +Shaperglot is a library and a utility for testing a font's language support. You +give it a font, and it tells you what languages are supported and to what +degree. + +Most other libraries to check for language support (for example, Rosetta's +wonderful hyperglot library) do this by looking at the Unicode codepoints that +the font supports. Shaperglot takes a different approach.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309220323.38M3NBrH090103>