sysutils/py-filelock: Fix version in installed PKG-INFO files

Before this version was set to 0.0.0 which caused tox failure.
This commit is contained in:
Yuri Victorovich
2022-01-19 09:35:17 -08:00
parent 5b78e25e4b
commit 97cae4abae

View File

@@ -1,5 +1,6 @@
PORTNAME= filelock
DISTVERSION= 3.4.2
PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,4 +16,7 @@ USE_PYTHON= autoplist distutils
NO_ARCH= yes
post-patch: # workaround for https://github.com/tox-dev/py-filelock/issues/133
@${REINPLACE_CMD} -e 's|author = Benedikt Schmitt|version = ${PORTVERSION}|' ${WRKSRC}/setup.cfg
.include <bsd.port.mk>