Skip to content

Commit

Permalink
x11-fonts/py-fontmake: Update to 3.5.1
Browse files Browse the repository at this point in the history
- Update WWW
- Update pkg-descr
- While I'm here:
  - Sort RUN_DEPENDS
  - Add AUTOHINT and MUTATORMATH options

Changes:	https://github.com/googlefonts/fontmake/releases
PR:		270145
  • Loading branch information
lantw44 authored and sunpoet committed Apr 5, 2023
1 parent 07168c4 commit f641995
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 17 deletions.
30 changes: 18 additions & 12 deletions x11-fonts/py-fontmake/Makefile
@@ -1,29 +1,35 @@
PORTNAME= fontmake
PORTVERSION= 1.8.0
PORTREVISION= 3
PORTVERSION= 3.5.1
CATEGORIES= x11-fonts python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= lantw44@gmail.com
COMMENT= Compile fonts from sources to binary
WWW= https://github.com/googlei18n/fontmake
WWW= https://github.com/googlefonts/fontmake

LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cu2qu>=1.6.5:x11-fonts/py-cu2qu@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}glyphsLib>=3.1.3:x11-fonts/py-glyphsLib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ufo2ft>=2.5.0:x11-fonts/py-ufo2ft@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}MutatorMath>=2.1.2:math/py-MutatorMath@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}defcon>=0.6.0:x11-fonts/py-defcon@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}booleanOperations>=0.8.1:x11-fonts/py-booleanOperations@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fontMath>=0.9.3:x11-fonts/py-fontMath@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fonttools>=4.38.0:print/py-fonttools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}glyphsLib>=6.1.0:x11-fonts/py-glyphsLib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ufo2ft>=2.29.0:x11-fonts/py-ufo2ft@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ufolib2>=0.13.0:print/py-ufolib2@${PY_FLAVOR} \

USES= python:3.6+ zip
USES= python:3.7+ zip
USE_PYTHON= autoplist concurrent distutils

NO_ARCH= yes

OPTIONS_DEFINE= AUTOHINT MUTATORMATH
OPTIONS_DEFAULT=AUTOHINT MUTATORMATH
AUTOHINT_DESC= ttfautohint support
MUTATORMATH_DESC= Allow use mutatormath instead of internal instantiator

AUTOHINT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ttfautohint-py>=0.5.0:print/py-ttfautohint-py@${PY_FLAVOR}
MUTATORMATH_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}MutatorMath>=2.1.2:math/py-MutatorMath@${PY_FLAVOR}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions x11-fonts/py-fontmake/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1545562319
SHA256 (fontmake-1.8.0.zip) = a6b8e3c8a1e997dbadd602496aa8ea3bbe4e4ed2dfc6607a288340aa08067d2e
SIZE (fontmake-1.8.0.zip) = 51822
TIMESTAMP = 1679499270
SHA256 (fontmake-3.5.1.zip) = 9e3240acdabb9e1768ab44a2dfe4540c4f95252c2e52f93e7bb59eb8d6a5b8ad
SIZE (fontmake-3.5.1.zip) = 463050
5 changes: 3 additions & 2 deletions x11-fonts/py-fontmake/pkg-descr
@@ -1,2 +1,3 @@
fontmake provides a wrapper for several other Python libraries which together
compile fonts from various sources (.glyphs, .ufo) into binaries (.otf, .ttf).
fontmake compiles fonts from various sources (.glyphs, .ufo, designspace) into
binaries (.otf, .ttf). You can use it to create static instances and variable
fonts.

0 comments on commit f641995

Please sign in to comment.