git: 67de7ad43c69 - main - strip_RECORD.py: move to Mk/Scripts
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Mar 2023 11:20:50 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=67de7ad43c695d1b31e5528b05edd61c46a99760
commit 67de7ad43c695d1b31e5528b05edd61c46a99760
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-09 11:18:17 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-09 11:18:17 +0000
strip_RECORD.py: move to Mk/Scripts
Requested by: mat
---
{Tools/scripts => Mk/Scripts}/strip_RECORD.py | 0
Mk/Uses/python.mk | 2 +-
Tools/scripts/README | 1 -
3 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/Tools/scripts/strip_RECORD.py b/Mk/Scripts/strip_RECORD.py
similarity index 100%
rename from Tools/scripts/strip_RECORD.py
rename to Mk/Scripts/strip_RECORD.py
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index 21d38f4775ad..5e3e2e1add4c 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -888,7 +888,7 @@ do-build:
do-install:
@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PEP517_INSTALL_CMD}
- @${PYTHON_CMD} -B ${PORTSDIR}/Tools/scripts/strip_RECORD.py \
+ @${PYTHON_CMD} -B ${PORTSDIR}/Mk/Scripts/strip_RECORD.py \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME:C/[-_]+/_/g}-${PORTVERSION}.dist-info/RECORD >> ${_PYTHONPKGLIST}
@${REINPLACE_CMD} -e 's|^|${PYTHONPREFIX_SITELIBDIR}/|' \
-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../etc/|etc/|' \
diff --git a/Tools/scripts/README b/Tools/scripts/README
index e1d56e4911dd..8dfb2b17028a 100644
--- a/Tools/scripts/README
+++ b/Tools/scripts/README
@@ -39,7 +39,6 @@ search_lib_depends_and_bump.sh - Give it a port that has changed and it will bum
all ports having a LIB_DEPENDS on this port
splitpatch.pl - A small script to convert multi-file patches to several
appropriately named single-file patches.
-strip_RECORD.py - strips/prints only the first column of a Python wheel's RECORD file
tindex - script used to build INDEXes for supported FreeBSD branches, which
are the source of the 'make fetchindex' INDEXes, and the build
failure reports on ports@FreeBSD.org