git: ec60456508b6 - main - print/py-fontaine: Fix MASTER_SITES as https://github.com/freedesktop/fontconfig is gone

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 25 Jul 2024 04:20:25 UTC
The branch main has been updated by sunpoet:

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

commit ec60456508b6e756ecae47b60112113a19c0b715
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-25 04:18:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-25 04:18:23 +0000

    print/py-fontaine: Fix MASTER_SITES as https://github.com/freedesktop/fontconfig is gone
    
    - Update fontconfig to latest release
    - Bump PORTREVISION for package change
---
 print/py-fontaine/Makefile | 10 +++++++---
 print/py-fontaine/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/print/py-fontaine/Makefile b/print/py-fontaine/Makefile
index 7efad47859e4..df4e4bbfb337 100644
--- a/print/py-fontaine/Makefile
+++ b/print/py-fontaine/Makefile
@@ -1,8 +1,10 @@
 PORTNAME=	fontaine
 PORTVERSION=	1.4.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	print python
+MASTER_SITES=	https://www.freedesktop.org/software/fontconfig/release/:fontconfig
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTFILES=	fontconfig-${FONTCONFIG_VER}.tar.xz:fontconfig
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Font analysis tool for determining character/glyph support
@@ -25,12 +27,14 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+FONTCONFIG_VER=	2.15.0
+
+USE_GITHUB=	yes
 GH_ACCOUNT=	googlefonts
 GH_PROJECT=	pyfontaine
-GH_TUPLE=	freedesktop:fontconfig:2.13.93:freedesktop_fontconfig/fontaine/charsets/fontconfig
-USE_GITHUB=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py
+	@${LN} -s ${WRKSRC}/../fontconfig-${FONTCONFIG_VER}/fc-lang ${WRKSRC}/fontaine/charsets/fontconfig/fc-lang
 
 .include <bsd.port.mk>
diff --git a/print/py-fontaine/distinfo b/print/py-fontaine/distinfo
index 79c69d4d2965..146ad45ec457 100644
--- a/print/py-fontaine/distinfo
+++ b/print/py-fontaine/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1613738791
+TIMESTAMP = 1721858379
+SHA256 (fontconfig-2.15.0.tar.xz) = 63a0658d0e06e0fa886106452b58ef04f21f58202ea02a94c39de0d3335d7c0e
+SIZE (fontconfig-2.15.0.tar.xz) = 1447820
 SHA256 (googlefonts-pyfontaine-1.4.0_GH0.tar.gz) = 92215da45fed003032e5849e3d0917aaae9024e255affe9d28c67aed0223f11e
 SIZE (googlefonts-pyfontaine-1.4.0_GH0.tar.gz) = 5209007
-SHA256 (freedesktop-fontconfig-2.13.93_GH0.tar.gz) = f8452c78d1a12f6966455b0d584f89553b13e970b40644c3650f690ec0b3b4fe
-SIZE (freedesktop-fontconfig-2.13.93_GH0.tar.gz) = 542823