Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 07:21:04 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: 9e8fbe04ba2e - main - textproc/py-terminaltables: Convert to USE_PYTHON=pep517
Message-ID:  <202306300721.35U7L4lA077213@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=9e8fbe04ba2ed65f94ad48bb8f44033a7b5575ca

commit 9e8fbe04ba2ed65f94ad48bb8f44033a7b5575ca
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:05:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:05:36 +0000

    textproc/py-terminaltables: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 textproc/py-terminaltables/Makefile                   |  5 ++++-
 textproc/py-terminaltables/files/patch-pyproject.toml | 10 ++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/textproc/py-terminaltables/Makefile b/textproc/py-terminaltables/Makefile
index dd3da88aa552..5d372279cf00 100644
--- a/textproc/py-terminaltables/Makefile
+++ b/textproc/py-terminaltables/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	terminaltables
 PORTVERSION=	3.1.10
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,10 @@ WWW=		https://github.com/matthewdeanmartin/terminaltables
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/textproc/py-terminaltables/files/patch-pyproject.toml b/textproc/py-terminaltables/files/patch-pyproject.toml
new file mode 100644
index 000000000000..7730edd3cc11
--- /dev/null
+++ b/textproc/py-terminaltables/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+--- pyproject.toml.orig	2021-12-07 19:03:34 UTC
++++ pyproject.toml
+@@ -62,5 +62,5 @@ python = ">=2.6 || >=3.0"
+ pytest = "==6.0.1"
+ 
+ [build-system]
+-requires = ["poetry>=0.12"]
+-build-backend = "poetry.masonry.api"
++requires = ["poetry-core>=1.0.0"]
++build-backend = "poetry.core.masonry.api"



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