From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A4BE4138334 for ; Thu, 18 Jul 2019 23:58:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A83BAE077A; Thu, 18 Jul 2019 23:58:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 893C5E077A for ; Thu, 18 Jul 2019 23:58:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4C6D34801E for ; Thu, 18 Jul 2019 23:58:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C9E0627 for ; Thu, 18 Jul 2019 23:58:51 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1563494230.a671de2f9e90ef15ee2ae0677a45196ae9d47f1c.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/kconfiglib/files/, dev-python/kconfiglib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/kconfiglib/files/kconfiglib-12.12.1-setup.patch dev-python/kconfiglib/kconfiglib-12.12.1.ebuild X-VCS-Directories: dev-python/kconfiglib/ dev-python/kconfiglib/files/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: a671de2f9e90ef15ee2ae0677a45196ae9d47f1c X-VCS-Branch: master Date: Thu, 18 Jul 2019 23:58:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 936427e4-8263-49fb-9b7e-9f8ab2a6e101 X-Archives-Hash: d562cb2ba319635e17be3b816478dd43 commit: a671de2f9e90ef15ee2ae0677a45196ae9d47f1c Author: Tim Harder gentoo org> AuthorDate: Thu Jul 18 23:56:12 2019 +0000 Commit: Tim Harder gentoo 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 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