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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user