dev-python/kconfiglib: fix build with py2

Closes: https://bugs.gentoo.org/690182

Signed-off-by: Tim Harder <radhermit@gentoo.org>
This commit is contained in:
Tim Harder
2019-07-18 17:56:12 -06:00
parent 8d5520543c
commit a671de2f9e
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
Python2's ConfigParser module used by setuptools throws parsing errors when
encountering tab characters.
--- Kconfiglib-12.12.1/setup.cfg
+++ Kconfiglib-12.12.1/setup.cfg
@@ -1,6 +1,6 @@
[bdist_wheel]
- # We support both Python 2 and Python 3
- universal = 1
+# We support both Python 2 and Python 3
+universal = 1
[metadata]
- # Include the license file in wheels
- license_file = LICENSE.txt
+# Include the license file in wheels
+license_file = LICENSE.txt

View File

@@ -23,6 +23,8 @@ RDEPEND="${DEPEND}"
S=${WORKDIR}/${P/k/K}
PATCHES=( "${FILESDIR}"/${P}-setup.patch )
python_prepare_all() {
distutils-r1_python_prepare_all