git: a6183fe086a6 - main - graphics/py-ManimPango: update 0.4.3 → 0.5.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 15 Oct 2023 08:28:24 UTC
The branch main has been updated by yuri:

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

commit a6183fe086a682f0099ac06aaacbfb4e75222777
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-10-15 05:12:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-10-15 08:28:17 +0000

    graphics/py-ManimPango: update 0.4.3 → 0.5.0
    
    Reported by:    portscout
---
 graphics/py-ManimPango/Makefile                         |  5 +++--
 graphics/py-ManimPango/distinfo                         |  6 +++---
 graphics/py-ManimPango/files/patch-pyproject.toml       | 10 ++++++++++
 graphics/py-ManimPango/files/patch-requirements-dev.txt |  9 +++++++++
 4 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/graphics/py-ManimPango/Makefile b/graphics/py-ManimPango/Makefile
index 9fbd35f2c906..1c4880d121fe 100644
--- a/graphics/py-ManimPango/Makefile
+++ b/graphics/py-ManimPango/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ManimPango
-DISTVERSION=	0.4.3
+DISTVERSION=	0.5.0
 CATEGORIES=	graphics
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,12 +10,13 @@ WWW=		https://manimpango.manim.community/en/latest/
 
 LICENSE=	MIT
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
 		libharfbuzz.so:print/harfbuzz
 
 USES=		gettext-runtime gnome pkgconfig python
-USE_PYTHON=	distutils cython autoplist pytest # tests fail to import manimpango, see https://github.com/ManimCommunity/ManimPango/issues/99
+USE_PYTHON=	pep517 cython autoplist pytest # tests fail to import manimpango, see https://github.com/ManimCommunity/ManimPango/issues/99
 USE_GNOME=	cairo glib20 pango
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/graphics/py-ManimPango/distinfo b/graphics/py-ManimPango/distinfo
index f0c0432a95d9..39bfc1a96b95 100644
--- a/graphics/py-ManimPango/distinfo
+++ b/graphics/py-ManimPango/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674237306
-SHA256 (ManimPango-0.4.3.tar.gz) = 732f1cb98bcc122c0dee93bb54966aa595f90730e5096ad6d86602cf4ba1a103
-SIZE (ManimPango-0.4.3.tar.gz) = 4076306
+TIMESTAMP = 1697345172
+SHA256 (ManimPango-0.5.0.tar.gz) = 299913bbccb0f15954b64401cf9df24607e1a01edda589ea77de1ed4cc2bc284
+SIZE (ManimPango-0.5.0.tar.gz) = 4076375
diff --git a/graphics/py-ManimPango/files/patch-pyproject.toml b/graphics/py-ManimPango/files/patch-pyproject.toml
new file mode 100644
index 000000000000..191c3cdab2cd
--- /dev/null
+++ b/graphics/py-ManimPango/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+--- pyproject.toml.orig	2023-10-15 04:53:07 UTC
++++ pyproject.toml
+@@ -1,6 +1,6 @@
+ [build-system]
+ build-backend = "setuptools.build_meta"
+-requires = ["Cython>=3.0.2", "setuptools>=59.2.0", "wheel"]
++requires = ["Cython>0", "setuptools>=59.2.0", "wheel"]
+ 
+ [tool.isort]
+ # from https://black.readthedocs.io/en/stable/compatible_configs.html
diff --git a/graphics/py-ManimPango/files/patch-requirements-dev.txt b/graphics/py-ManimPango/files/patch-requirements-dev.txt
new file mode 100644
index 000000000000..c16bc2ee6151
--- /dev/null
+++ b/graphics/py-ManimPango/files/patch-requirements-dev.txt
@@ -0,0 +1,9 @@
+--- requirements-dev.txt.orig	2023-10-15 04:52:20 UTC
++++ requirements-dev.txt
+@@ -1,5 +1,5 @@
+ pytest-cov>=4.0,<5.0
+ pytest>=7.0.0,<8.0.0
+-Cython>=3.0.2
++Cython>0
+ coverage>=7.3.2,<8.0.0
+ setuptools>=59.2.0