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

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

- Update fontconfig to latest release
- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-07-25 12:18:23 +08:00
parent 57d57ab258
commit ec60456508
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 10 additions and 6 deletions

View File

@ -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>

View File

@ -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