Skip to content

Commit

Permalink
sysutils/py-filelock: Fix version in installed PKG-INFO files
Browse files Browse the repository at this point in the history
Before this version was set to 0.0.0 which caused tox failure.
  • Loading branch information
yurivict committed Jan 19, 2022
1 parent 5b78e25 commit 97cae4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sysutils/py-filelock/Makefile
@@ -1,5 +1,6 @@
PORTNAME= filelock
DISTVERSION= 3.4.2
PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -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>

0 comments on commit 97cae4a

Please sign in to comment.