Skip to content
Snippets Groups Projects
Verified Commit 0593ac62 authored by sunpoet's avatar sunpoet
Browse files

www/npm: Update to 8.2.0

parent 912cb4e7
No related merge requests found
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= npm
PORTVERSION= 6.14.8
PORTREVISION= 1
PORTVERSION= 8.2.0
CATEGORIES= www
MASTER_SITES= LOCAL/sunpoet
......@@ -15,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/lib/node_modules/npm/LICENSE
RUN_DEPENDS= gmake:devel/gmake
USES?= nodejs:run
USES+= cpe python:3.5+ shebangfix tar:xz
USES+= cpe python:3.6+ shebangfix tar:xz
NO_ARCH= yes
NO_BUILD= yes
......@@ -26,7 +25,6 @@ CONFLICTS_INSTALL?= npm-node14 npm-node16 npm-node17
CPE_VENDOR= npmjs
SHEBANG_GLOB= *.py
SHEBANG_FILES= lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples
.include <bsd.port.pre.mk>
......@@ -44,6 +42,6 @@ post-patch:
do-install:
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/
${ECHO_CMD} 'python=${PYTHON_CMD}' > ${STAGEDIR}${PREFIX}/etc/npmrc
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp -f ${STAGEDIR}${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp
${PYTHON_CMD} -O -m compileall -d ${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp -f ${STAGEDIR}${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp
.include <bsd.port.post.mk>
TIMESTAMP = 1600606967
SHA256 (npm-6.14.8.tar.xz) = 1c9beab15ef7c031b4d9d2261cbe7ab8af63bc1fee0a79623c9759072dbeea6b
SIZE (npm-6.14.8.tar.xz) = 3369236
TIMESTAMP = 1642102157
SHA256 (npm-8.2.0.tar.xz) = ca4b04eabb333722de5d069da9440e3359c9c87f4e6d1eeb554269ee48679c32
SIZE (npm-8.2.0.tar.xz) = 1576868
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment