aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-12-30 08:36:13 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-12-30 09:04:00 +0000
commitc75c48c78bdebad44fa1a8f6fbb5d9cf373457da (patch)
treee0410f92ee346f03b6330a894e6c802fa38331af
parentd69de92defd8933830dbe0498c3c49b59fa6ea65 (diff)
downloadports-c75c48c78bdebad44fa1a8f6fbb5d9cf373457da.tar.gz
ports-c75c48c78bdebad44fa1a8f6fbb5d9cf373457da.zip
print/py-freetype-py: Add py-freetype-py 2.3.0
Freetype Python provides bindings for the FreeType library. Only the high-level API is bound.
-rw-r--r--print/Makefile1
-rw-r--r--print/py-freetype-py/Makefile22
-rw-r--r--print/py-freetype-py/distinfo3
-rw-r--r--print/py-freetype-py/pkg-descr2
4 files changed, 28 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index d82d6d349d4a..3e4db1f41e23 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -179,6 +179,7 @@
SUBDIR += py-fontpens
SUBDIR += py-fonttools
SUBDIR += py-fpdf
+ SUBDIR += py-freetype-py
SUBDIR += py-frescobaldi
SUBDIR += py-glyphsets
SUBDIR += py-glyphtools
diff --git a/print/py-freetype-py/Makefile b/print/py-freetype-py/Makefile
new file mode 100644
index 000000000000..a7ffd6c16d66
--- /dev/null
+++ b/print/py-freetype-py/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= freetype-py
+PORTVERSION= 2.3.0
+CATEGORIES= print python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Freetype python bindings
+WWW= https://github.com/rougier/freetype-py
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+LIB_DEPENDS= libfreetype.so:print/freetype2
+
+USES= python:3.7+ zip
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/print/py-freetype-py/distinfo b/print/py-freetype-py/distinfo
new file mode 100644
index 000000000000..788e7c4d9da8
--- /dev/null
+++ b/print/py-freetype-py/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1669057513
+SHA256 (freetype-py-2.3.0.zip) = f9b64ce3272a5c358dcee824800a32d70997fb872a0965a557adca20fce7a5d0
+SIZE (freetype-py-2.3.0.zip) = 830613
diff --git a/print/py-freetype-py/pkg-descr b/print/py-freetype-py/pkg-descr
new file mode 100644
index 000000000000..c7822781953f
--- /dev/null
+++ b/print/py-freetype-py/pkg-descr
@@ -0,0 +1,2 @@
+Freetype Python provides bindings for the FreeType library. Only the high-level
+API is bound.