diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2020-05-10 17:54:06 +0100 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2020-05-10 17:54:06 +0100 |
commit | bb023a4c977a214b52e180a3587ca47cf78f8c14 (patch) | |
tree | b7e9f110a5e5f71d342f58797b4c786099813e26 /eclass | |
parent | Update nexus oss (diff) | |
download | ssnb-bb023a4c977a214b52e180a3587ca47cf78f8c14.tar.gz ssnb-bb023a4c977a214b52e180a3587ca47cf78f8c14.tar.bz2 ssnb-bb023a4c977a214b52e180a3587ca47cf78f8c14.zip |
Update bower and npm eclasses to EAPI 7
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/npm-tools.eclass | 4 | ||||
-rw-r--r-- | eclass/npm.eclass | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/eclass/npm-tools.eclass b/eclass/npm-tools.eclass index 6dcc821..470924d 100644 --- a/eclass/npm-tools.eclass +++ b/eclass/npm-tools.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: npm-tools.eclass @@ -28,7 +28,7 @@ _NPM_TOOLS_ECLASS=1 # Run npm install in the provided project directory. # If no directory is provided it will run on current path. case ${EAPI:-0} in -5|6) +5|6|7) npm_install() { local dir="$1" if [[ -z "${dir}" ]] ; then diff --git a/eclass/npm.eclass b/eclass/npm.eclass index 111068b..3ec0bf5 100644 --- a/eclass/npm.eclass +++ b/eclass/npm.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -12,7 +12,7 @@ # Requires EAPI=2 or later. case ${EAPI} in - 2|3|4|5|6) : ;; + 2|3|4|5|6|7) : ;; *) die "npm.eclass: unsupported EAPI=${EAPI:-0}" ;; esac |