Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:21:19 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d636745677f4 - main - math/py-plastex: Convert to USE_PYTHON=pep517
Message-ID:  <202405131421.44DELJN6004859@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit d636745677f401ef592731e1571f892219aa5c5c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:03:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:03:23 +0000

    math/py-plastex: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 math/py-plastex/Makefile              | 5 ++++-
 math/py-plastex/files/patch-setup.cfg | 9 +++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/math/py-plastex/Makefile b/math/py-plastex/Makefile
index 69e8cc74e355..f1dc6f8791ff 100644
--- a/math/py-plastex/Makefile
+++ b/math/py-plastex/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	plastex
 PORTVERSION=	3.1
+PORTREVISION=	1
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +13,15 @@ WWW=		https://github.com/plastex/plastex
 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}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pillow>=7:graphics/py-pillow@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7:devel/py-typing-extensions@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}unidecode>=0.4.21:converters/py-unidecode@${PY_FLAVOR}
 
 USES=		python tex
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 USE_TEX=	base:run
 
 NO_ARCH=	yes
diff --git a/math/py-plastex/files/patch-setup.cfg b/math/py-plastex/files/patch-setup.cfg
new file mode 100644
index 000000000000..6821c257f515
--- /dev/null
+++ b/math/py-plastex/files/patch-setup.cfg
@@ -0,0 +1,9 @@
+--- setup.cfg.orig	2024-01-30 19:56:20 UTC
++++ setup.cfg
+@@ -1,5 +1,5 @@
+ [metadata]
+-name = plasTeX
++name = plastex
+ description = LaTeX document processing framework
+ long_description = file: README.md
+ long_description_content_type = text/markdown



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405131421.44DELJN6004859>