git: 2540270e7a5e - main - devel/py-pyzipper: do not install site-packages/test

From: Dan Langille <dvl_at_FreeBSD.org>
Date: Mon, 01 May 2023 14:14:24 UTC
The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2540270e7a5e7b5cab004d38b2b9f4a52f53b428

commit 2540270e7a5e7b5cab004d38b2b9f4a52f53b428
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2023-05-01 14:12:32 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2023-05-01 14:14:20 +0000

    devel/py-pyzipper: do not install site-packages/test
    
    This causes conflicts, notably with net/scapy which also installs
    /usr/local/lib/python3.9/site-packages/test/__init__.py
    
    Approved by:    maintainer (via private communication)
---
 devel/py-pyzipper/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/py-pyzipper/Makefile b/devel/py-pyzipper/Makefile
index 8c61f877b039..137def08dee7 100644
--- a/devel/py-pyzipper/Makefile
+++ b/devel/py-pyzipper/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pyzipper
 PORTVERSION=	0.3.5
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,5 +20,6 @@ NO_ARCH=	yes
 
 post-patch:
 	@${RM} ${WRKSRC}/test/badsyntax_*.py
+	@${RM} ${WRKSRC}/test/__init__.py
 
 .include <bsd.port.mk>