From nobody Thu Jun 9 23:19:31 2022 X-Original-To: dev-commits-ports-main@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 091EB83C3FA; Thu, 9 Jun 2022 23:19:32 +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 4LK0RR4XzYz4d7N; Thu, 9 Jun 2022 23:19:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654816771; 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=XHZdUmaWqhv9cvcGwM2YcIqoNlKAwSj2E2FgEpwpi2w=; b=mHDqj4sQxxURU8JMYDgN/pFAQEO0xOoLVW/DaP0dl3+9bsW3Hw9BisW1iHXiIp5XDjzPjR O225t8Az9HUEM7xGnXW63RiKDBeV0W3tJ8oNKVHhVBZOLctciOh7emyi5RNYgk+O3k0fAI OqRYaGOmkKtgYA7zw+nBdP72+x9OByvZDJcDggxgNen7P45LKCibULwn/8o/IUN4OZc/E1 HvkJc48Im5/Vt9XZ87wAY2BP7Hj8H7/B2vaXW4SGMh2Mvdoe8gQKTJi4FAAGrpR/GrOpUp MWKfF53uFD4/GB8nb0YoYRx4f1iyXBztlRUsfTVVIRCjaUFbPELFYYWsKbHksw== 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 31012524A; Thu, 9 Jun 2022 23:19:31 +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 259NJVmj042625; Thu, 9 Jun 2022 23:19:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 259NJV9W042624; Thu, 9 Jun 2022 23:19:31 GMT (envelope-from git) Date: Thu, 9 Jun 2022 23:19:31 GMT Message-Id: <202206092319.259NJV9W042624@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: 5e19bd196486 - main - x11-fonts/py-gflanguages: Add py-gflanguages 0.4.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 5e19bd196486ae4969dc280948f70fc72dcf8015 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654816771; 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=XHZdUmaWqhv9cvcGwM2YcIqoNlKAwSj2E2FgEpwpi2w=; b=shdqRbHWdeofmAwZKwMbaHyWez5fuqov79mx/xY1hxg/jxXpINDrNpkxacIxVf4A4VRZKs u5xvHPysqfT2H6bMG5RqjYZjyFxGBHsuUwPR1zFQ1z1BZJZDC51/Ox4t6N87MmHZ9TeXA+ Fr8ryezRlaYO/YUCsRFWyaXr07BCC7qM0XUYLBOomgBwDU+8C4NbCbpKkVcoIjiuMZvc2L OSFNLFMYS30MjjKZcBvhOETVPWWFTPb55hY8KRSyrmDvoJXcyCuk9VQlQCAgCXoyRwpfme VEX128y2rY8y+O6dwkivYbx94k404DVjCmX05KlPOFGosnzR0NpF3RF67uxIsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654816771; a=rsa-sha256; cv=none; b=c9Xi2ub56JRew1sRXe9CwUxIUXX7LY1vAWFTBypK3OQA5vwB/wO2VdKUzVF31UZsWI5adA 4pxhF02bV9viXhy5k2tQ38WWWT8a/5qmsIa2Gkothpqzl4GgHCUHXU7AJqcBRHWje0YyMe ZE37fJYonGWw/8+gYki8Tue7/mv9TgwmS66XvBc8mNaiT++Q7BH8y6iPtkmtgKENlbAvmu 9KGQHFvG6byR1D1ew8ZXkI4pIFiFEFyl6T3T54vdE+48h4TL6of6l5mHPvfCc0IK8n/De2 9naBftISs+hToM85XHo+qoQGmlszn6GpFIg4GosgKimjI2+2abUlwO59v4q13w== 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=5e19bd196486ae4969dc280948f70fc72dcf8015 commit 5e19bd196486ae4969dc280948f70fc72dcf8015 Author: Po-Chuan Hsieh AuthorDate: 2022-06-09 23:09:44 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-09 23:16:01 +0000 x11-fonts/py-gflanguages: Add py-gflanguages 0.4.0 This python module provides an API with data about languages/regions/scripts for use in the language-support categorization of the font families in the Google Fonts collection. You can also directly access the raw textproto files on the Lib/gflanguages/data directory: - languages - regions - scripts WWW: https://github.com/googlefonts/lang --- x11-fonts/Makefile | 1 + x11-fonts/py-gflanguages/Makefile | 23 +++++++++++++++++++++++ x11-fonts/py-gflanguages/distinfo | 3 +++ x11-fonts/py-gflanguages/files/patch-setup.py | 11 +++++++++++ x11-fonts/py-gflanguages/pkg-descr | 11 +++++++++++ 5 files changed, 49 insertions(+) diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 2aaa803093bc..2145235afb76 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -225,6 +225,7 @@ SUBDIR += py-defcon SUBDIR += py-fontMath SUBDIR += py-fontmake + SUBDIR += py-gflanguages SUBDIR += py-glyphsLib SUBDIR += py-opentype-sanitizer SUBDIR += py-opentypespec diff --git a/x11-fonts/py-gflanguages/Makefile b/x11-fonts/py-gflanguages/Makefile new file mode 100644 index 000000000000..ac006cd89657 --- /dev/null +++ b/x11-fonts/py-gflanguages/Makefile @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= gflanguages +PORTVERSION= 0.4.0 +CATEGORIES= x11-fonts python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python API for evaluating language support in the Google Fonts collection + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=4:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=0,1:devel/py-protobuf@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/x11-fonts/py-gflanguages/distinfo b/x11-fonts/py-gflanguages/distinfo new file mode 100644 index 000000000000..088f7be282ad --- /dev/null +++ b/x11-fonts/py-gflanguages/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1654774052 +SHA256 (gflanguages-0.4.0.tar.gz) = c1ef3c27b741fcf5064ebbf4e3d9ef2bef037e9ec620c9a9d0aa5c3add2124bf +SIZE (gflanguages-0.4.0.tar.gz) = 673638 diff --git a/x11-fonts/py-gflanguages/files/patch-setup.py b/x11-fonts/py-gflanguages/files/patch-setup.py new file mode 100644 index 000000000000..14b5b6f0c94d --- /dev/null +++ b/x11-fonts/py-gflanguages/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2022-03-04 21:26:42 UTC ++++ setup.py +@@ -51,7 +51,7 @@ setup( + 'Programming Language :: Python :: 3' + ], + python_requires=">=3.7", +- setup_requires=['setuptools_scm>=4,<6.1'], ++ setup_requires=['setuptools_scm>=4'], + install_requires=[ + 'protobuf' + ] diff --git a/x11-fonts/py-gflanguages/pkg-descr b/x11-fonts/py-gflanguages/pkg-descr new file mode 100644 index 000000000000..bc226511208f --- /dev/null +++ b/x11-fonts/py-gflanguages/pkg-descr @@ -0,0 +1,11 @@ +This python module provides an API with data about languages/regions/scripts for +use in the language-support categorization of the font families in the Google +Fonts collection. + +You can also directly access the raw textproto files on the Lib/gflanguages/data +directory: +- languages +- regions +- scripts + +WWW: https://github.com/googlefonts/lang