Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:21:32 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: b62faa9f1984 - main - misc/py-pyprind: Convert to USE_PYTHON=pep517
Message-ID:  <202405131421.44DELW8e005348@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=b62faa9f1984c9a24b4b797e784391e27693a9ab

commit b62faa9f1984c9a24b4b797e784391e27693a9ab
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:04:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:04:02 +0000

    misc/py-pyprind: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 misc/py-pyprind/Makefile             |  5 ++++-
 misc/py-pyprind/files/patch-setup.py | 11 ++++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/misc/py-pyprind/Makefile b/misc/py-pyprind/Makefile
index b27231b35dfd..4f09d5d94638 100644
--- a/misc/py-pyprind/Makefile
+++ b/misc/py-pyprind/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pyprind
 PORTVERSION=	2.11.3
+PORTREVISION=	1
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +13,12 @@ WWW=		https://github.com/rasbt/pyprind
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>=3.2.0:sysutils/py-psutil@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils nose
+USE_PYTHON=	autoplist concurrent pep517 nose
 
 NO_ARCH=	yes
 
diff --git a/misc/py-pyprind/files/patch-setup.py b/misc/py-pyprind/files/patch-setup.py
index 05a5b6ba64c2..81fc483fd61c 100644
--- a/misc/py-pyprind/files/patch-setup.py
+++ b/misc/py-pyprind/files/patch-setup.py
@@ -1,5 +1,14 @@
---- setup.py.orig	2016-04-14 15:46:12 UTC
+--- setup.py.orig	2021-04-18 17:12:43 UTC
 +++ setup.py
+@@ -16,7 +16,7 @@ VERSION = pyprind.__version__
+ 
+ VERSION = pyprind.__version__
+ 
+-setup(name='PyPrind',
++setup(name='pyprind',
+       version=VERSION,
+       description='Python Progress Bar and Percent Indicator Utility',
+       author='Sebastian Raschka',
 @@ -39,6 +39,7 @@ setup(name='PyPrind',
            'Programming Language :: Python :: 2.7',
            'Programming Language :: Python :: 3',



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