git: a3082efcd463 - main - x11-fonts/py-FindSystemFontsFilename: Add new port

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Sun, 06 Oct 2024 16:38:20 UTC
The branch main has been updated by nivit:

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

commit a3082efcd463f35036c9435ed729cf588221d790
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2024-10-06 16:34:38 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-10-06 16:34:38 +0000

    x11-fonts/py-FindSystemFontsFilename: Add new port
    
    This Python module allows you to get the font filename on your system.
    It will collect TrueType (.ttf), OpenType (.otf), TrueType Collection (.ttc)
    and OpenType Collection (.otc) font format.
    
    https://github.com/moi15moi/FindSystemFontsFilename/
---
 x11-fonts/Makefile                             |  1 +
 x11-fonts/py-FindSystemFontsFilename/Makefile  | 23 +++++++++++++++++++++++
 x11-fonts/py-FindSystemFontsFilename/distinfo  |  3 +++
 x11-fonts/py-FindSystemFontsFilename/pkg-descr |  3 +++
 4 files changed, 30 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 8f3de42181e3..15ddc8f94aa0 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -278,6 +278,7 @@
     SUBDIR += proggy_fonts
     SUBDIR += proggy_fonts-ttf
     SUBDIR += psftools
+    SUBDIR += py-FindSystemFontsFilename
     SUBDIR += py-QtAwesome
     SUBDIR += py-afdko
     SUBDIR += py-axisregistry
diff --git a/x11-fonts/py-FindSystemFontsFilename/Makefile b/x11-fonts/py-FindSystemFontsFilename/Makefile
new file mode 100644
index 000000000000..480e42a332e5
--- /dev/null
+++ b/x11-fonts/py-FindSystemFontsFilename/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	FindSystemFontsFilename
+DISTVERSION=	0.3.1
+CATEGORIES=	x11-fonts python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:tl}-${DISTVERSION}
+
+MAINTAINER=	nivit@FreeBSD.org
+COMMENT=	Find the system fonts filename
+WWW=		https://github.com/moi15moi/FindSystemFontsFilename/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PKGNAMEPREFIX}wheel>=0.44.0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/py-FindSystemFontsFilename/distinfo b/x11-fonts/py-FindSystemFontsFilename/distinfo
new file mode 100644
index 000000000000..710f85ce8c88
--- /dev/null
+++ b/x11-fonts/py-FindSystemFontsFilename/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728227413
+SHA256 (findsystemfontsfilename-0.3.1.tar.gz) = 04551e69a4b5b7a778cc7301adfbff0813f85c606827428ba9901f27a7770c40
+SIZE (findsystemfontsfilename-0.3.1.tar.gz) = 20377
diff --git a/x11-fonts/py-FindSystemFontsFilename/pkg-descr b/x11-fonts/py-FindSystemFontsFilename/pkg-descr
new file mode 100644
index 000000000000..047ee0bc931e
--- /dev/null
+++ b/x11-fonts/py-FindSystemFontsFilename/pkg-descr
@@ -0,0 +1,3 @@
+This Python module allows you to get the font filename on your system. It will
+collect TrueType (.ttf), OpenType (.otf), TrueType Collection (.ttc) and
+OpenType Collection (.otc) font format.