Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2023 21:20:41 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 417f0b2f5601 - main - print/py-freetype-py: Update to 2.4.0
Message-ID:  <202305072120.347LKfJ1049469@gitrepo.freebsd.org>

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

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

commit 417f0b2f56012c1d0830f744f5f97baf7667d148
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-07 21:13:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-07 21:13:48 +0000

    print/py-freetype-py: Update to 2.4.0
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/rougier/freetype-py/releases
---
 print/py-freetype-py/Makefile                   | 9 ++++++---
 print/py-freetype-py/distinfo                   | 6 +++---
 print/py-freetype-py/files/patch-pyproject.toml | 6 ++++++
 3 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/print/py-freetype-py/Makefile b/print/py-freetype-py/Makefile
index 9f2af240e63d..147fa86432d5 100644
--- a/print/py-freetype-py/Makefile
+++ b/print/py-freetype-py/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	freetype-py
-PORTVERSION=	2.3.0
+PORTVERSION=	2.4.0
 CATEGORIES=	print python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +11,14 @@ WWW=		https://github.com/rougier/freetype-py
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=	libfreetype.so:print/freetype2
 
 USES=		python:3.7+ zip
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/print/py-freetype-py/distinfo b/print/py-freetype-py/distinfo
index 788e7c4d9da8..378dfa8033b9 100644
--- a/print/py-freetype-py/distinfo
+++ b/print/py-freetype-py/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669057513
-SHA256 (freetype-py-2.3.0.zip) = f9b64ce3272a5c358dcee824800a32d70997fb872a0965a557adca20fce7a5d0
-SIZE (freetype-py-2.3.0.zip) = 830613
+TIMESTAMP = 1683478922
+SHA256 (freetype-py-2.4.0.zip) = 8ad81195d2f8f339aba61700cebfbd77defad149c51f59b75a2a5e37833ae12e
+SIZE (freetype-py-2.4.0.zip) = 832493
diff --git a/print/py-freetype-py/files/patch-pyproject.toml b/print/py-freetype-py/files/patch-pyproject.toml
new file mode 100644
index 000000000000..dd8f9fb52fe9
--- /dev/null
+++ b/print/py-freetype-py/files/patch-pyproject.toml
@@ -0,0 +1,6 @@
+--- pyproject.toml.orig	2023-05-04 03:28:06 UTC
++++ pyproject.toml
+@@ -1,2 +1,2 @@
+ [build-system]
+-requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4", "certifi", "cmake"]
++requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4", "certifi"]



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