eclass/pypi: Sync with Gentoo

It's from Gentoo commit ec9bd064a3b2e495970f49d751d57ca62fa77b84.
This commit is contained in:
Flatcar Buildbot 2024-10-21 07:07:09 +00:00
parent 017de6115d
commit c18a01bd01

View File

@ -1,4 +1,4 @@
# Copyright 2023 Gentoo Authors # Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# @ECLASS: pypi.eclass # @ECLASS: pypi.eclass
@ -40,7 +40,7 @@ case ${EAPI} in
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac esac
if [[ ! ${_PYPI_ECLASS} ]]; then if [[ -z ${_PYPI_ECLASS} ]]; then
_PYPI_ECLASS=1 _PYPI_ECLASS=1
# @ECLASS_VARIABLE: PYPI_NO_NORMALIZE # @ECLASS_VARIABLE: PYPI_NO_NORMALIZE