public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
Date: Mon, 22 Nov 2021 15:52:15 +0000 (UTC)	[thread overview]
Message-ID: <1637596325.1d184b86516d7c090deb45394e4e2d0b643de16c.soap@gentoo> (raw)

commit:     1d184b86516d7c090deb45394e4e2d0b643de16c
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 22 15:52:05 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Nov 22 15:52:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d184b86

dev-util/cppcheck: [QA] EROOT -> EPREFIX

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.4.1.ebuild | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-2.4.1.ebuild b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
index 9130c7d88401..74102100a3f2 100644
--- a/dev-util/cppcheck/cppcheck-2.4.1.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
@@ -2,8 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{3_7,3_8,3_9} )
-inherit distutils-r1 toolchain-funcs cmake
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1 cmake
 
 DESCRIPTION="Static analyzer of C/C++ code"
 HOMEPAGE="https://github.com/danmar/cppcheck"
@@ -30,6 +31,7 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig
 	z3? ( sci-mathematics/z3 )
 "
+
 PATCHES=(
 	"${FILESDIR}"/${PN}-2.4.1-limits.patch
 )
@@ -39,12 +41,11 @@ src_prepare() {
 }
 
 src_configure() {
-
 	local mycmakeargs=(
 		-DHAVE_RULES="$(usex pcre)"
 		-DBUILD_GUI="$(usex qt5)"
 		-DUSE_Z3="$(usex z3)"
-		-DFILESDIR="${EROOT}/usr/share/${PN}/"
+		-DFILESDIR="${EPREFIX}/usr/share/${PN}/"
 		-DENABLE_OSS_FUZZ=OFF
 	)
 	cmake_src_configure
@@ -63,7 +64,7 @@ src_compile() {
 src_install() {
 	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
 	emake install DESTDIR="${ED}" \
-		FILESDIR="${EROOT}/usr/share/${PN}/"
+		FILESDIR="${EPREFIX}/usr/share/${PN}/"
 
 	insinto "/usr/share/${PN}/cfg"
 	doins cfg/*.cfg
@@ -75,7 +76,7 @@ src_install() {
 		pushd htmlreport || die
 		distutils-r1_src_install
 		popd || die
-		find "${D}" -name "*.egg-info" -delete
+		find "${D}" -name "*.egg-info" -delete || die
 	else
 		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
 	fi


             reply	other threads:[~2021-11-22 15:52 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22 15:52 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-11 18:35 [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/ Arthur Zamarin
2024-09-10 10:25 Arthur Zamarin
2024-09-09 20:44 Arthur Zamarin
2024-09-09 20:44 Arthur Zamarin
2024-07-15  4:35 Sam James
2024-07-15  4:35 Sam James
2024-05-28 20:49 Sam James
2024-05-28 12:04 Michał Górny
2024-05-28 11:52 Michał Górny
2023-12-23 17:38 Sam James
2023-09-19  9:06 Sam James
2023-06-01  3:39 Sam James
2023-05-27  6:34 Arthur Zamarin
2023-05-27  6:34 Arthur Zamarin
2023-05-06 11:47 Arthur Zamarin
2023-05-03  6:33 Arthur Zamarin
2023-05-01  9:53 Sam James
2023-04-13 15:19 Matthias Maier
2023-03-07  0:18 Yixun Lan
2022-11-23  7:53 WANG Xuerui
2022-08-29 19:06 Sam James
2022-08-06  2:55 Sam James
2022-07-13  4:32 Sam James
2022-07-10 23:50 Sam James
2022-07-09  9:55 Sam James
2022-02-15 16:19 Sam James
2022-02-14 10:35 Jakov Smolić
2022-01-03 12:37 Sam James
2022-01-02  5:52 Sam James
2022-01-02  3:05 Sam James
2021-11-23 22:19 Sam James
2021-11-23 22:07 Sam James
2021-11-23 21:07 Sam James
2021-11-23 21:07 Sam James
2021-11-23 20:57 Sam James
2021-10-15  6:00 Agostino Sarubbo
2021-10-14 16:38 Sam James
2021-10-14 13:40 Agostino Sarubbo
2021-10-14  7:33 Sam James
2021-08-03 23:37 Sam James
2021-06-03  8:23 Sam James
2021-05-31  7:58 Sam James
2021-05-31  7:58 Sam James
2021-04-29  1:30 Sam James
2020-12-13 18:23 Matthias Maier
2020-12-13 18:23 Matthias Maier
2020-12-05 14:58 Guilherme Amadio
2020-12-05 14:58 Guilherme Amadio
2020-12-04  5:37 Matthias Maier
2020-06-20 18:59 Sergei Trofimovich
2020-03-29 17:56 Mart Raudsepp
2020-02-13 19:52 Sergei Trofimovich
2020-02-11 19:50 Agostino Sarubbo
2020-02-11 19:43 Agostino Sarubbo
2020-02-11 12:16 Michał Górny
2019-07-31 21:11 Aaron Bauman
2019-06-12  7:25 Sergei Trofimovich
2019-05-24 16:20 Matthias Maier
2019-05-24 16:20 Matthias Maier
2019-03-24 16:52 Matthias Maier
2019-03-24 16:52 Matthias Maier
2019-02-04  5:11 Jeroen Roovers
2019-01-18  9:27 Jeroen Roovers
2019-01-18  9:27 Jeroen Roovers
2019-01-16 15:36 Mikle Kolyada
2019-01-03 14:58 Sergei Trofimovich
2019-01-03  9:27 Sergei Trofimovich
2019-01-02 19:01 Thomas Deutschmann
2018-12-21 15:33 Jeroen Roovers
2018-12-12 15:19 Jeroen Roovers
2018-12-12 15:11 Jeroen Roovers
2018-09-18 23:04 Matt Turner
2018-08-11  9:06 Andreas Sturmlechner
2018-08-11  9:06 Andreas Sturmlechner
2018-08-11  9:06 Andreas Sturmlechner
2018-06-26 18:46 Pacho Ramos
2018-01-19 20:05 Michael Weber
2017-12-27 11:08 Sergei Trofimovich
2017-12-25  3:16 Michael Palimaka
2017-12-23 20:24 Sergei Trofimovich
2017-12-18 16:51 Jason Zaman
2017-11-23 21:44 Andreas Sturmlechner
2017-11-22 22:01 Andreas Sturmlechner
2017-11-22 22:01 Andreas Sturmlechner
2017-11-22 22:01 Andreas Sturmlechner
2017-11-22 22:01 Andreas Sturmlechner
2017-10-12  9:11 Sergei Trofimovich
2017-10-12  9:11 Sergei Trofimovich
2017-07-30  9:38 Michał Górny
2017-05-16 20:34 Michael Weber
2017-04-17  8:02 Agostino Sarubbo
2017-04-05 12:55 Agostino Sarubbo
2017-04-03 21:50 Michael Weber
2017-01-12  8:19 Michael Weber
2017-01-12  8:19 Michael Weber
2016-08-04 12:23 Michael Weber
2016-06-13 19:39 Michael Weber
2016-05-07 21:55 Michael Weber
2016-03-14 22:12 Agostino Sarubbo
2015-09-15 15:16 Michael Weber

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=1637596325.1d184b86516d7c090deb45394e4e2d0b643de16c.soap@gentoo \
    --to=soap@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