git: 01460e343953 - main - archivers/py-compressed-rtf: Update 1.0.6 => 1.0.7

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sun, 20 Apr 2025 19:49:14 UTC
The branch main has been updated by vvd:

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

commit 01460e343953f4d821d0e0c0f121cd88706c1760
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2025-04-20 19:46:11 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-04-20 19:46:11 +0000

    archivers/py-compressed-rtf: Update 1.0.6 => 1.0.7
    
    ChangeLog:
    https://github.com/delimitry/compressed_rtf/releases/tag/1.0.7
    
    PR:     286245
---
 archivers/py-compressed-rtf/Makefile                   |  8 +++++---
 archivers/py-compressed-rtf/distinfo                   |  6 +++---
 archivers/py-compressed-rtf/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/archivers/py-compressed-rtf/Makefile b/archivers/py-compressed-rtf/Makefile
index 61e08fc95206..aea6b4433d38 100644
--- a/archivers/py-compressed-rtf/Makefile
+++ b/archivers/py-compressed-rtf/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	compressed-rtf
-PORTVERSION=	1.0.6
-PORTREVISION=	1
+DISTVERSION=	1.0.7
 CATEGORIES=	archivers python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +12,11 @@ WWW=		https://github.com/delimitry/compressed_rtf
 LICENSE=	MIT
 LICENSE_FILE=	${FILESDIR}/LICENSE
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
diff --git a/archivers/py-compressed-rtf/distinfo b/archivers/py-compressed-rtf/distinfo
index 5b4c67b0bf5e..2d44fc054dbc 100644
--- a/archivers/py-compressed-rtf/distinfo
+++ b/archivers/py-compressed-rtf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659929116
-SHA256 (compressed_rtf-1.0.6.tar.gz) = c1c827f1d124d24608981a56e8b8691eb1f2a69a78ccad6440e7d92fde1781dd
-SIZE (compressed_rtf-1.0.6.tar.gz) = 5800
+TIMESTAMP = 1745171570
+SHA256 (compressed_rtf-1.0.7.tar.gz) = 7c30859334839f3cdc7d10796af5b434bb326b9df7cb5a65e95a8eacb2951b0e
+SIZE (compressed_rtf-1.0.7.tar.gz) = 8152
diff --git a/archivers/py-compressed-rtf/files/patch-pyproject.toml b/archivers/py-compressed-rtf/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f9a40f946f1f
--- /dev/null
+++ b/archivers/py-compressed-rtf/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2025-04-20 18:00:54 UTC
++++ pyproject.toml
+@@ -7,7 +7,7 @@ readme = "README.md"
+ dynamic = ["version"]
+ description = "Compressed Rich Text Format (RTF) compression and decompression package"
+ readme = "README.md"
+-license = "MIT"
++license = { text="MIT" }
+ authors = [
+     { name = "Dmitry Alimov" },
+ ]