git: c75c48c78bde - main - print/py-freetype-py: Add py-freetype-py 2.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Dec 2022 09:07:55 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c75c48c78bdebad44fa1a8f6fbb5d9cf373457da
commit c75c48c78bdebad44fa1a8f6fbb5d9cf373457da
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-12-30 08:36:13 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-12-30 09:04:00 +0000
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.
---
print/Makefile | 1 +
print/py-freetype-py/Makefile | 22 ++++++++++++++++++++++
print/py-freetype-py/distinfo | 3 +++
print/py-freetype-py/pkg-descr | 2 ++
4 files changed, 28 insertions(+)
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.