summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-04-19 13:00:06 +0200
committerMichał Górny <mgorny@gentoo.org>2023-04-22 08:17:00 +0200
commit784df2b02e386d19f13ff29cce824aff0065ba53 (patch)
tree206a7b4e752e9605f0d781415815e5ea2c15325b /eclass
parentlicenses: Remove unused ODESK and ms-teams-pre (diff)
downloadgentoo-784df2b02e386d19f13ff29cce824aff0065ba53.tar.gz
gentoo-784df2b02e386d19f13ff29cce824aff0065ba53.tar.bz2
gentoo-784df2b02e386d19f13ff29cce824aff0065ba53.zip
distutils-r1.eclass: Add DISTUTILS_EXT control variable
Add a control variable that should be set in ebuilds that build C, Cython, Rust extensions, etc. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils-r1.eclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 09684781de2a..f283aa90cfaa 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -49,6 +49,13 @@ case ${EAPI} in
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
+# @ECLASS_VARIABLE: DISTUTILS_EXT
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# Set this variable to a non-null value if the package (possibly
+# optionally) builds Python extensions (loadable modules written in C,
+# Cython, Rust, etc.).
+
# @ECLASS_VARIABLE: DISTUTILS_OPTIONAL
# @DEFAULT_UNSET
# @DESCRIPTION: