Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

community/nodejs-current: switch to python3 for building #12138

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions community/nodejs-current/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
#
pkgname=nodejs-current
# The current stable version, i.e. non-LTS.
pkgver=13.1.0
pkgver=13.2.0
pkgrel=0
pkgdesc="JavaScript runtime built on V8 engine - current stable version"
url="https://nodejs.org/"
arch="all !mips64 !mips64el"
license="MIT"
depends="ca-certificates"
depends_dev="libuv"
makedepends="linux-headers python2 paxmark
makedepends="linux-headers python3 paxmark
zlib-dev libuv-dev openssl-dev c-ares-dev nghttp2-dev"
subpackages="$pkgname-dev $pkgname-doc"
provides="nodejs"
Expand All @@ -53,7 +53,7 @@ build() {
mips*) _carchflags="--with-mips-arch-variant=r1 --with-mips-float-abi=soft";;
esac

./configure --prefix=/usr \
./configure --debug -C --prefix=/usr \
$_carchflags \
--shared-zlib \
--shared-libuv \
Expand All @@ -63,9 +63,9 @@ build() {
--openssl-use-def-ca-store

# we need run mksnapshot at build time so paxmark it early.
make -C out mksnapshot BUILDTYPE=Release
make --debug -C out mksnapshot BUILDTYPE=Release
paxmark -m out/Release/mksnapshot
make
make --debug

# paxmark so JIT works
paxmark -m out/Release/node
Expand All @@ -92,6 +92,6 @@ package() {
rm "$pkgdir"/usr/bin/npm "$pkgdir"/usr/bin/npx
}

sha512sums="4d012d4638682ef1c7eac55913b0f997e163c47b0ee57f6364bac9f03772792279c4915545f5a78e75a42e8cd1006133c0eb318bbfe375f71bd4ca19a314dd77 node-v13.1.0.tar.gz
sha512sums="e0d14ede4dafebda677552f76f295328a86ddd8feea638b8303688ff0bd46397af1eb53876fd5ad0aaead840db63c7543cb535d25f839646ec8c15b6af72f457 node-v13.2.0.tar.gz
940cc90aaa77a531cde13e31918a9978f9478936c3851038bcdf2869e64de03ce84dec5a46519469a90a8ba2853226825452d23d9347752abdbe04e944c083eb dont-run-gyp-files-for-bundled-deps.patch
9f60928b53447f9590c7065bcdbdd4065d10a06e8451531615791a3bd7d14f9114807e5446e0ec00e2cb7a11a277050345e34636b199db2979d7f022b31ffde4 link-with-libatomic-on-mips32.patch"