devel/py-twine: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for dependency and package change
This commit is contained in:
Po-Chuan Hsieh 2023-03-22 02:45:36 +08:00
parent b5b72385cc
commit 8cd3dfbee2
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 5 additions and 8 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= twine
PORTVERSION= 4.0.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,7 +12,9 @@ WWW= https://github.com/pypa/twine
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15:devel/py-setuptools_scm@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.0:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-metadata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}keyring>=15.1,1:security/py-keyring@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pkginfo>=1.8.1:sysutils/py-pkginfo@${PY_FLAVOR} \
@ -23,11 +26,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-m
${PYTHON_PKGNAMEPREFIX}urllib3>=1.26.0,1:net/py-urllib3@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
post-patch:
@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
.include <bsd.port.mk>

View file

@ -1,3 +0,0 @@
from setuptools import setup
setup()