aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-16 15:12:55 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-16 15:23:47 +0000
commit4835e81fa41da2f5f1fdc32e6c2b4901b61dd629 (patch)
tree3aa2c2ac8a195872df1ffb2cf1c234fae1ed0fca
parent730d2ebaf0d302e05a4db41edb8b891ef4017fde (diff)
downloadports-4835e81fa41da2f5f1fdc32e6c2b4901b61dd629.tar.gz
ports-4835e81fa41da2f5f1fdc32e6c2b4901b61dd629.zip
print/py-glyphtools: Add py-glyphtools 0.7.1
glyphtools provides routines for extracting information from font glyphs. WWW: https://github.com/simoncozens/glyphtools
-rw-r--r--print/Makefile1
-rw-r--r--print/py-glyphtools/Makefile24
-rw-r--r--print/py-glyphtools/distinfo3
-rw-r--r--print/py-glyphtools/pkg-descr3
4 files changed, 31 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 77081bf1b66e..a0ab32b9ea00 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -180,6 +180,7 @@
SUBDIR += py-fonttools3
SUBDIR += py-fpdf
SUBDIR += py-frescobaldi
+ SUBDIR += py-glyphtools
SUBDIR += py-pdf
SUBDIR += py-pdf2
SUBDIR += py-pollyreports
diff --git a/print/py-glyphtools/Makefile b/print/py-glyphtools/Makefile
new file mode 100644
index 000000000000..acf32ad28a10
--- /dev/null
+++ b/print/py-glyphtools/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= glyphtools
+PORTVERSION= 0.7.1
+CATEGORIES= print python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Routines for extracting information from fontTools glyphs
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}babelfont>=0.2.0:x11-fonts/py-babelfont@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}beziers>=0:graphics/py-beziers@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}glyphsLib>=0:x11-fonts/py-glyphsLib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/print/py-glyphtools/distinfo b/print/py-glyphtools/distinfo
new file mode 100644
index 000000000000..82ee0a9f0d4e
--- /dev/null
+++ b/print/py-glyphtools/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1620928543
+SHA256 (glyphtools-0.7.1.tar.gz) = 06edd7016a4da2a69ef11d4e18101f6d3c096d95b19ded91b359b90184d0aa2b
+SIZE (glyphtools-0.7.1.tar.gz) = 20328
diff --git a/print/py-glyphtools/pkg-descr b/print/py-glyphtools/pkg-descr
new file mode 100644
index 000000000000..40cbe0b714a4
--- /dev/null
+++ b/print/py-glyphtools/pkg-descr
@@ -0,0 +1,3 @@
+glyphtools provides routines for extracting information from font glyphs.
+
+WWW: https://github.com/simoncozens/glyphtools