git: ecd5c6e8adfa - main - textproc/py-markuppy: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 13 May 2024 14:23:39 UTC
The branch main has been updated by sunpoet:

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

commit ecd5c6e8adfa5d7fd56b9b5e82f4674a0806fb87
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:09:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:09:31 +0000

    textproc/py-markuppy: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 textproc/py-markuppy/Makefile             |  6 +++++-
 textproc/py-markuppy/files/patch-setup.py | 11 +++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/textproc/py-markuppy/Makefile b/textproc/py-markuppy/Makefile
index d023f81e16fb..df321d19888b 100644
--- a/textproc/py-markuppy/Makefile
+++ b/textproc/py-markuppy/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	markuppy
 PORTVERSION=	1.14
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/tylerbakke/MarkupPy
 
 LICENSE=	MIT
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/textproc/py-markuppy/files/patch-setup.py b/textproc/py-markuppy/files/patch-setup.py
new file mode 100644
index 000000000000..dd40d548d929
--- /dev/null
+++ b/textproc/py-markuppy/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2017-08-01 22:50:09 UTC
++++ setup.py
+@@ -1,7 +1,7 @@ import textwrap
+ from setuptools import setup
+ import textwrap
+ 
+-setup(name='MarkupPy',
++setup(name='markuppy',
+       version='1.14',
+       description='An HTML/XML generator',
+       url='https://github.com/tylerbakke/MarkupPy',