Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:17:22 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: 00467b568ac2 - main - devel/py-ptable: Convert to USE_PYTHON=pep517
Message-ID:  <202405131417.44DEHMGi085813@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=00467b568ac21fe3429efacd759b17e82822d1fc

commit 00467b568ac21fe3429efacd759b17e82822d1fc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 13:59:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 13:59:23 +0000

    devel/py-ptable: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-ptable/Makefile             |  7 +++++--
 devel/py-ptable/files/patch-setup.py | 11 +++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/devel/py-ptable/Makefile b/devel/py-ptable/Makefile
index 23162c1ed4f0..7aad6a15d0b0 100644
--- a/devel/py-ptable/Makefile
+++ b/devel/py-ptable/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ptable
 PORTVERSION=	0.9.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +13,11 @@ WWW=		https://github.com/kxxoling/PTable
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+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/devel/py-ptable/files/patch-setup.py b/devel/py-ptable/files/patch-setup.py
new file mode 100644
index 000000000000..c4b0b8cbf1b0
--- /dev/null
+++ b/devel/py-ptable/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2015-05-12 03:04:29 UTC
++++ setup.py
+@@ -9,7 +9,7 @@ setup(
+ 
+ 
+ setup(
+-    name='PTable',
++    name='ptable',
+     version=version,
+     include_package_data=True,
+     zip_safe=False,



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