From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libreport/
Date: Wed, 23 May 2018 22:30:27 +0000 (UTC) [thread overview]
Message-ID: <1527114622.ce93a9787f446e44986a48edeb68412fbc1c6a43.bman@gentoo> (raw)
commit: ce93a9787f446e44986a48edeb68412fbc1c6a43
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Wed May 23 22:29:11 2018 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Wed May 23 22:30:22 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce93a978
dev-libs/libreport: fix Python install
This fixes the Python installation when Python USE is enabled. Also,
drop ltprune eclass and strip .la files properly.
Package-Manager: Portage-2.3.38, Repoman-2.3.9
RepoMan-Options: --force
dev-libs/libreport/libreport-2.9.5.ebuild | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/dev-libs/libreport/libreport-2.9.5.ebuild b/dev-libs/libreport/libreport-2.9.5.ebuild
index fab10399795..c9250a6e69a 100644
--- a/dev-libs/libreport/libreport-2.9.5.ebuild
+++ b/dev-libs/libreport/libreport-2.9.5.ebuild
@@ -4,7 +4,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
-inherit autotools ltprune python-r1 user
+inherit autotools python-r1 user
DESCRIPTION="Generic library for reporting software bugs"
HOMEPAGE="https://github.com/abrt/libreport"
@@ -39,6 +39,7 @@ DEPEND="${COMMON_DEPEND}
app-text/asciidoc
app-text/xmlto
>=dev-util/intltool-0.3.50
+ sys-apps/systemd
>=sys-devel/gettext-0.17
virtual/pkgconfig
"
@@ -66,15 +67,23 @@ src_configure() {
--without-python2
$(usex python "--with-python3" "--without-python3")
)
+ if use python; then
+ python_foreach_impl run_in_build_dir \
+ econf "${myargs[@]}"
+ else
+ econf "${myargs[@]}"
+ fi
+}
- econf "${myargs[@]}"
+src_compile() {
+ use python && python_foreach_impl run_in_build_dir default
}
src_install() {
-
+ use python && python_foreach_impl run_in_build_dir default
# Need to set correct ownership for use by app-admin/abrt
diropts -o abrt -g abrt
keepdir /var/spool/abrt
- prune_libtool_files --modules
+ find "${D}" -name '*.la' -exec rm -f {} + || die
}
next reply other threads:[~2018-05-23 22:30 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-23 22:30 Aaron Bauman [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-13 18:36 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libreport/ Pacho Ramos
2022-03-13 18:36 Pacho Ramos
2022-01-22 9:14 Pacho Ramos
2021-09-26 10:18 Pacho Ramos
2021-09-07 15:08 Pacho Ramos
2021-09-07 15:08 Pacho Ramos
2021-08-08 12:50 Pacho Ramos
2021-05-09 19:48 Pacho Ramos
2021-05-08 17:42 Matt Turner
2021-05-01 14:07 Matt Turner
2020-11-08 16:26 Matt Turner
2020-11-08 16:26 Matt Turner
2020-08-24 22:24 Matt Turner
2020-04-26 1:54 Matt Turner
2020-03-19 2:07 Matt Turner
2020-01-28 9:39 Mart Raudsepp
2020-01-27 9:45 Mikle Kolyada
2020-01-26 22:39 Thomas Deutschmann
2019-02-23 15:59 Pacho Ramos
2018-12-12 16:30 Mikle Kolyada
2018-12-07 2:41 Thomas Deutschmann
2018-05-23 22:36 Aaron Bauman
2018-05-23 21:24 Aaron Bauman
2018-01-23 20:28 Andreas Sturmlechner
2017-07-09 20:56 Andreas Sturmlechner
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=1527114622.ce93a9787f446e44986a48edeb68412fbc1c6a43.bman@gentoo \
--to=bman@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