Date: Mon, 02 Mar 2026 17:21:18 +0000 From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 073694902a75 - main - www/py-yt-dlp-ejs: mark as IGNORE Message-ID: <69a5c70e.3fb91.39db4454@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by mat: URL: https://cgit.FreeBSD.org/ports/commit/?id=073694902a75bc96e8342c6a07ad397edf994239 commit 073694902a75bc96e8342c6a07ad397edf994239 Author: Mathieu Arnold <mat@FreeBSD.org> AuthorDate: 2026-03-02 17:16:23 +0000 Commit: Mathieu Arnold <mat@FreeBSD.org> CommitDate: 2026-03-02 17:20:46 +0000 www/py-yt-dlp-ejs: mark as IGNORE You cannot repack your distfile in do-fetch. If you need to extract things and move things around, do it in post-extract. With hat: portmgr --- www/py-yt-dlp-ejs/Makefile | 60 ++++++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/www/py-yt-dlp-ejs/Makefile b/www/py-yt-dlp-ejs/Makefile index 43659b441243..16b2e7cdd012 100644 --- a/www/py-yt-dlp-ejs/Makefile +++ b/www/py-yt-dlp-ejs/Makefile @@ -31,35 +31,37 @@ NO_ARCH= yes DD= ${DISTDIR}/${DIST_SUBDIR} -do-fetch: - @if ! [ -f ${DD}/${DISTNAME}${EXTRACT_SUFX} ] || \ - ! [ -f ${DD}/${PORTNAME}-node-modules-${DISTVERSION}${EXTRACT_SUFX} ]; then \ - ${MKDIR} ${DD} && ${MKDIR} ${WRKDIR} && \ - ${ECHO_MSG} "====> Fetching ${DISTNAME}${EXTRACT_SUFX}" && \ - cd ${DD} && ${FETCH_CMD} https://files.pythonhosted.org/packages/source/y/yt-dlp-ejs/${DISTNAME}${EXTRACT_SUFX} && \ - ${ECHO_MSG} "====> Fetching and packaging node_modules using package-lock.json" && \ - ${TAR} -xf ${DD}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKDIR} && \ - if [ -f ${FILESDIR}/package-lock.json ]; then \ - ${ECHO_MSG} "====> Using existing package-lock.json"; \ - ${CP} ${FILESDIR}/package-lock.json ${WRKDIR}/${DISTNAME}/; \ - else \ - ${ECHO_MSG} "====> Generating package-lock.json (it will be saved to ${FILESDIR})"; \ - fi && \ - cd ${WRKDIR}/${DISTNAME} && \ - ${SETENV} HOME=${WRKDIR} npm ci && \ - if ! [ -f ${FILESDIR}/package-lock.json ]; then \ - ${ECHO_MSG} "====> Saving generated package-lock.json to ${FILESDIR}"; \ - ${CP} ${WRKDIR}/${DISTNAME}/package-lock.json ${FILESDIR}/; \ - fi && \ - ${FIND} node_modules -name '.package-lock.json' -delete && \ - ${FIND} node_modules -type d -name '@*' -empty -delete && \ - ${FIND} node_modules -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \ - ${FIND} node_modules -print0 | ${SORT} -z | \ - ${TAR} czf ${DD}/${PORTNAME}-node-modules-${DISTVERSION}${EXTRACT_SUFX} \ - --format=bsdtar --no-read-sparse --gid 0 --uid 0 \ - --options gzip:!timestamp --no-recursion --null -T - && \ - ${RM} -rf ${WRKDIR}; \ - fi +IGNORE= invalid code in do-fetch + +# do-fetch: +# @if ! [ -f ${DD}/${DISTNAME}${EXTRACT_SUFX} ] || \ +# ! [ -f ${DD}/${PORTNAME}-node-modules-${DISTVERSION}${EXTRACT_SUFX} ]; then \ +# ${MKDIR} ${DD} && ${MKDIR} ${WRKDIR} && \ +# ${ECHO_MSG} "====> Fetching ${DISTNAME}${EXTRACT_SUFX}" && \ +# cd ${DD} && ${FETCH_CMD} https://files.pythonhosted.org/packages/source/y/yt-dlp-ejs/${DISTNAME}${EXTRACT_SUFX} && \ +# ${ECHO_MSG} "====> Fetching and packaging node_modules using package-lock.json" && \ +# ${TAR} -xf ${DD}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKDIR} && \ +# if [ -f ${FILESDIR}/package-lock.json ]; then \ +# ${ECHO_MSG} "====> Using existing package-lock.json"; \ +# ${CP} ${FILESDIR}/package-lock.json ${WRKDIR}/${DISTNAME}/; \ +# else \ +# ${ECHO_MSG} "====> Generating package-lock.json (it will be saved to ${FILESDIR})"; \ +# fi && \ +# cd ${WRKDIR}/${DISTNAME} && \ +# ${SETENV} HOME=${WRKDIR} npm ci && \ +# if ! [ -f ${FILESDIR}/package-lock.json ]; then \ +# ${ECHO_MSG} "====> Saving generated package-lock.json to ${FILESDIR}"; \ +# ${CP} ${WRKDIR}/${DISTNAME}/package-lock.json ${FILESDIR}/; \ +# fi && \ +# ${FIND} node_modules -name '.package-lock.json' -delete && \ +# ${FIND} node_modules -type d -name '@*' -empty -delete && \ +# ${FIND} node_modules -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \ +# ${FIND} node_modules -print0 | ${SORT} -z | \ +# ${TAR} czf ${DD}/${PORTNAME}-node-modules-${DISTVERSION}${EXTRACT_SUFX} \ +# --format=bsdtar --no-read-sparse --gid 0 --uid 0 \ +# --options gzip:!timestamp --no-recursion --null -T - && \ +# ${RM} -rf ${WRKDIR}; \ +# fi post-extract: # Extract pre-downloaded node_moduleshome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a5c70e.3fb91.39db4454>
