Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2024 21:54:01 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3f2436c02e83 - main - devel/py-gevent: Convert post-patch to EXTRACT_AFTER_ARGS
Message-ID:  <202405202154.44KLs14q091962@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=3f2436c02e8314614dda02f9ef9f5a13de6d18c2

commit 3f2436c02e8314614dda02f9ef9f5a13de6d18c2
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-05-20 21:25:58 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-05-20 21:53:51 +0000

    devel/py-gevent: Convert post-patch to EXTRACT_AFTER_ARGS
    
    Reduces I/O by not extracting files at all
    Remove reference to src/gevent/_util_py2.py as it's no longer distributed
    
    PR:             278737
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 devel/py-gevent/Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/devel/py-gevent/Makefile b/devel/py-gevent/Makefile
index fc7c2bc3da29..b83801d10978 100644
--- a/devel/py-gevent/Makefile
+++ b/devel/py-gevent/Makefile
@@ -33,14 +33,12 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR
 USES=		compiler:c11 localbase python
 USE_PYTHON=	autoplist concurrent pep517
 
+EXTRACT_AFTER_ARGS=	--exclude ${DISTNAME}/deps \
+			--no-same-owner --no-same-permissions
+
 MAKE_ENV=	GEVENTSETUP_EMBED_CARES=0 GEVENTSETUP_EMBED_LIBEV=0 GEVENTSETUP_EMBED_LIBUV=0
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
 
-post-patch:
-	@${RM} ${WRKSRC}/src/gevent/_util_py2.py
-# Clean up bundled libraries
-	@${RM} -r ${WRKSRC}/deps/
-
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 



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