From 5eaf947e651513eaffc3699d14fbd9d53dad6b0d Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Sun, 16 Dec 2018 18:25:38 +0000 Subject: [PATCH] Add x11-fonts/py-ufoLib, Low-level Unified Font Object (UFO) reader and writer PR: 228027 Submitted by: Ting-Wei Lan --- x11-fonts/Makefile | 1 + x11-fonts/py-ufoLib/Makefile | 29 +++++++++++++++++++++++++++++ x11-fonts/py-ufoLib/distinfo | 3 +++ x11-fonts/py-ufoLib/pkg-descr | 4 ++++ 4 files changed, 37 insertions(+) create mode 100644 x11-fonts/py-ufoLib/Makefile create mode 100644 x11-fonts/py-ufoLib/distinfo create mode 100644 x11-fonts/py-ufoLib/pkg-descr diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 1a0324ddfcd3..f01a06bdd998 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -171,6 +171,7 @@ SUBDIR += psftools SUBDIR += py-QtAwesome SUBDIR += py-bdflib + SUBDIR += py-ufoLib SUBDIR += raleway SUBDIR += roboto-fonts-ttf SUBDIR += sgifonts diff --git a/x11-fonts/py-ufoLib/Makefile b/x11-fonts/py-ufoLib/Makefile new file mode 100644 index 000000000000..8a66071f097e --- /dev/null +++ b/x11-fonts/py-ufoLib/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= ufoLib +PORTVERSION= 2.3.2 +CATEGORIES= x11-fonts python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= lantw44@gmail.com +COMMENT= Low-level Unified Font Object (UFO) reader and writer + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.1.2:print/py-fonttools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>=4.0:devel/py-lxml@${PY_FLAVOR} + +USES= python zip +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 3400 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>=3.4.0.3:devel/py-singledispatch@${PY_FLAVOR} +.endif + +.include diff --git a/x11-fonts/py-ufoLib/distinfo b/x11-fonts/py-ufoLib/distinfo new file mode 100644 index 000000000000..15800efca29a --- /dev/null +++ b/x11-fonts/py-ufoLib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1540712987 +SHA256 (ufoLib-2.3.2.zip) = 2bc337a78b104e554e3e75c7c99fa1c8b305e2f82022743a34d5c77e2bca29e5 +SIZE (ufoLib-2.3.2.zip) = 125009 diff --git a/x11-fonts/py-ufoLib/pkg-descr b/x11-fonts/py-ufoLib/pkg-descr new file mode 100644 index 000000000000..f69076e2ec75 --- /dev/null +++ b/x11-fonts/py-ufoLib/pkg-descr @@ -0,0 +1,4 @@ +Unified Font Object (UFO) is a cross-platform, human-readable, future-proof +format for storing font data. ufoLib is a low-level reader and writer for it. + +WWW: http://unifiedfontobject.org/