1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add py-ufolint 0.4.1

ufolint is a source file linter for typeface development in Unified Font Object
(UFO) source code. It was designed for continuous integration testing of UFO
source contributions to typeface projects.

The application performs a UFO version specific static analysis of the source
text files against the UFO v2 and v3 specifications for issues.

These tests are performed through a combination of public methods in the
fontTools.ufoLib library and additional tests that are implemented in the
ufolint application. ufolint catches exceptions raised in the ufoLib public read
methods for all *.plist file types and all ufoLib validations performed on
*.glif files. These are returned to users with informative error messages that
indicate the filepath(s) of concern and exit status code 1.

WWW: https://github.com/source-foundry/ufolint
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-01-05 04:07:17 +00:00
parent 70ebff394e
commit d8786f7674
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=522089
4 changed files with 42 additions and 0 deletions

View File

@ -199,6 +199,7 @@
SUBDIR += py-glyphsLib
SUBDIR += py-ufo2ft
SUBDIR += py-ufoLib
SUBDIR += py-ufolint
SUBDIR += raleway
SUBDIR += roboto-fonts-ttf
SUBDIR += sgifonts

View File

@ -0,0 +1,23 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= ufolint
PORTVERSION= 0.4.1
CATEGORIES= x11-fonts python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= UFO source file linter
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}commandlines>=0:devel/py-commandlines@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fonttools>=3.31.0:print/py-fonttools@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1578125681
SHA256 (ufolint-0.4.1.tar.gz) = 972a227a85209cd97ec06cd8f52773b90eae7b3f419170edef94101d79e39316
SIZE (ufolint-0.4.1.tar.gz) = 18201

View File

@ -0,0 +1,15 @@
ufolint is a source file linter for typeface development in Unified Font Object
(UFO) source code. It was designed for continuous integration testing of UFO
source contributions to typeface projects.
The application performs a UFO version specific static analysis of the source
text files against the UFO v2 and v3 specifications for issues.
These tests are performed through a combination of public methods in the
fontTools.ufoLib library and additional tests that are implemented in the
ufolint application. ufolint catches exceptions raised in the ufoLib public read
methods for all *.plist file types and all ufoLib validations performed on
*.glif files. These are returned to users with informative error messages that
indicate the filepath(s) of concern and exit status code 1.
WWW: https://github.com/source-foundry/ufolint