commit: 4a8725ee4aba2c2990b63f520143a0b78db35376
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 15 19:06:01 2021 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Jun 15 19:19:23 2021 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=4a8725ee
setup.cfg: eliminate dash-separated portage-ext-modules
* QA Notice: setuptools warnings detected:
*
* Usage of dash-separated 'portage-ext-modules' will not be supported in
future versions. Please use the underscore name 'portage_ext_modules' instead
Reported-by: Patrick McLean <chutzpah <AT> gentoo.org>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
.github/workflows/ci.yml | 2 +-
README | 2 +-
setup.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9188c9c28..78e4f428b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -36,7 +36,7 @@ jobs:
python -m pip install tox tox-gh-actions
- name: Test ./setup.py install --root=/tmp/install-root
run: |
- printf "[build_ext]\nportage-ext-modules=true" >> setup.cfg
+ printf "[build_ext]\nportage_ext_modules=true" >> setup.cfg
./setup.py install --root=/tmp/install-root
- name: Run tox targets for ${{ matrix.python-version }}
run: |
diff --git a/README b/README
index 54b12f8ce..d2bc9fdda 100644
--- a/README
+++ b/README
@@ -26,7 +26,7 @@ native extensions for all invocations of the build_ext
command (the
build_ext command is invoked automatically by other build commands):
[build_ext]
- portage-ext-modules=true
+ portage_ext_modules=true
Currently, the native extensions only include libc bindings which are
used to validate LC_CTYPE and LC_COLLATE behavior for EAPI 6. If the
diff --git a/setup.py b/setup.py
index 6be38895c..879e0ca5e 100755
--- a/setup.py
+++ b/setup.py
@@ -720,7 +720,7 @@ class build_ext(_build_ext):
]
boolean_options = _build_ext.boolean_options + [
- 'portage-ext-modules',
+ 'portage_ext_modules',
]
def initialize_options(self):