dev-perl/Apache-Reload: add 0.140.0

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-08-14 08:51:23 +01:00
parent adcf4a8686
commit b5f28547b3
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=SHAY
DIST_VERSION=0.14
inherit perl-module
DESCRIPTION="Automatically reload changed modules without restarting Apache"
SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~x86"
RDEPEND="www-apache/mod_perl"
BDEPEND="${RDEPEND}
dev-perl/Apache-Test
"
src_test() {
local MODULES=(
"Apache::Reload ${DIST_VERSION}"
"Apache2::Reload ${DIST_VERSION}"
)
local failed=()
for dep in "${MODULES[@]}"; do
ebegin "Compile testing ${dep}"
perl -Mblib="${S}" -M"${dep} ()" -e1
eend $? || failed+=( "$dep" )
done
if [[ ${failed[@]} ]]; then
echo
eerror "One or more modules failed compile:";
for dep in "${failed[@]}"; do
eerror " ${dep}"
done
die "Failing due to module compilation errors";
fi
perl-module_src_test
}

View File

@@ -1 +1,2 @@
DIST Apache-Reload-0.13.tar.gz 18908 BLAKE2B 7e231913a18c86b3c5e2e65ed2ad68e3a43451e256f8ac911d140a96b14ea32db69b7f3ffff07dfc788467721617659be3293854ed6e219b6b79c7cbffcdbe3b SHA512 7209fbd682093cca5f724050ee71d8bd26d101c3edfedb2cdaaf2e09df903e1f12cdf5cb6f4717eb8814802924359a01c89657dd5769f94c46d064db30c9f7e2
DIST Apache-Reload-0.14.tar.gz 19343 BLAKE2B 65898bac1cd4f27afb865a429a3ad62754d0ea7b180900c37b3dce5ca626fcb37e177c04891785dcb6ae6763f7400231792c0d95549b661d524133323e9732c2 SHA512 587d044b9c2c91425be2ae89c1674bcdae7ed36b5cde1e1b71dd1ef2b61dddcd9f887a649d904e47b4b06acee2489ddcda12c107043665778995188ab06addf2