eclass/verify-sig: Sync with Gentoo

It's from Gentoo commit 2cba2db27919bc449ed2a7bf7ed3259c6b96e65f.
This commit is contained in:
Flatcar Buildbot 2023-03-20 07:25:32 +00:00
parent 5da03e91c3
commit a23b80f3db

View File

@ -45,9 +45,8 @@ case ${EAPI} in
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
EXPORT_FUNCTIONS src_unpack
if [[ ! ${_VERIFY_SIG_ECLASS} ]]; then
if [[ -z ${_VERIFY_SIG_ECLASS} ]]; then
_VERIFY_SIG_ECLASS=1
IUSE="verify-sig"
@ -390,5 +389,6 @@ verify-sig_src_unpack() {
default_src_unpack
}
_VERIFY_SIG_ECLASS=1
fi
EXPORT_FUNCTIONS src_unpack