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 EBFAB138350 for ; Mon, 20 Jan 2020 19:38:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36CDFE0877; Mon, 20 Jan 2020 19:38:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 1A82BE0877 for ; Mon, 20 Jan 2020 19:38:26 +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 347D034E305 for ; Mon, 20 Jan 2020 19:38:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 384347E for ; Mon, 20 Jan 2020 19:38:23 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1579549096.abc12b4d6fc5a276cdf82cf92066a27a9b5020a6.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/gdb/gdb-8.3.1-r1.ebuild sys-devel/gdb/gdb-9999.ebuild X-VCS-Directories: sys-devel/gdb/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: abc12b4d6fc5a276cdf82cf92066a27a9b5020a6 X-VCS-Branch: master Date: Mon, 20 Jan 2020 19:38:23 +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: d0db685a-8e7e-49bb-9a93-19bf2ca9eb9c X-Archives-Hash: 62a20e740afcf1e41fc208a4a0b151a4 commit: abc12b4d6fc5a276cdf82cf92066a27a9b5020a6 Author: Alexander Tsoy tsoy me> AuthorDate: Mon Jan 20 10:48:41 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jan 20 19:38:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abc12b4d sys-devel/gdb: call python_optimize, bug #705680 Closes: https://bugs.gentoo.org/705680 Signed-off-by: Alexander Tsoy tsoy.me> Signed-off-by: Sergei Trofimovich gentoo.org> sys-devel/gdb/{gdb-9999.ebuild => gdb-8.3.1-r1.ebuild} | 4 ++++ sys-devel/gdb/gdb-9999.ebuild | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sys-devel/gdb/gdb-9999.ebuild b/sys-devel/gdb/gdb-8.3.1-r1.ebuild similarity index 98% copy from sys-devel/gdb/gdb-9999.ebuild copy to sys-devel/gdb/gdb-8.3.1-r1.ebuild index 9fc57491538..6188f7eb4f5 100644 --- a/sys-devel/gdb/gdb-9999.ebuild +++ b/sys-devel/gdb/gdb-8.3.1-r1.ebuild @@ -244,6 +244,10 @@ src_install() { if [[ ${CHOST} == *-freebsd* ]]; then rm "${ED}"/usr/bin/gcore || die fi + + if use python; then + python_optimize "${ED}"/usr/share/gdb/python/gdb + fi } pkg_postinst() { diff --git a/sys-devel/gdb/gdb-9999.ebuild b/sys-devel/gdb/gdb-9999.ebuild index 9fc57491538..6188f7eb4f5 100644 --- a/sys-devel/gdb/gdb-9999.ebuild +++ b/sys-devel/gdb/gdb-9999.ebuild @@ -244,6 +244,10 @@ src_install() { if [[ ${CHOST} == *-freebsd* ]]; then rm "${ED}"/usr/bin/gcore || die fi + + if use python; then + python_optimize "${ED}"/usr/share/gdb/python/gdb + fi } pkg_postinst() {