freebsd-ports/sysutils/py-filelock/Makefile
Yuri Victorovich 97cae4abae sysutils/py-filelock: Fix version in installed PKG-INFO files
Before this version was set to 0.0.0 which caused tox failure.
2022-01-19 10:10:00 -08:00

22 lines
529 B
Makefile

PORTNAME= filelock
DISTVERSION= 3.4.2
PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Platform independent file lock
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.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>