void-packages/srcpkgs/nodeenv/template

25 lines
761 B
Bash

# Template file for 'nodeenv'
pkgname=nodeenv
version=1.7.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="make python3-setuptools"
checkdepends="nodejs python3-coverage python3-mock python3-pytest which"
short_desc="Node.js virtual environment builder"
maintainer="Joseph Benden <joe@benden.us>"
license="BSD-3-Clause"
homepage="https://ekalinin.github.io/nodeenv/"
distfiles="https://github.com/ekalinin/nodeenv/archive/refs/tags/${version}.tar.gz"
checksum=a9e9e36e1be6439e877c53e7f27ce068f75b82cc08201f2c68471687199cfd7b
if [ "$XBPS_WORDSIZE" -eq 32 ]; then
# nodejs upstream doesn't provide 32-bit pre-built binaries
# for linux, which is required for testing
make_check=no
fi
post_install() {
vlicense LICENSE
}