aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/py-ufolint
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-05 04:07:17 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-05 04:07:17 +0000
commitd8786f767437a65c0182a40e9aaa222fa5647354 (patch)
tree2ce2777595ac69f42e43723586b75608948ff9a0 /x11-fonts/py-ufolint
parent70ebff394e727ca62b710e69ebd88fcf5564face (diff)
downloadports-d8786f767437a65c0182a40e9aaa222fa5647354.tar.gz
ports-d8786f767437a65c0182a40e9aaa222fa5647354.zip
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
Notes
Notes: svn path=/head/; revision=522089
Diffstat (limited to 'x11-fonts/py-ufolint')
-rw-r--r--x11-fonts/py-ufolint/Makefile23
-rw-r--r--x11-fonts/py-ufolint/distinfo3
-rw-r--r--x11-fonts/py-ufolint/pkg-descr15
3 files changed, 41 insertions, 0 deletions
diff --git a/x11-fonts/py-ufolint/Makefile b/x11-fonts/py-ufolint/Makefile
new file mode 100644
index 000000000000..46cb9e2a0ab1
--- /dev/null
+++ b/x11-fonts/py-ufolint/Makefile
@@ -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>
diff --git a/x11-fonts/py-ufolint/distinfo b/x11-fonts/py-ufolint/distinfo
new file mode 100644
index 000000000000..3bd1aa87b847
--- /dev/null
+++ b/x11-fonts/py-ufolint/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1578125681
+SHA256 (ufolint-0.4.1.tar.gz) = 972a227a85209cd97ec06cd8f52773b90eae7b3f419170edef94101d79e39316
+SIZE (ufolint-0.4.1.tar.gz) = 18201
diff --git a/x11-fonts/py-ufolint/pkg-descr b/x11-fonts/py-ufolint/pkg-descr
new file mode 100644
index 000000000000..79ac333fa8e5
--- /dev/null
+++ b/x11-fonts/py-ufolint/pkg-descr
@@ -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