Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2024 15:03:14 GMT
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7fe6f5208eba - main - x11-toolkits/py-pangocffi: New Port: Python CFFI bindings for pango
Message-ID:  <202411031503.4A3F3ETi004720@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by decke:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7fe6f5208eba8ef9fc1dd6c5e24c38fb118c87af

commit 7fe6f5208eba8ef9fc1dd6c5e24c38fb118c87af
Author:     Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2024-11-03 15:01:29 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2024-11-03 15:01:29 +0000

    x11-toolkits/py-pangocffi: New Port: Python CFFI bindings for pango
---
 x11-toolkits/Makefile               |  1 +
 x11-toolkits/py-pangocffi/Makefile  | 22 ++++++++++++++++++++++
 x11-toolkits/py-pangocffi/distinfo  |  3 +++
 x11-toolkits/py-pangocffi/pkg-descr |  5 +++++
 4 files changed, 31 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411031503.4A3F3ETi004720>