git: 29a860ed37a7 - main - devel/py-pyTooling: update 6.4.0 → 6.6.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 19 Sep 2024 22:17:33 UTC
The branch main has been updated by yuri:

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

commit 29a860ed37a77412c1c58c26c98fc087243f6c41
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-19 15:01:29 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-19 15:01:29 +0000

    devel/py-pyTooling: update 6.4.0 → 6.6.0
    
    Reported by:    portscout
---
 devel/py-pyTooling/Makefile                                   |  4 ++--
 devel/py-pyTooling/distinfo                                   |  6 +++---
 .../files/patch-pyTooling_TerminalUI_____init____.py          | 11 +++++++++++
 devel/py-pyTooling/files/patch-pyproject.toml                 |  8 ++++----
 4 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/devel/py-pyTooling/Makefile b/devel/py-pyTooling/Makefile
index 030909eefa2e..69cb31615f83 100644
--- a/devel/py-pyTooling/Makefile
+++ b/devel/py-pyTooling/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pyTooling
 DISTVERSIONPREFIX=	v
-DISTVERSION=	6.4.0
+DISTVERSION=	6.6.0
 CATEGORIES=	devel
 #MASTER_SITES=	PYPI # requirements.txt is missing
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -28,7 +28,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}anytree>=2.8.0:devel/py-anytree@${PY_FLAVOR
 		${PYTHON_PKGNAMEPREFIX}treelib>0:devel/py-treelib@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	pep517 autoplist pytest # 98 tests fail, see https://github.com/pyTooling/pyTooling/issues/123
+USE_PYTHON=	pep517 autoplist pytest # 44 tests fail, see https://github.com/pyTooling/pyTooling/issues/123#issuecomment-2362275029
 USE_GITHUB=	yes
 
 NO_ARCH=	yes
diff --git a/devel/py-pyTooling/distinfo b/devel/py-pyTooling/distinfo
index 986cce42ef7e..26be21289d1d 100644
--- a/devel/py-pyTooling/distinfo
+++ b/devel/py-pyTooling/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1720224103
-SHA256 (pyTooling-pyTooling-v6.4.0_GH0.tar.gz) = 790a7df3067275ab461f1deadc1c6cedaa0584354d4781a64ca888f58464ea95
-SIZE (pyTooling-pyTooling-v6.4.0_GH0.tar.gz) = 686129
+TIMESTAMP = 1726775247
+SHA256 (pyTooling-pyTooling-v6.6.0_GH0.tar.gz) = 5783818b97c63cb879d70f04094dfba5db837a164f7deb23c1a3fb946c15dee0
+SIZE (pyTooling-pyTooling-v6.6.0_GH0.tar.gz) = 696025
diff --git a/devel/py-pyTooling/files/patch-pyTooling_TerminalUI_____init____.py b/devel/py-pyTooling/files/patch-pyTooling_TerminalUI_____init____.py
new file mode 100644
index 000000000000..b84c80320fb0
--- /dev/null
+++ b/devel/py-pyTooling/files/patch-pyTooling_TerminalUI_____init____.py
@@ -0,0 +1,11 @@
+--- pyTooling/TerminalUI/__init__.py.orig	2024-09-19 21:15:21 UTC
++++ pyTooling/TerminalUI/__init__.py
+@@ -197,7 +197,7 @@ class TerminalBaseApplication(metaclass=ExtendedType, 
+ 		platform = Platform()
+ 		if platform.IsNativeWindows:
+ 			size = TerminalBaseApplication.__GetTerminalSizeOnWindows()
+-		elif (platform.IsNativeLinux or platform.IsNativeMacOS or platform.IsMinGW32OnWindows or platform.IsMinGW64OnWindows
++		elif (platform.IsNativeLinux or platform.IsNativeFreeBSD or platform.IsNativeMacOS or platform.IsMinGW32OnWindows or platform.IsMinGW64OnWindows
+ 					or platform.IsUCRT64OnWindows or platform.IsCygwin32OnWindows or platform.IsClang64OnWindows):
+ 			size = TerminalBaseApplication.__GetTerminalSizeOnLinux()
+ 		else:  # pragma: no cover
diff --git a/devel/py-pyTooling/files/patch-pyproject.toml b/devel/py-pyTooling/files/patch-pyproject.toml
index e2e375c4a552..9b471e9cf297 100644
--- a/devel/py-pyTooling/files/patch-pyproject.toml
+++ b/devel/py-pyTooling/files/patch-pyproject.toml
@@ -1,12 +1,12 @@
---- pyproject.toml.orig	2024-07-04 18:23:08 UTC
+--- pyproject.toml.orig	2024-09-18 22:07:19 UTC
 +++ pyproject.toml
 @@ -1,7 +1,7 @@ requires = [
  [build-system]
  requires = [
--  "setuptools ~= 70.0",
--  "wheel ~= 0.43",
+-  "setuptools ~= 75.1",
+-  "wheel ~= 0.44",
 +  "setuptools",
 +  "wheel",
-   "pyTooling ~= 6.3"
+   "pyTooling ~= 6.5"
  ]
  build-backend = "setuptools.build_meta"