Skip to content

Commit

Permalink
print/py-fontbakery: Update to 0.8.11
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Apr 19, 2023
1 parent 8bcf730 commit 14a7323
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 12 deletions.
26 changes: 18 additions & 8 deletions print/py-fontbakery/Makefile
@@ -1,5 +1,5 @@
PORTNAME= fontbakery
PORTVERSION= 0.8.6
PORTVERSION= 0.8.11
DISTVERSIONPREFIX= v
CATEGORIES= print python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,29 +11,35 @@ WWW= https://github.com/googlefonts/fontbakery
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}beziers>=0:graphics/py-beziers@${PY_FLAVOR} \
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} \
${PYTHON_PKGNAMEPREFIX}beziers>=0.5.0:graphics/py-beziers@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cmarkgfm>=0:textproc/py-cmarkgfm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}collidoscope>=0.4.1:print/py-collidoscope@${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>=3.34:print/py-fonttools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}glyphsets>=0:print/py-glyphsets@${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}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:print/py-vharfbuzz@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}vharfbuzz>=0.2.0:print/py-vharfbuzz@${PY_FLAVOR}

USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
Expand All @@ -43,6 +49,10 @@ NO_ARCH= yes
GH_ACCOUNT= googlefonts
USE_GITHUB= yes

OPTIONS_DEFINE= FREETYPE

FREETYPE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freetype-py>=0:print/py-freetype-py@${PY_FLAVOR}

post-patch:
@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py

Expand Down
6 changes: 3 additions & 3 deletions print/py-fontbakery/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1643971116
SHA256 (googlefonts-fontbakery-v0.8.6_GH0.tar.gz) = c57d6b8441c963321442b005dd4246361b741e053b4b9fe341f036cd864adf8e
SIZE (googlefonts-fontbakery-v0.8.6_GH0.tar.gz) = 31922589
TIMESTAMP = 1681588045
SHA256 (googlefonts-fontbakery-v0.8.11_GH0.tar.gz) = c5c494c776cd195b76975b31f52684412fe22590fc013f226e08f24ad3d844be
SIZE (googlefonts-fontbakery-v0.8.11_GH0.tar.gz) = 45017276
20 changes: 19 additions & 1 deletion print/py-fontbakery/files/patch-setup.py
@@ -1,4 +1,4 @@
--- setup.py.orig 2019-12-21 04:47:47 UTC
--- setup.py.orig 2023-03-03 17:20:04 UTC
+++ setup.py
@@ -23,7 +23,7 @@ except IOError:

Expand All @@ -9,3 +9,21 @@
url='https://github.com/googlefonts/fontbakery/',
description='Well designed Font QA tool, written in Python 3',
long_description=readme,
@@ -66,7 +66,7 @@ setup(
'beautifulsoup4',
'beziers>=0.5.0', # Uses new fontTools glyph outline access
'cmarkgfm',
- 'collidoscope==0.4.1', # 0.4.0 had a bug that failed to detect
+ 'collidoscope>=0.5.2', # 0.4.0 had a bug that failed to detect
# an ïï collision on Nunito Black.
# (see https://github.com/googlefonts/fontbakery/issues/3554)
'defcon',
@@ -84,7 +84,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',

0 comments on commit 14a7323

Please sign in to comment.