devel/py-threadpoolctl: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
This commit is contained in:
parent
c21f170717
commit
6e5636cae4
2 changed files with 4 additions and 18 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= threadpoolctl
|
||||
PORTVERSION= 3.1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -11,12 +12,11 @@ WWW= https://github.com/joblib/threadpoolctl
|
|||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=0:devel/py-flit-core@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
post-patch:
|
||||
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
# setup.py generated by flit for tools that don't yet use PEP 517
|
||||
|
||||
from distutils.core import setup
|
||||
|
||||
setup(name='threadpoolctl',
|
||||
version='%%PORTVERSION%%',
|
||||
description='threadpoolctl',
|
||||
author='Thomas Moreau',
|
||||
author_email='thomas.moreau.2010@gmail.com',
|
||||
url='https://github.com/joblib/threadpoolctl',
|
||||
py_modules=['threadpoolctl'],
|
||||
python_requires='>=3.6',
|
||||
)
|
Loading…
Reference in a new issue