From nobody Fri Sep 22 03:24:49 2023 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 4RsHh13R4wz4vPyH; Fri, 22 Sep 2023 03:24:49 +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 4RsHh12gZVz3Llm; Fri, 22 Sep 2023 03:24:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695353089; 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=R0oxNOuKXYnOc3Fi/hBVutpel3tJoY/uXRnsvQQi2jc=; b=qT4IbpxNdL+Op+UUW6pOy1CobrON6FeWQtf1a9jb1vcWk7j+T8exA3rzQKSW1SjuoVWdOM edsfWfTdd7W7MQfHmsayL69tdutw/JcO1sYIryEcFdAQIn37ngSX9vD+Nb2wVcLyikNLlF 8wnKwJekYaB7wDMWRW4NtnkG2Bxx+iiiQQdlm5bv6Q4x2isL884V1+nWdNO50PcZVrZU59 oIHZxMztg6GwWOmI9ZvkDhWYTN6uMccQyIIOtjxayUSfThtONnHne4BDyvcFzoZG1RpTMa PT+wm0nA/hmUS9xh6Y5mv0A4vCSUsCiCMlg0nQw0hsMe3O/DnqbCSjL72Zq5ww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695353089; a=rsa-sha256; cv=none; b=Fka0RriAZRmFM1QyamtmJlt/OMaErA4tvsUPMg1ijHo+jCsfygW0+fmQasBByOeyhFdYEZ eDECk0TpU1nT63ZJhdOWJPIqxRgLn0ZOt9IVAAZ3u2/AshSnpfn5AkRDwSHjL39XhYR+P3 HW0A154eNWK/roKmVdB9lm7YaRZZEe+SfDJDWDmnwnKm2GTtADLTnx0T+Uoh29Lpmi+3At 5/8zn58ysToeS0tTbfY+nNQu3uB928xYhL4JtrSAr5L3233cKPqBTZhByo/7usrC65GJ7X ganmapdDyViVsmcFacwEGz/hBm+Vq3iF4x6N9VUOF1POaoPHgiJEQ6R0EmIkGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695353089; 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=R0oxNOuKXYnOc3Fi/hBVutpel3tJoY/uXRnsvQQi2jc=; b=MFWhJE/RiSJOHkY+dhsmT/YQ/a6WM1dpwDyna86hrYWR9DprAoygeApxmGTwAIvPTggJ/z 5MKC0Asc/2gYuqPbpSQJiyXNNEkMpabhHX0cS7GUuRmUEZh9CKqriJasXqqMccf9Y+B3nT dy7m/oPDq/jWLdi24TOfKiCb6s3Oyh/zXZrGpv8BZWe48AEWbHQg+kk/MB3bH/deJjBMAK r44xBgp/evlNzi0Wgtx73F98qxuVF+n2/WHdRo/d7Q/CDaIWJEOugSBZ4d3wTd5M8fCy5n Gtb2DvNf1GLP375dGhREHF/Cv3EPbIh2d8Mo6dypc8RATcxNCGfRrQJhl460Zg== 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 4RsHh11d7cz14qX; Fri, 22 Sep 2023 03:24:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38M3OnZG093712; Fri, 22 Sep 2023 03:24:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38M3OnH9093709; Fri, 22 Sep 2023 03:24:49 GMT (envelope-from git) Date: Fri, 22 Sep 2023 03:24:49 GMT Message-Id: <202309220324.38M3OnH9093709@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: c7dd00af8253 - main - print/py-fontbakery: Update to 0.9.0 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: c7dd00af82535a3d6951ace3285157e44bd4b59c Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c7dd00af82535a3d6951ace3285157e44bd4b59c commit c7dd00af82535a3d6951ace3285157e44bd4b59c Author: Po-Chuan Hsieh AuthorDate: 2023-09-22 03:19:06 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-09-22 03:19:06 +0000 print/py-fontbakery: Update to 0.9.0 - Add FONTVAL, FONTWERK, GOOGLEFONTS, ISO15008, NOTOFONTS, SHAPING and UFO_SOURCES options - Remove FREETYPE option Changes: https://github.com/googlefonts/fontbakery/releases --- print/py-fontbakery/Makefile | 57 +++++++++++++++++++++----------- print/py-fontbakery/distinfo | 6 ++-- print/py-fontbakery/files/patch-setup.py | 35 ++++++++++++-------- 3 files changed, 62 insertions(+), 36 deletions(-) diff --git a/print/py-fontbakery/Makefile b/print/py-fontbakery/Makefile index 8037ba111a04..01df94712500 100644 --- a/print/py-fontbakery/Makefile +++ b/print/py-fontbakery/Makefile @@ -1,5 +1,5 @@ PORTNAME= fontbakery -PORTVERSION= 0.8.13 +PORTVERSION= 0.9.0 DISTVERSIONPREFIX= v CATEGORIES= print python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,33 +13,20 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.2:devel/py-setuptools_scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}axisregistry>=0.3.0:x11-fonts/py-axisregistry@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}babelfont>=0:x11-fonts/py-babelfont@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beziers>=0.5.0:graphics/py-beziers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cmarkgfm>=0:textproc/py-cmarkgfm@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}collidoscope>=0.5.2:print/py-collidoscope@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}defcon>=0:x11-fonts/py-defcon@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dehinter>=3.1.0:print/py-dehinter@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}font-v>=0:print/py-font-v@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}fonttools>=4.36.0:print/py-fonttools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}gflanguages>=0.3.0:x11-fonts/py-gflanguages@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}glyphsets>=0.5.0:print/py-glyphsets@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fonttools>=4.39.0:print/py-fonttools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}freetype-py>=0:print/py-freetype-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}munkres>=0:math/py-munkres@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}opentype-sanitizer>=7.1.9:x11-fonts/py-opentype-sanitizer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}opentypespec>=0:x11-fonts/py-opentypespec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip-api>=0:devel/py-pip-api@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.0,1:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}stringbrewer>=0:devel/py-stringbrewer@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ufo2ft>=2.25.2:x11-fonts/py-ufo2ft@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ufolint>=0:x11-fonts/py-ufolint@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}unicodedata2>=0:devel/py-unicodedata2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}vharfbuzz>=0.2.0:print/py-vharfbuzz@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils @@ -49,9 +36,39 @@ NO_ARCH= yes GH_ACCOUNT= googlefonts USE_GITHUB= yes -OPTIONS_DEFINE= FREETYPE +OPTIONS_DEFINE= FONTVAL FONTWERK GOOGLEFONTS ISO15008 NOTOFONTS SHAPING UFO_SOURCES +OPTIONS_DEFAULT=FONTVAL FONTWERK GOOGLEFONTS ISO15008 NOTOFONTS SHAPING UFO_SOURCES +FONTVAL_DESC= Checks for Font Validator +FONTWERK_DESC= Checks for Fontwerk.com +FONTWERK_IMPLIES= GOOGLEFONTS +GOOGLEFONTS_DESC= Checks for Google Fonts +GOOGLEFONTS_IMPLIES= SHAPING UFO_SOURCES +ISO15008_DESC= Checks for suitability for in-car displays (ISO 15008) +NOTOFONTS_DESC= Checks for Noto fonts +NOTOFONTS_IMPLIES= GOOGLEFONTS +SHAPING_DESC= Checks for shaping +UFO_SOURCES_DESC= Checks for UFO sources -FREETYPE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freetype-py>=0:print/py-freetype-py@${PY_FLAVOR} +FONTVAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} +GOOGLEFONTS_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}axisregistry>=0.3.0:x11-fonts/py-axisregistry@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dehinter>=3.1.0:print/py-dehinter@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}font-v>=0:print/py-font-v@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fonttools>=4.39.0:print/py-fonttools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}gflanguages>=0.3.0:x11-fonts/py-gflanguages@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}glyphsets>=0.5.0:print/py-glyphsets@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.0,1:devel/py-protobuf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}vharfbuzz>=0.2.0:print/py-vharfbuzz@${PY_FLAVOR} +ISO15008_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uharfbuzz>=0:print/py-uharfbuzz@${PY_FLAVOR} +SHAPING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}collidoscope>=0.5.2:print/py-collidoscope@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}shaperglot>=0.2.0:x11-fonts/py-shaperglot@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}stringbrewer>=0:devel/py-stringbrewer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ufo2ft>=2.25.2:x11-fonts/py-ufo2ft@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}vharfbuzz>=0.2.0:print/py-vharfbuzz@${PY_FLAVOR} +UFO_SOURCES_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}defcon>=0:x11-fonts/py-defcon@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fonttools>=4.39.0:print/py-fonttools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ufo2ft>=2.25.2:x11-fonts/py-ufo2ft@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ufolint>=0:x11-fonts/py-ufolint@${PY_FLAVOR} post-patch: @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py diff --git a/print/py-fontbakery/distinfo b/print/py-fontbakery/distinfo index 647795f36dbc..ee5b84ddcf24 100644 --- a/print/py-fontbakery/distinfo +++ b/print/py-fontbakery/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1685995470 -SHA256 (googlefonts-fontbakery-v0.8.13_GH0.tar.gz) = 8ded27527873a04f9b0eb527f2bbf0adbcd9cec4fb72c6d4692068bc35ebf8ac -SIZE (googlefonts-fontbakery-v0.8.13_GH0.tar.gz) = 46414525 +TIMESTAMP = 1695143355 +SHA256 (googlefonts-fontbakery-v0.9.0_GH0.tar.gz) = f05094545172eaa4c4700adddca31f6c78da4c4bb0516adc20b04d7d8a8186e6 +SIZE (googlefonts-fontbakery-v0.9.0_GH0.tar.gz) = 47185543 diff --git a/print/py-fontbakery/files/patch-setup.py b/print/py-fontbakery/files/patch-setup.py index 732de7d51b77..e526bdb89fd8 100644 --- a/print/py-fontbakery/files/patch-setup.py +++ b/print/py-fontbakery/files/patch-setup.py @@ -1,20 +1,29 @@ ---- setup.py.orig 2023-06-01 00:42:56 UTC +--- setup.py.orig 2023-09-12 12:07:05 UTC +++ setup.py -@@ -23,7 +23,7 @@ except IOError: +@@ -55,7 +55,7 @@ googlefonts_extras = ( + "gflanguages>=0.3.0", # 0.3.0 had an api simplification/update + # (see https://github.com/googlefonts/gflanguages/pull/7) + "glyphsets>=0.5.0", +- "protobuf>=3.7.0, <4", # 3.7.0 fixed a bug on parsing some METADATA.pb files. ++ "protobuf>=3.7.0", # 3.7.0 fixed a bug on parsing some METADATA.pb files. + # We cannot use v4 because our protobuf files have been compiled with v3. + # (see https://github.com/fonttools/fontbakery/issues/2200) + f"vharfbuzz{VHARFBUZZ_VERSION}", +@@ -96,7 +96,7 @@ all_extras = set( setup( name="fontbakery", - use_scm_version={"write_to": "Lib/fontbakery/_version.py"}, + use_scm_version={"fallback_version": "%%PORTVERSION%%", "write_to": "Lib/fontbakery/_version.py"}, - url='https://github.com/googlefonts/fontbakery/', - description='Well designed Font QA tool, written in Python 3', + url="https://github.com/fonttools/fontbakery/", + description="A font quality assurance tool for everyone", long_description=readme, -@@ -83,7 +83,7 @@ setup( - 'pip-api', # needed for checking Font Bakery's version - # 3.7.0 fixed a bug on parsing some METADATA.pb files. - # We cannot use v4 because our protobuf files have been compiled with v3. -- 'protobuf>=3.7.0, <4', -+ 'protobuf>=3.7.0', - # (see https://github.com/googlefonts/fontbakery/issues/2200) - 'PyYAML', - 'requests', +@@ -148,7 +148,7 @@ setup( + # core dependencies + "babelfont", + f"fontTools{FONTTOOLS_VERSION}", +- "freetype-py!=2.4.0", # Avoiding 2.4.0 due to seg-fault described at ++ "freetype-py", # Avoiding 2.4.0 due to seg-fault described at + # https://github.com/fonttools/fontbakery/issues/4143 + "opentypespec", + "opentype-sanitizer>=7.1.9", # 7.1.9 fixes caret value format = 3 bug