From nobody Fri Jan 28 23:27:45 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 443FC19945CA; Fri, 28 Jan 2022 23:27:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jltss6KG1z4tDP; Fri, 28 Jan 2022 23:27:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643412466; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VZDqjjeD7Zcrafv5nLRHdT8OhZ12W55AOfXYvSozg+c=; b=p0bglgzAblX4nS9z6tgkjC3c2vxq3MBaPeqZ8rpaaL6UE2l/4IiPLhIQbEPaLSgsWIW23D bMw7I72uat3ATTMZcPeLpRaA3ZzETRK/aJVRyhaAUiSt/uf+1gN5jIznme0GgV2LO9wk/u oyb5Vj1ajESXX3O4w0tNDJBTwqTYvg8zBQ/GzRdyewFAuSfre3YKJGaKBsnsjir6iEEc7d kP8AJB5/kJDf2/FtHpB/zJKiIfvSTXSbPSO5Rf9trmHXgbmqXklxajKcw4q9bjlio0dptn mcqQV3HrUqsQtvUBRzVCmwfRRoQz0ky74lxPTe449bDbNhwyLBToGSUrhpSVhA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6B405308A; Fri, 28 Jan 2022 23:27:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20SNRjNJ093843; Fri, 28 Jan 2022 23:27:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20SNRjcZ093842; Fri, 28 Jan 2022 23:27:45 GMT (envelope-from git) Date: Fri, 28 Jan 2022 23:27:45 GMT Message-Id: <202201282327.20SNRjcZ093842@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 7ae57c39257d - main - print/py-glyphsets: Add py-glyphsets 0.2.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ae57c39257d8456f5cf5f1902e82c5a55f8f73d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643412466; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VZDqjjeD7Zcrafv5nLRHdT8OhZ12W55AOfXYvSozg+c=; b=iQ/Puzqj3Yi93xy/vuliaf8ro6zHFr7t20xRzzt6EDfvThQ1+CnS+KT1UFty9KpFUMTzHi VY/3J5j+8J/FK2T7LqQ/OyDiEshItnQOf3LLMGFOqGqAHy9gQj7tvRt7arOMbP7ZlAzUbi Ye7V0/C7j0wsdlDj8vAywNrTApwHjiYW0Efcw3tLM55DPRx+JPw2W+W5UZYv75VVTQ4oPU FYO4XylaAWulT2Je0PANa29LFmLqbcrVbhNE1Ip8n9xVjjn8O5BdmnzytzpyCn2ffQdUQz AkZdRt7deVsJCFki9ydPw+m8/z2HsFSf8IYGUCECU4Fn4OQMVOaR7TIkpbMwuw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643412466; a=rsa-sha256; cv=none; b=VDZFd5Czrxyj8vcZAGY78JKi4/wdK7a2/eSu2DckTAmicmbU5A+zdqPbFJDTh9Ue0iR8Io HIu7bi0O5tlmw4Y2JmpGKEXJRCTOz0b5HSnZXL613EYPtzuBOYIZ3RBBj1wqa66g+AVfiX CXK8TtKLCnc+enZvBhgkuYYu5xbgDL13esZF2xACtZlWe7//M3h5ik2Fj8QhKwYMB/zR/L i7TBXSA7hBxX58mBiJ/w5IawCDe8W2yTF6c4OEIi6MqZ0AzIE0wiVBYVEMneloK1E7hMzo KG2bSOQge8rCCAEyudI4k1t9d78KuCIBbFv1FBcfTX9W64Nfmk1WFtwsEVQcaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ae57c39257d8456f5cf5f1902e82c5a55f8f73d commit 7ae57c39257d8456f5cf5f1902e82c5a55f8f73d Author: Po-Chuan Hsieh AuthorDate: 2022-01-28 23:09:22 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-01-28 23:26:34 +0000 print/py-glyphsets: Add py-glyphsets 0.2.1 glyphsets helps evaluate coverage of glyph sets in font projects If you are a font developer or typeface designer, see the "Lib/glyphsets/encodings/GF Glyph Sets" subdirectory which provides glyph set definition "standards" that are typically useful sets to draw. On the other hand, the nam files on the "Lib/glyphsets/encodings" directory are probably more useful for expert web developers. Those files explain how the Unicode Range subsets are defined, typically per script (writing system), in the Google Fonts css API. WWW: https://github.com/googlefonts/glyphsets --- print/Makefile | 1 + print/py-glyphsets/Makefile | 29 +++++++++++++++++++++++++++++ print/py-glyphsets/distinfo | 3 +++ print/py-glyphsets/files/patch-setup.py | 20 ++++++++++++++++++++ print/py-glyphsets/pkg-descr | 12 ++++++++++++ 5 files changed, 65 insertions(+) diff --git a/print/Makefile b/print/Makefile index 7a06889f0f29..b29cdf29114b 100644 --- a/print/Makefile +++ b/print/Makefile @@ -181,6 +181,7 @@ SUBDIR += py-fonttools SUBDIR += py-fpdf SUBDIR += py-frescobaldi + SUBDIR += py-glyphsets SUBDIR += py-glyphtools SUBDIR += py-pdf SUBDIR += py-pdf2 diff --git a/print/py-glyphsets/Makefile b/print/py-glyphsets/Makefile new file mode 100644 index 000000000000..d400293413eb --- /dev/null +++ b/print/py-glyphsets/Makefile @@ -0,0 +1,29 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= glyphsets +PORTVERSION= 0.2.1 +DISTVERSIONPREFIX= v +CATEGORIES= print python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python API for evaluating coverage of glyph sets in font projects + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=4:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +GH_ACCOUNT= googlefonts +USE_GITHUB= yes + +post-patch: + @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py + +.include diff --git a/print/py-glyphsets/distinfo b/print/py-glyphsets/distinfo new file mode 100644 index 000000000000..8ad4359a2074 --- /dev/null +++ b/print/py-glyphsets/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1643382486 +SHA256 (googlefonts-glyphsets-v0.2.1_GH0.tar.gz) = dab3c915f1137eb5a16ea22b679b9e1408d1184134946b1905d90268fe46fe82 +SIZE (googlefonts-glyphsets-v0.2.1_GH0.tar.gz) = 1265612 diff --git a/print/py-glyphsets/files/patch-setup.py b/print/py-glyphsets/files/patch-setup.py new file mode 100644 index 000000000000..dfecdc954a3b --- /dev/null +++ b/print/py-glyphsets/files/patch-setup.py @@ -0,0 +1,20 @@ +--- setup.py.orig 2021-12-17 07:16:14 UTC ++++ setup.py +@@ -24,7 +24,7 @@ with open('README.md') as f: + + setup( + name="glyphsets", +- use_scm_version={"write_to": "Lib/glyphsets/_version.py"}, ++ use_scm_version={"fallback_version": "%%PORTVERSION%%", "write_to": "Lib/glyphsets/_version.py"}, + url='https://github.com/googlefonts/glyphsets/', + description='A python API for evaluating coverage of glyph sets in font projects.', + long_description=long_description, +@@ -52,7 +52,7 @@ setup( + 'Programming Language :: Python :: 3' + ], + python_requires=">=3.7", +- setup_requires=['setuptools_scm>=4,<6.1'], ++ setup_requires=['setuptools_scm>=4'], + install_requires=[ + 'setuptools', + 'FontTools[ufo]', diff --git a/print/py-glyphsets/pkg-descr b/print/py-glyphsets/pkg-descr new file mode 100644 index 000000000000..95dcb19d7041 --- /dev/null +++ b/print/py-glyphsets/pkg-descr @@ -0,0 +1,12 @@ +glyphsets helps evaluate coverage of glyph sets in font projects + +If you are a font developer or typeface designer, see the +"Lib/glyphsets/encodings/GF Glyph Sets" subdirectory which provides glyph set +definition "standards" that are typically useful sets to draw. + +On the other hand, the nam files on the "Lib/glyphsets/encodings" directory are +probably more useful for expert web developers. Those files explain how the +Unicode Range subsets are defined, typically per script (writing system), in the +Google Fonts css API. + +WWW: https://github.com/googlefonts/glyphsets