summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-06-01 11:14:26 +0200
committerMichał Górny <mgorny@gentoo.org>2024-06-14 14:26:05 +0200
commitd344e223068c8d9eb695ba464facb4451bb07d5c (patch)
treeea5468d54dc4d53d2cb0679f4acdbffd5202619e /eclass/distutils-r1.eclass
parentdistutils-r1.eclass: Remove doc for DOCS, HTML_DOCS and PATCHES (diff)
downloadgentoo-d344e223068c8d9eb695ba464facb4451bb07d5c.tar.gz
gentoo-d344e223068c8d9eb695ba464facb4451bb07d5c.tar.bz2
gentoo-d344e223068c8d9eb695ba464facb4451bb07d5c.zip
distutils-r1.eclass: Doc DISTUTILS_OPTIONAL + DISTUTILS_SINGLE_IMPL
Closes: https://bugs.gentoo.org/780807 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index eac4d592efaf..392725d48121 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -78,6 +78,11 @@ esac
# for your package (using ${PYTHON_DEPS}) and to either call
# distutils-r1 default phase functions or call the build system
# manually.
+#
+# Note that if DISTUTILS_SINGLE_IMPL is used, python-single-r1 exports
+# pkg_setup() function. In that case, it is necessary to redefine
+# pkg_setup() to call python-single-r1_pkg_setup over correct
+# conditions.
# @ECLASS_VARIABLE: DISTUTILS_SINGLE_IMPL
# @DEFAULT_UNSET