aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Froehlich <decke@FreeBSD.org>2024-11-03 15:01:29 +0000
committerBernhard Froehlich <decke@FreeBSD.org>2024-11-03 15:01:29 +0000
commit7fe6f5208eba8ef9fc1dd6c5e24c38fb118c87af (patch)
treece2f21147594416c54955c27fa96455d1698e8b7
parenta27ee53ee549b0b15a31f8df8345eabb5adbb979 (diff)
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/py-pangocffi/Makefile22
-rw-r--r--x11-toolkits/py-pangocffi/distinfo3
-rw-r--r--x11-toolkits/py-pangocffi/pkg-descr5
4 files changed, 31 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 69f759fc7b06..550af5ae7bf9 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -175,6 +175,7 @@
SUBDIR += py-fltk
SUBDIR += py-guietta
SUBDIR += py-kivy
+ SUBDIR += py-pangocffi
SUBDIR += py-python-xlib
SUBDIR += py-qt5-chart
SUBDIR += py-qt5-datavis3d
diff --git a/x11-toolkits/py-pangocffi/Makefile b/x11-toolkits/py-pangocffi/Makefile
new file mode 100644
index 000000000000..049f0d650a2e
--- /dev/null
+++ b/x11-toolkits/py-pangocffi/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= pangocffi
+PORTVERSION= 0.13.0
+CATEGORIES= x11-toolkits python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= decke@FreeBSD.org
+COMMENT= Python CFFI bindings for pango
+WWW= https://github.com/leifgehrmann/pangocffi
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${PY_FLAVOR}
+LIB_DEPENDS= libpango-1.0.so:x11-toolkits/pango
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${PY_FLAVOR}
+
+USES= localbase python
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/py-pangocffi/distinfo b/x11-toolkits/py-pangocffi/distinfo
new file mode 100644
index 000000000000..765f46b71ee8
--- /dev/null
+++ b/x11-toolkits/py-pangocffi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726836770
+SHA256 (pangocffi-0.13.0.tar.gz) = 5dbd440c39c8e01d8c675316837029013488a5bf1b11527133721f65bb14b7b6
+SIZE (pangocffi-0.13.0.tar.gz) = 47358
diff --git a/x11-toolkits/py-pangocffi/pkg-descr b/x11-toolkits/py-pangocffi/pkg-descr
new file mode 100644
index 000000000000..13c91bd18313
--- /dev/null
+++ b/x11-toolkits/py-pangocffi/pkg-descr
@@ -0,0 +1,5 @@
+pangocffi is a CFFI-based set of Python bindings for pango.
+
+pangocffi on its own is not that useful, since it depends on a PangoFontMap
+being declared against the PangoContext. PangoFontMap instances can easily be
+retrieved from libraries such as PangoCairo, PangoXft, PangoFT2, and PangoWin32