<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ef7b8ba359bf506725dae82fa0d8b024d7181806">https://github.com/macports/macports-ports/commit/ef7b8ba359bf506725dae82fa0d8b024d7181806</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ef7b8ba359b npm2: remove obsolete port
</span>ef7b8ba359b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ef7b8ba359bf506725dae82fa0d8b024d7181806
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Sat Nov 14 06:45:49 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> npm2: remove obsolete port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Replaced by npm3 in 57fa90a72b over one year ago
</span>---
devel/npm2/Portfile | 14 --------------
devel/npm2/files/patch-lib-update.js.diff | 17 -----------------
2 files changed, 31 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/npm2/Portfile b/devel/npm2/Portfile
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index f142815a3ea..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/npm2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup obsolete 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-replaced_by npm3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name npm2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.15.12
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license MIT
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/npm2/files/patch-lib-update.js.diff b/devel/npm2/files/patch-lib-update.js.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 70f3c1a9440..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/npm2/files/patch-lib-update.js.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,17 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- lib/update.js.orig 2013-06-21 13:44:01.000000000 +0200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ lib/update.js 2013-06-26 21:18:40.000000000 +0200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -35,6 +35,14 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- , req = ww[4]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- , url = require('url')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (what.match(/^npm@/) && where.match(/@@NPM_PATH_JSREGEX@@/)) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ log.error("Trying to update '" + what + "' in '" + where + "'")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ log.error("which is part of the MacPorts npm base installation.")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ log.error("To update npm please run:")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ log.error("sudo port selfupdate && sudo port upgrade npm\n")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return cb()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // use the initial installation method (repo, tar, git) for updating
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (url.parse(req).protocol) what = req
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- npm.commands.install(where, what, cb)
</span></pre><pre style='margin:0'>
</pre>