Revert "*/*: ExcessiveLineLength fix most of them"

This reverts commit 79341e9f04.
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2024-07-25 11:16:30 +02:00
parent a9a17a263e
commit 8b33f89cda
48 changed files with 141 additions and 288 deletions

View File

@@ -9,13 +9,11 @@ DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with w
HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/"
WIKI_COMMIT="3b27176"
dist="https://github.com/rahilarious/gentoo-distfiles"
SRC_URI="
https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
${dist}/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz
${dist}/releases/download/${P}/wiki.tar.xz -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz
web? ( ${dist}/releases/download/${P}/npm-deps.tar.xz -> ${P}-npm-deps.tar.xz )
https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz
https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/wiki.tar.xz -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz
web? ( https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/npm-deps.tar.xz -> ${P}-npm-deps.tar.xz )
"
# main
@@ -65,16 +63,7 @@ src_prepare() {
if use web; then
# mimicking `make js-deps`
export npm_config_cache="${WORKDIR}/npm-cache" NODE_OPTIONS=--openssl-legacy-provider || die
npm \
--verbose \
--offline \
--prefix client/ \
--no-progress \
--ignore-engines \
--ignore-optional \
--ignore-platform \
--ignore-scripts ci \
|| die
npm --verbose --offline --prefix client/ --no-progress --ignore-engines --ignore-optional --ignore-platform --ignore-scripts ci || die
fi
}