aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-nodeenv
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-nodeenv')
-rw-r--r--community/py3-nodeenv/10-alpine.patch43
-rw-r--r--community/py3-nodeenv/APKBUILD8
2 files changed, 3 insertions, 48 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)
diff --git a/community/py3-nodeenv/APKBUILD b/community/py3-nodeenv/APKBUILD
index 3c44d73467..794fc2d1ba 100644
--- a/community/py3-nodeenv/APKBUILD
+++ b/community/py3-nodeenv/APKBUILD
@@ -2,8 +2,8 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-nodeenv
_pkgname=nodeenv
-pkgver=1.5.0
-pkgrel=3
+pkgver=1.6.0
+pkgrel=1
pkgdesc="Node.js virtual environment builder"
url="https://ekalinin.github.io/nodeenv/"
arch="all !mips64" # no nodejs
@@ -12,7 +12,6 @@ depends="bash python3"
makedepends="python3-dev py3-setuptools"
checkdepends="nodejs py3-pytest py3-mock py3-pytest-cov"
source="$_pkgname-$pkgver.tar.gz::https://github.com/ekalinin/nodeenv/archive/$pkgver.tar.gz
- 10-alpine.patch
11-alpine-prebuilt.patch
"
builddir="$srcdir/$_pkgname-$pkgver"
@@ -29,6 +28,5 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="645911f6ab173bf0e7b68fca9741f1deeb2d486dea99f43d542f86b2ac34439e03da18a6e4de49e3dd45fb89b3c87005b184ca4b73aa0549e75a86191e045e02 nodeenv-1.5.0.tar.gz
-0888c64246aa664d7289c66e3765ee576930788f526db620c9ff92708121a5e1a3d96c44d5453371c77bedc6ded6d9a2c9dfb1bf6e77aa669653584ab1ebe65b 10-alpine.patch
+sha512sums="abf4fe55ba478570a32ff3bb24fc3c60ba2d100822f8295c4c55c301ccdff2dc2d20ef76990ea3ac203e30db8a1e85f3ef2df671f87c0cf7305cf1aeb788efdd nodeenv-1.6.0.tar.gz
e92b8f702965faeae10263f991d942234fad1b8687e1c1d151860a3a5e5f90b802de4869a3f2995ee915a622167be8fc7df6532f3d106a33538a61cd20b52802 11-alpine-prebuilt.patch"