summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-15 07:15:58 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-15 07:57:56 +0200
commita172e1e91406a185ed17be600f03a84c3f6021f1 (patch)
treef8d587e9282eec07d231f106f7a1b4690aeaa954 /eclass
parentdev-python/astroid: Bump to 2.15.5 (diff)
downloadgentoo-a172e1e91406a185ed17be600f03a84c3f6021f1.tar.gz
gentoo-a172e1e91406a185ed17be600f03a84c3f6021f1.tar.bz2
gentoo-a172e1e91406a185ed17be600f03a84c3f6021f1.zip
Rename dev-python/{flit_core → flit-core}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils-r1.eclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 2547af99eb76..d60fb0d72f18 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -107,7 +107,7 @@ esac
# The variable specifies the build system used. Currently,
# the following values are supported:
#
-# - flit - flit_core backend
+# - flit - flit-core backend
#
# - flit_scm - flit_scm backend
#
@@ -210,7 +210,7 @@ _distutils_set_globals() {
case ${DISTUTILS_USE_PEP517} in
flit)
bdep+='
- >=dev-python/flit_core-3.8.0[${PYTHON_USEDEP}]
+ >=dev-python/flit-core-3.8.0[${PYTHON_USEDEP}]
'
;;
flit_scm)
@@ -921,12 +921,12 @@ _distutils-r1_print_package_versions() {
case ${DISTUTILS_USE_PEP517} in
flit)
packages+=(
- dev-python/flit_core
+ dev-python/flit-core
)
;;
flit_scm)
packages+=(
- dev-python/flit_core
+ dev-python/flit-core
dev-python/flit_scm
dev-python/setuptools-scm
)
@@ -1145,7 +1145,7 @@ _distutils-r1_backend_to_key() {
local backend=${1}
case ${backend} in
- flit_core.buildapi|flit.buildapi)
+ flit-core.buildapi|flit.buildapi)
echo flit
;;
flit_scm:buildapi)
@@ -1224,7 +1224,7 @@ _distutils-r1_get_backend() {
local new_backend=
case ${build_backend} in
flit.buildapi)
- new_backend=flit_core.buildapi
+ new_backend=flit-core.buildapi
;;
poetry.masonry.api)
new_backend=poetry.core.masonry.api