strip_RECORD.py: move to Mk/Scripts

Requested by: mat
This commit is contained in:
Charlie Li 2023-03-09 06:18:17 -05:00
parent 6d3a647cc0
commit 67de7ad43c
No known key found for this signature in database
GPG key ID: FEB7852BE29B3E87
3 changed files with 1 additions and 2 deletions

View file

@ -888,7 +888,7 @@ do-build:
do-install: do-install:
@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PEP517_INSTALL_CMD} @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} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME:C/[-_]+/_/g}-${PORTVERSION}.dist-info/RECORD >> ${_PYTHONPKGLIST}
@${REINPLACE_CMD} -e 's|^|${PYTHONPREFIX_SITELIBDIR}/|' \ @${REINPLACE_CMD} -e 's|^|${PYTHONPREFIX_SITELIBDIR}/|' \
-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../etc/|etc/|' \ -e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../etc/|etc/|' \

View file

@ -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 all ports having a LIB_DEPENDS on this port
splitpatch.pl - A small script to convert multi-file patches to several splitpatch.pl - A small script to convert multi-file patches to several
appropriately named single-file patches. 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 tindex - script used to build INDEXes for supported FreeBSD branches, which
are the source of the 'make fetchindex' INDEXes, and the build are the source of the 'make fetchindex' INDEXes, and the build
failure reports on ports@FreeBSD.org failure reports on ports@FreeBSD.org