aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-nodeenv/10-alpine.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-nodeenv/10-alpine.patch')
-rw-r--r--community/py3-nodeenv/10-alpine.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/community/py3-nodeenv/10-alpine.patch b/community/py3-nodeenv/10-alpine.patch
deleted file mode 100644
index bc96888307..0000000000
--- a/community/py3-nodeenv/10-alpine.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-change python to python3 as alpine does not provide python
-change nodejs in tests to node to match alpine name
-swap nodejs.org for mirror returned in test so it passes
-
---- a/nodeenv.py
-+++ b/nodeenv.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- # -*- coding: utf-8 -*-
-
- """
---- a/tests/nodeenv_test.py
-+++ b/tests/nodeenv_test.py
-@@ -26,7 +26,7 @@
- assert os.path.exists(nenv_path)
- activate = pipes.quote(os.path.join(nenv_path, 'bin', 'activate'))
- subprocess.check_call([
-- 'sh', '-c', '. {} && nodejs --version'.format(activate),
-+ 'sh', '-c', '. {} && node --version'.format(activate),
- ])
-
-
-@@ -41,7 +41,7 @@
- assert os.path.exists(nenv_path)
- activate = pipes.quote(os.path.join(nenv_path, 'bin', 'activate'))
- subprocess.check_call([
-- 'sh', '-c', '. {} && nodejs --version'.format(activate),
-+ 'sh', '-c', '. {} && node --version'.format(activate),
- ])
-
-
-@@ -104,8 +104,8 @@
- 'https://npm.taobao.org/mirrors/node/index.json'),
- ('npm.some-mirror.com',
- 'https://npm.some-mirror.com/download/release/index.json'),
-- ('',
-- 'https://nodejs.org/download/release/index.json')]
-+ ('https://unofficial-builds.nodejs.org/download/release',
-+ 'https://unofficial-builds.nodejs.org/download/release/index.json')]
- with open(os.path.join(HERE, 'nodejs_index.json'), 'rb') as f:
- def rewind(_):
- f.seek(0)