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 7CA261382C5 for ; Mon, 1 Jun 2020 20:00:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1BD8E0835; Mon, 1 Jun 2020 20:00:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 87843E0835 for ; Mon, 1 Jun 2020 20:00:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 52EEC34EED7 for ; Mon, 1 Jun 2020 20:00:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B5ABE1C8 for ; Mon, 1 Jun 2020 20:00:36 +0000 (UTC) From: "Matthew Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Thode" Message-ID: <1591041630.f216ce5fd9fdcaefe20b7f72eca0ad8fa32e19d2.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/powerline/, app-shells/powerline/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/powerline/files/2.7-ldflags.patch app-shells/powerline/powerline-2.7-r1.ebuild app-shells/powerline/powerline-2.7.ebuild X-VCS-Directories: app-shells/powerline/files/ app-shells/powerline/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matthew Thode X-VCS-Revision: f216ce5fd9fdcaefe20b7f72eca0ad8fa32e19d2 X-VCS-Branch: master Date: Mon, 1 Jun 2020 20:00:36 +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: e3163871-ecfd-46ff-b7e7-0c572c81e368 X-Archives-Hash: 170089684f6d7e842d60c034c502bb1d commit: f216ce5fd9fdcaefe20b7f72eca0ad8fa32e19d2 Author: Matthew Thode gentoo org> AuthorDate: Mon Jun 1 20:00:16 2020 +0000 Commit: Matthew Thode gentoo org> CommitDate: Mon Jun 1 20:00:30 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f216ce5f app-shells/powerline: fix respecting ldflags Closes: https://bugs.gentoo.org/726700 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthew Thode gentoo.org> app-shells/powerline/files/2.7-ldflags.patch | 15 +++++++++++++++ .../{powerline-2.7.ebuild => powerline-2.7-r1.ebuild} | 4 ++++ 2 files changed, 19 insertions(+) diff --git a/app-shells/powerline/files/2.7-ldflags.patch b/app-shells/powerline/files/2.7-ldflags.patch new file mode 100644 index 00000000000..077c28af2a0 --- /dev/null +++ b/app-shells/powerline/files/2.7-ldflags.patch @@ -0,0 +1,15 @@ +diff -Naur powerline-status-2.7/setup.py powerline-status-2.7.new/setup.py +--- powerline-status-2.7/setup.py 2018-08-12 14:41:44.000000000 -0500 ++++ powerline-status-2.7.new/setup.py 2020-06-01 14:56:25.977968288 -0500 +@@ -30,9 +30,10 @@ + from distutils.ccompiler import new_compiler + compiler = new_compiler().compiler + cflags = os.environ.get('CFLAGS', str('-O3')) ++ ldflags = os.environ.get('LDFLAGS', str('')) + # A normal split would do a split on each space which might be incorrect. The + # shlex will not split if a space occurs in an arguments value. +- subprocess.check_call(compiler + shlex.split(cflags) + ['client/powerline.c', '-o', 'scripts/powerline']) ++ subprocess.check_call(compiler + shlex.split(cflags) + shlex.split(ldflags) + ['client/powerline.c', '-o', 'scripts/powerline']) + + try: + compile_client() diff --git a/app-shells/powerline/powerline-2.7.ebuild b/app-shells/powerline/powerline-2.7-r1.ebuild similarity index 93% rename from app-shells/powerline/powerline-2.7.ebuild rename to app-shells/powerline/powerline-2.7-r1.ebuild index 946e4c10304..623ac6d9568 100644 --- a/app-shells/powerline/powerline-2.7.ebuild +++ b/app-shells/powerline/powerline-2.7-r1.ebuild @@ -25,3 +25,7 @@ RESTRICT="!test? ( test )" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="" + +PATCHES=( + "${FILESDIR}"/2.7-ldflags.patch +)