sysutils/py-plumbum: Convert to USE_PYTHON=pep517

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

View file

@ -1,5 +1,6 @@
PORTNAME= plumbum
PORTVERSION= 1.8.1
PORTREVISION= 1
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MASTER_SITES= PYPI
@ -11,8 +12,11 @@ WWW= https://github.com/tomerfiliba/plumbum
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
@ -20,8 +24,4 @@ OPTIONS_DEFINE= SSH
SSH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR}
post-patch:
@${RM} ${WRKSRC}/pyproject.toml
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
.include <bsd.port.mk>

File diff suppressed because one or more lines are too long