Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2022 18:10:04 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 97cae4abaef2 - main - sysutils/py-filelock: Fix version in installed PKG-INFO files
Message-ID:  <202201191810.20JIA4Ta006968@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=97cae4abaef2431eb2d3284249384d11033d687f

commit 97cae4abaef2431eb2d3284249384d11033d687f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-01-19 17:35:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-01-19 18:10:00 +0000

    sysutils/py-filelock: Fix version in installed PKG-INFO files
    
    Before this version was set to 0.0.0 which caused tox failure.
---
 sysutils/py-filelock/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sysutils/py-filelock/Makefile b/sysutils/py-filelock/Makefile
index f51c2c7ff2af..9466126450a2 100644
--- a/sysutils/py-filelock/Makefile
+++ b/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}
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201191810.20JIA4Ta006968>