Skip to content

Commit

Permalink
misc/py-pyprind: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed May 13, 2024
1 parent 2720f4a commit b62faa9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 4 additions & 1 deletion misc/py-pyprind/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= pyprind
PORTVERSION= 2.11.3
PORTREVISION= 1
CATEGORIES= misc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -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

Expand Down
11 changes: 10 additions & 1 deletion misc/py-pyprind/files/patch-setup.py
Original file line number Diff line number Diff line change
@@ -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',
Expand Down

0 comments on commit b62faa9

Please sign in to comment.