misc/py-pyprind: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
main
Po-Chuan Hsieh 2024-05-13 22:04:02 +08:00
parent 2720f4a3e5
commit b62faa9f19
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 14 additions and 2 deletions

View File

@ -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

View File

@ -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',