[net-irc/znc] sync

This commit is contained in:
Robert Förster 2023-11-07 16:58:59 +01:00
parent 9d21662f4f
commit 7fef909268

View File

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_{10..12} )
inherit cmake python-single-r1
@ -33,7 +33,11 @@ SLOT="0/${PV}"
IUSE="+icu nls perl python +ssl sasl tcl test +zlib"
RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} icu )"
# tests run znc-buildmod which is a Python script
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} icu )
test? ( ${PYTHON_REQUIRED_USE} )
"
# perl is a build-time dependency of modpython
BDEPEND="
@ -53,6 +57,7 @@ BDEPEND="
)
"
DEPEND="
app-crypt/argon2
dev-cpp/cctz
icu? ( dev-libs/icu:= )
nls? ( dev-libs/boost:=[nls] )
@ -69,7 +74,7 @@ PATCHES=(
)
pkg_setup() {
if use python; then
if use python || use test; then
python-single-r1_pkg_setup
fi
}