git: 93bff23f327f - main - textproc/py-python-pptx: Update 0.6.23 → 1.0.2

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Mon, 19 Aug 2024 00:08:28 UTC
The branch main has been updated by vvd:

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

commit 93bff23f327fa64ff6ed14f7824a9b643f85da10
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2024-08-18 23:54:32 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-19 00:08:17 +0000

    textproc/py-python-pptx: Update 0.6.23 → 1.0.2
    
    Changelog:
      1.0.2 (2024-08-07)
        fix: #1003 restore read-only enum members
      1.0.1 (2024-08-05)
        fix: #1000 add py.typed
      1.0.0 (2024-08-03)
        fix: #929 raises on JPEG with image/jpg MIME-type
        fix: #943 remove mention of a Px Length subtype
        fix: #972 next-slide-id fails in rare cases
        fix: #990 do not require strict timestamps for Zip
        Add type annotations
    https://github.com/scanny/python-pptx/blob/v1.0.2/HISTORY.rst
    
    PR:     280908
---
 textproc/py-python-pptx/Makefile | 7 +++++--
 textproc/py-python-pptx/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/textproc/py-python-pptx/Makefile b/textproc/py-python-pptx/Makefile
index 748416e150d5..0651526b7691 100644
--- a/textproc/py-python-pptx/Makefile
+++ b/textproc/py-python-pptx/Makefile
@@ -1,8 +1,9 @@
 PORTNAME=	python-pptx
-PORTVERSION=	0.6.23
+DISTVERSION=	1.0.2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	python_pptx-${DISTVERSION}
 
 MAINTAINER=	DtxdF@disroot.org
 COMMENT=	Generate and manipulate Open XML PowerPoint (.pptx) files
@@ -11,6 +12,8 @@ WWW=		https://github.com/scanny/python-pptx
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=3.1.0:devel/py-lxml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pillow>=3.3.2:graphics/py-pillow@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}XlsxWriter>=0.5.7:textproc/py-xlsxwriter@${PY_FLAVOR}
@@ -19,7 +22,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}behave>0:devel/py-behave@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils pytest
+USE_PYTHON=	autoplist pep517 pytest
 
 NO_ARCH=	yes
 
diff --git a/textproc/py-python-pptx/distinfo b/textproc/py-python-pptx/distinfo
index da9dddcb7ae2..6d1dbbf8e075 100644
--- a/textproc/py-python-pptx/distinfo
+++ b/textproc/py-python-pptx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1701726878
-SHA256 (python-pptx-0.6.23.tar.gz) = 587497ff28e779ab18dbb074f6d4052893c85dedc95ed75df319364f331fedee
-SIZE (python-pptx-0.6.23.tar.gz) = 10083771
+TIMESTAMP = 1723991751
+SHA256 (python_pptx-1.0.2.tar.gz) = 479a8af0eaf0f0d76b6f00b0887732874ad2e3188230315290cd1f9dd9cc7095
+SIZE (python_pptx-1.0.2.tar.gz) = 10109297