summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2024-10-08 17:31:51 +0200
committerDavid Seifert <soap@gentoo.org>2024-10-08 17:31:51 +0200
commitec9bd064a3b2e495970f49d751d57ca62fa77b84 (patch)
tree0a1a294097c36a0874a30275e2d199a4259e0741 /eclass/pypi.eclass
parentxdg.eclass: drop support for EAPI 6 (diff)
downloadgentoo-ec9bd064a3b2e495970f49d751d57ca62fa77b84.tar.gz
gentoo-ec9bd064a3b2e495970f49d751d57ca62fa77b84.tar.bz2
gentoo-ec9bd064a3b2e495970f49d751d57ca62fa77b84.zip
eclass: standardize inherit guard
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/pypi.eclass')
-rw-r--r--eclass/pypi.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/pypi.eclass b/eclass/pypi.eclass
index b80ff9c95d36..47d40449d13a 100644
--- a/eclass/pypi.eclass
+++ b/eclass/pypi.eclass
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: pypi.eclass
@@ -40,7 +40,7 @@ case ${EAPI} in
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
-if [[ ! ${_PYPI_ECLASS} ]]; then
+if [[ -z ${_PYPI_ECLASS} ]]; then
_PYPI_ECLASS=1
# @ECLASS_VARIABLE: PYPI_NO_NORMALIZE