1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11-fonts/py-fclist-cffi: Add new port

Python cffi bridge to fontconfig's FcFontList/FcFontMatch.

Useful for python programs that need to query information about fonts
installed in the system (use this instead of parsing fc-list output).
Requires the fontconfig shared library installed in a directory that
the cffi module can find.

https://github.com/MonsieurV/python-fclist
This commit is contained in:
Nicola Vitale 2024-10-04 23:01:24 +02:00
parent 7a3215f732
commit d16f34bd07
No known key found for this signature in database
GPG Key ID: A51E190C4C0808D0
4 changed files with 30 additions and 0 deletions

View File

@ -288,6 +288,7 @@
SUBDIR += py-compreffor
SUBDIR += py-cu2qu
SUBDIR += py-defcon
SUBDIR += py-fclist-cffi
SUBDIR += py-fontMath
SUBDIR += py-fontfeatures
SUBDIR += py-fontmake

View File

@ -0,0 +1,20 @@
PORTNAME= fclist-cffi
DISTVERSION= 1.1.2
CATEGORIES= x11-fonts python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python cffi bridge to fontconfig's FcFontList/FcFontMatch
WWW= https://github.com/MonsieurV/python-fclist
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.17.1:devel/py-cffi@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1727165846
SHA256 (fclist-cffi-1.1.2.tar.gz) = 1bb3c039156b8b1913b9e582d4a8f1a48b3d8ea56e5152d604c020874a7e779a
SIZE (fclist-cffi-1.1.2.tar.gz) = 3691

View File

@ -0,0 +1,6 @@
Python cffi bridge to fontconfig's FcFontList/FcFontMatch.
Useful for python programs that need to query information about fonts installed
in the system (use this instead of parsing fc-list output). Requires the
fontconfig shared library installed in a directory that the cffi module can
find.