From: "Tim Harder" <radhermit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/kconfiglib/files/, dev-python/kconfiglib/
Date: Thu, 18 Jul 2019 23:58:51 +0000 (UTC) [thread overview]
Message-ID: <1563494230.a671de2f9e90ef15ee2ae0677a45196ae9d47f1c.radhermit@gentoo> (raw)
commit: a671de2f9e90ef15ee2ae0677a45196ae9d47f1c
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 18 23:56:12 2019 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Thu Jul 18 23:57:10 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a671de2f
dev-python/kconfiglib: fix build with py2
Closes: https://bugs.gentoo.org/690182
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
.../kconfiglib/files/kconfiglib-12.12.1-setup.patch | 16 ++++++++++++++++
dev-python/kconfiglib/kconfiglib-12.12.1.ebuild | 2 ++
2 files changed, 18 insertions(+)
diff --git a/dev-python/kconfiglib/files/kconfiglib-12.12.1-setup.patch b/dev-python/kconfiglib/files/kconfiglib-12.12.1-setup.patch
new file mode 100644
index 00000000000..b5225e90d5d
--- /dev/null
+++ b/dev-python/kconfiglib/files/kconfiglib-12.12.1-setup.patch
@@ -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
diff --git a/dev-python/kconfiglib/kconfiglib-12.12.1.ebuild b/dev-python/kconfiglib/kconfiglib-12.12.1.ebuild
index 34529da5d91..b1a5baccde7 100644
--- a/dev-python/kconfiglib/kconfiglib-12.12.1.ebuild
+++ b/dev-python/kconfiglib/kconfiglib-12.12.1.ebuild
@@ -23,6 +23,8 @@ RDEPEND="${DEPEND}"
S=${WORKDIR}/${P/k/K}
+PATCHES=( "${FILESDIR}"/${P}-setup.patch )
+
python_prepare_all() {
distutils-r1_python_prepare_all
next reply other threads:[~2019-07-18 23:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-18 23:58 Tim Harder [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-01-03 6:39 [gentoo-commits] repo/gentoo:master commit in: dev-python/kconfiglib/files/, dev-python/kconfiglib/ Tim Harder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1563494230.a671de2f9e90ef15ee2ae0677a45196ae9d47f1c.radhermit@gentoo \
--to=radhermit@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox