public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2015-09-15 15:16 Michael Weber
  0 siblings, 0 replies; 101+ messages in thread
From: Michael Weber @ 2015-09-15 15:16 UTC (permalink / raw
  To: gentoo-commits

commit:     5cd4c02e451a68d14221c4a419bd343c7330e22f
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 15 15:14:47 2015 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Tue Sep 15 15:15:49 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cd4c02e

dev-util/cppcheck: Version bump (bug 560104, thanks Christian Strahl).

Package-Manager: portage-2.2.20.1

 dev-util/cppcheck/Manifest             |   1 +
 dev-util/cppcheck/cppcheck-1.70.ebuild | 106 +++++++++++++++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index b8ce7b8..237e644 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1 +1,2 @@
 DIST cppcheck-1.69.tar.bz2 1052984 SHA256 4bd5c8031258ef29764a4c92666384238a625beecbb2aceeb7065ec388c7532e SHA512 30f239bcdf4cb1fcc254271bf55f3fdc1ec22e7d26f0704218390cfce1d4cf3ef41f385f4e463ede1a1a401e87d81b1d66a462c7b07e045d46aebd2354384a01 WHIRLPOOL e341c8b8f133fd19188700d53d6f02ab5deffc10fdfedbc9474931596850c10027a91e445998a3884f8f30908581e428fe4c629397b14660a0fe7b852e48b3a4
+DIST cppcheck-1.70.tar.bz2 1111291 SHA256 c6aaafd41b4c2050f3fb96a4aa159507007403a163d05361bd9544e5baf18f39 SHA512 c2223edce22739e555eca114bc39d8f66229ec26fb122c976e3dcf88957bfd6b37c170e183f22611ea2d17ac22b33da78440f820c044f6099ac901bd6c4f1b8d WHIRLPOOL 0b6c52d13ff8c9c8dfdf383e419edd311a484a89d695dbf9409f1ea608c1dc5bbc20fcb03bc0469495a35b61a43a90ccf1e76cd191cf28326f929020d66083b6

diff --git a/dev-util/cppcheck/cppcheck-1.70.ebuild b/dev-util/cppcheck/cppcheck-1.70.ebuild
new file mode 100644
index 0000000..74b0df9
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.70.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1 eutils flag-o-matic qt4-r2 toolchain-funcs
+
+DESCRIPTION="static analyzer of C/C++ code"
+HOMEPAGE="http://cppcheck.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="htmlreport pcre qt4"
+
+RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	>=dev-libs/tinyxml2-2
+	qt4? ( dev-qt/qtgui:4 )
+	pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig"
+
+src_prepare() {
+	# Drop bundled libs, patch Makefile generator and re-run it
+	rm -r externals || die
+	epatch "${FILESDIR}"/${PN}-1.69-tinyxml2.patch
+	tc-export CXX
+	emake dmake
+	./dmake || die
+
+	epatch "${FILESDIR}"/${PN}-1.69-c++0x.patch
+
+	epatch_user
+}
+
+src_configure() {
+	if use pcre ; then
+		sed -e '/HAVE_RULES=/s:=no:=yes:' \
+			-i Makefile
+	fi
+	if use qt4 ; then
+		pushd gui
+		qt4-r2_src_configure
+		popd
+	fi
+}
+
+src_compile() {
+	export LIBS="$(pkg-config --libs tinyxml2)"
+	emake ${PN} man \
+		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
+		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
+
+	if use qt4 ; then
+		pushd gui
+		qt4-r2_src_compile
+		popd
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_compile
+		popd
+	fi
+}
+
+src_test() {
+	# safe final version
+	mv -v ${PN}{,.final}
+	mv -v lib/library.o{,.final}
+	mv -v cli/cppcheckexecutor.o{,.final}
+	#trigger recompile with CFGDIR inside ${S}
+	emake check CFGDIR="${S}/cfg"
+	# restore
+	mv -v ${PN}{.final,}
+	mv -v lib/library.o{.final,}
+	mv -v cli/cppcheckexecutor.o{.final,}
+}
+
+src_install() {
+	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
+	emake install DESTDIR="${ED}"
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+	if use qt4 ; then
+		dobin gui/${PN}-gui
+		dodoc readme_gui.txt gui/{projectfile.txt,gui.${PN}}
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_install
+		popd
+		find "${D}" -name "*.egg-info" -delete
+	else
+		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
+	fi
+	doman ${PN}.1
+	dodoc readme.txt
+	dodoc -r triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2016-03-14 22:12 Agostino Sarubbo
  0 siblings, 0 replies; 101+ messages in thread
From: Agostino Sarubbo @ 2016-03-14 22:12 UTC (permalink / raw
  To: gentoo-commits

commit:     3e5c364da4ec37dfe5fac407038e14778f6ab4c3
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 14 22:10:50 2016 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Mar 14 22:10:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e5c364d

dev-util/cppcheck: amd64 stable wrt bug #576702

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.72.ebuild b/dev-util/cppcheck/cppcheck-1.72.ebuild
index e42c03c..7268e4d 100644
--- a/dev-util/cppcheck/cppcheck-1.72.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.72.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
 IUSE="htmlreport pcre qt4"
 
 RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2016-05-07 21:55 Michael Weber
  0 siblings, 0 replies; 101+ messages in thread
From: Michael Weber @ 2016-05-07 21:55 UTC (permalink / raw
  To: gentoo-commits

commit:     e3859c0744b6d20ed6022e6b12d2e682f2eaf2fb
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Sat May  7 21:54:35 2016 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Sat May  7 21:55:24 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3859c07

dev-util/cppcheck: Version bump (thanks Christian Strahl for the hint, bug 579758).

Package-Manager: portage-2.2.28

 dev-util/cppcheck/Manifest             |   1 +
 dev-util/cppcheck/cppcheck-1.73.ebuild | 105 +++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 5deca44..194836e 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1 +1,2 @@
 DIST cppcheck-1.72.tar.bz2 1125775 SHA256 9460b184ff2d8dd15344f3e2f42f634c86e4dd3303e1e9b3f13dc67536aab420 SHA512 13b2348c97a3777feaad579f8620f18d90f6f934f92f5db712c7190af1f40042527500aefa4c8ccd348f7691b1c0d5f32115085c9385dec55460d5ba0804a410 WHIRLPOOL 790514f4b5b9c539a30daa691d268c6c5f1077743cde1af8834248eb4213224275e9f72cea46f3b378119a3d0944d7e8d63270c0cd47517c7f382c683a1938fe
+DIST cppcheck-1.73.tar.bz2 1147270 SHA256 36f68354734310203c285fac17aed47bb82131fc0487145b9c0386301cd5fe50 SHA512 a703cb47016982c27509bd46fa601b5baf359b0c44be188e2f5fe7d64b2accc392af5aa803a5e298b778f15b979585781ecd1459c8d2dd8b033f34cb1bad15a7 WHIRLPOOL 1ecbcd36f3ed36c0db3a9e6c99b730c164c5e4a680dfa1f6b3a84df5a9e4e7ca0ab902d34306dcaf12c9ffd686fbac4492f07b12b99d862d9152db6ffeac377c

diff --git a/dev-util/cppcheck/cppcheck-1.73.ebuild b/dev-util/cppcheck/cppcheck-1.73.ebuild
new file mode 100644
index 0000000..34c8313
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.73.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
+
+DESCRIPTION="static analyzer of C/C++ code"
+HOMEPAGE="http://cppcheck.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="htmlreport pcre qt4"
+
+RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	>=dev-libs/tinyxml2-2
+	qt4? ( dev-qt/qtgui:4 )
+	pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig"
+
+src_prepare() {
+	append-cxxflags -std=c++0x
+
+	# Drop bundled libs, patch Makefile generator and re-run it
+	rm -r externals || die
+	epatch "${FILESDIR}"/${PN}-1.72-tinyxml2.patch
+	tc-export CXX
+	emake dmake
+	./dmake || die
+
+	epatch_user
+}
+
+src_configure() {
+	if use pcre ; then
+		sed -e '/HAVE_RULES=/s:=no:=yes:' \
+			-i Makefile
+	fi
+	if use qt4 ; then
+		pushd gui
+		qt4-r2_src_configure
+		popd
+	fi
+}
+
+src_compile() {
+	export LIBS="$(pkg-config --libs tinyxml2)"
+	emake ${PN} man \
+		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
+		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
+
+	if use qt4 ; then
+		pushd gui
+		qt4-r2_src_compile
+		popd
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_compile
+		popd
+	fi
+}
+
+src_test() {
+	# safe final version
+	mv -v ${PN}{,.final}
+	mv -v lib/library.o{,.final}
+	mv -v cli/cppcheckexecutor.o{,.final}
+	#trigger recompile with CFGDIR inside ${S}
+	emake check CFGDIR="${S}/cfg"
+	# restore
+	mv -v ${PN}{.final,}
+	mv -v lib/library.o{.final,}
+	mv -v cli/cppcheckexecutor.o{.final,}
+}
+
+src_install() {
+	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
+	emake install DESTDIR="${ED}"
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+	if use qt4 ; then
+		dobin gui/${PN}-gui
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_install
+		popd
+		find "${D}" -name "*.egg-info" -delete
+	else
+		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
+	fi
+	doman ${PN}.1
+	dodoc -r triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2016-06-13 19:39 Michael Weber
  0 siblings, 0 replies; 101+ messages in thread
From: Michael Weber @ 2016-06-13 19:39 UTC (permalink / raw
  To: gentoo-commits

commit:     086ffb5e18a2f158eaffbbb88152f31fee72a3ec
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 13 19:36:31 2016 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 19:36:59 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=086ffb5e

dev-util/cppcheck: Version bump, thanks Christian Strahl, bug 585444.

Package-Manager: portage-2.2.28

 dev-util/cppcheck/Manifest             |   1 +
 dev-util/cppcheck/cppcheck-1.74.ebuild | 105 +++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 194836e..1c94c4e 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,2 +1,3 @@
 DIST cppcheck-1.72.tar.bz2 1125775 SHA256 9460b184ff2d8dd15344f3e2f42f634c86e4dd3303e1e9b3f13dc67536aab420 SHA512 13b2348c97a3777feaad579f8620f18d90f6f934f92f5db712c7190af1f40042527500aefa4c8ccd348f7691b1c0d5f32115085c9385dec55460d5ba0804a410 WHIRLPOOL 790514f4b5b9c539a30daa691d268c6c5f1077743cde1af8834248eb4213224275e9f72cea46f3b378119a3d0944d7e8d63270c0cd47517c7f382c683a1938fe
 DIST cppcheck-1.73.tar.bz2 1147270 SHA256 36f68354734310203c285fac17aed47bb82131fc0487145b9c0386301cd5fe50 SHA512 a703cb47016982c27509bd46fa601b5baf359b0c44be188e2f5fe7d64b2accc392af5aa803a5e298b778f15b979585781ecd1459c8d2dd8b033f34cb1bad15a7 WHIRLPOOL 1ecbcd36f3ed36c0db3a9e6c99b730c164c5e4a680dfa1f6b3a84df5a9e4e7ca0ab902d34306dcaf12c9ffd686fbac4492f07b12b99d862d9152db6ffeac377c
+DIST cppcheck-1.74.tar.bz2 1151321 SHA256 c05b2f7e4619326f4cbdf6465d517cd0e37349e1221356470d75a97ca35fc254 SHA512 aa77747618ae16d796c428dc5931dc39bb51774dcdbea740c5cfc0f353c3b825c9673c84d0f2196cb8749f54c66f2d358f45b372aa5db9b057d3de740d852f01 WHIRLPOOL 07aa11a0e5478ea9c7eafa79359259d3570424d3a7dfd0ad2d623a69157d09fbdb2f72ce576d19db142d67a69b2b0663b7e37d42d2ea5781401eb6723123dd1b

diff --git a/dev-util/cppcheck/cppcheck-1.74.ebuild b/dev-util/cppcheck/cppcheck-1.74.ebuild
new file mode 100644
index 0000000..34c8313
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.74.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
+
+DESCRIPTION="static analyzer of C/C++ code"
+HOMEPAGE="http://cppcheck.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="htmlreport pcre qt4"
+
+RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	>=dev-libs/tinyxml2-2
+	qt4? ( dev-qt/qtgui:4 )
+	pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig"
+
+src_prepare() {
+	append-cxxflags -std=c++0x
+
+	# Drop bundled libs, patch Makefile generator and re-run it
+	rm -r externals || die
+	epatch "${FILESDIR}"/${PN}-1.72-tinyxml2.patch
+	tc-export CXX
+	emake dmake
+	./dmake || die
+
+	epatch_user
+}
+
+src_configure() {
+	if use pcre ; then
+		sed -e '/HAVE_RULES=/s:=no:=yes:' \
+			-i Makefile
+	fi
+	if use qt4 ; then
+		pushd gui
+		qt4-r2_src_configure
+		popd
+	fi
+}
+
+src_compile() {
+	export LIBS="$(pkg-config --libs tinyxml2)"
+	emake ${PN} man \
+		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
+		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
+
+	if use qt4 ; then
+		pushd gui
+		qt4-r2_src_compile
+		popd
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_compile
+		popd
+	fi
+}
+
+src_test() {
+	# safe final version
+	mv -v ${PN}{,.final}
+	mv -v lib/library.o{,.final}
+	mv -v cli/cppcheckexecutor.o{,.final}
+	#trigger recompile with CFGDIR inside ${S}
+	emake check CFGDIR="${S}/cfg"
+	# restore
+	mv -v ${PN}{.final,}
+	mv -v lib/library.o{.final,}
+	mv -v cli/cppcheckexecutor.o{.final,}
+}
+
+src_install() {
+	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
+	emake install DESTDIR="${ED}"
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+	if use qt4 ; then
+		dobin gui/${PN}-gui
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_install
+		popd
+		find "${D}" -name "*.egg-info" -delete
+	else
+		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
+	fi
+	doman ${PN}.1
+	dodoc -r triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2016-08-04 12:23 Michael Weber
  0 siblings, 0 replies; 101+ messages in thread
From: Michael Weber @ 2016-08-04 12:23 UTC (permalink / raw
  To: gentoo-commits

commit:     28195bf0721589908f8755c2af9b161afea75b15
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  4 12:23:31 2016 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu Aug  4 12:23:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28195bf0

dev-util/cppcheck: Restrict >=dev-libs/tinyxml2-4 (bug 590428).

Package-Manager: portage-2.2.28

 dev-util/cppcheck/cppcheck-1.72.ebuild | 1 +
 dev-util/cppcheck/cppcheck-1.73.ebuild | 1 +
 dev-util/cppcheck/cppcheck-1.74.ebuild | 1 +
 3 files changed, 3 insertions(+)

diff --git a/dev-util/cppcheck/cppcheck-1.72.ebuild b/dev-util/cppcheck/cppcheck-1.72.ebuild
index adea865..bc2255b 100644
--- a/dev-util/cppcheck/cppcheck-1.72.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.72.ebuild
@@ -19,6 +19,7 @@ IUSE="htmlreport pcre qt4"
 
 RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
 	>=dev-libs/tinyxml2-2
+	<dev-libs/tinyxml2-4
 	qt4? ( dev-qt/qtgui:4 )
 	pcre? ( dev-libs/libpcre )"
 DEPEND="${RDEPEND}

diff --git a/dev-util/cppcheck/cppcheck-1.73.ebuild b/dev-util/cppcheck/cppcheck-1.73.ebuild
index 34c8313..a03a9b1 100644
--- a/dev-util/cppcheck/cppcheck-1.73.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.73.ebuild
@@ -19,6 +19,7 @@ IUSE="htmlreport pcre qt4"
 
 RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
 	>=dev-libs/tinyxml2-2
+	<dev-libs/tinyxml2-4
 	qt4? ( dev-qt/qtgui:4 )
 	pcre? ( dev-libs/libpcre )"
 DEPEND="${RDEPEND}

diff --git a/dev-util/cppcheck/cppcheck-1.74.ebuild b/dev-util/cppcheck/cppcheck-1.74.ebuild
index 34c8313..a03a9b1 100644
--- a/dev-util/cppcheck/cppcheck-1.74.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.74.ebuild
@@ -19,6 +19,7 @@ IUSE="htmlreport pcre qt4"
 
 RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
 	>=dev-libs/tinyxml2-2
+	<dev-libs/tinyxml2-4
 	qt4? ( dev-qt/qtgui:4 )
 	pcre? ( dev-libs/libpcre )"
 DEPEND="${RDEPEND}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-01-12  8:19 Michael Weber
  0 siblings, 0 replies; 101+ messages in thread
From: Michael Weber @ 2017-01-12  8:19 UTC (permalink / raw
  To: gentoo-commits

commit:     c9cfafd751c31b7e810eb541702e3c6e15b68ab7
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 12 08:18:30 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 08:18:30 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9cfafd7

dev-util/cppcheck: Version bump (thanks Christian Strahl, bug 596854).

Package-Manager: portage-2.2.28

 dev-util/cppcheck/Manifest             |   1 +
 dev-util/cppcheck/cppcheck-1.77.ebuild | 105 +++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index e583491..eda3696 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,2 +1,3 @@
 DIST cppcheck-1.72.tar.bz2 1125775 SHA256 9460b184ff2d8dd15344f3e2f42f634c86e4dd3303e1e9b3f13dc67536aab420 SHA512 13b2348c97a3777feaad579f8620f18d90f6f934f92f5db712c7190af1f40042527500aefa4c8ccd348f7691b1c0d5f32115085c9385dec55460d5ba0804a410 WHIRLPOOL 790514f4b5b9c539a30daa691d268c6c5f1077743cde1af8834248eb4213224275e9f72cea46f3b378119a3d0944d7e8d63270c0cd47517c7f382c683a1938fe
 DIST cppcheck-1.75.tar.bz2 1152511 SHA256 57c70043c1330ed915cbd1a17ecc5408f2637a05062970508e990b1ba28760a0 SHA512 74116a7a2cd1c8c9a06c81f3f4de3de281f24ee30692729de5506dc7572ed694e55c32d1ad72196a9b95005e9f8d749bd82655323f8ff56051997c2ffc4ed57f WHIRLPOOL a42979e35041d382b1df755b0cdfb4c51951388d2b097856fa08b3ca6b39bdd99a13809a8b514b1fc0502ac0183a08e0f1ed742100e38a14ee2f7337ddda1f01
+DIST cppcheck-1.77.tar.bz2 1188453 SHA256 1980ffe5c9c24bb6dea24514d42be3aa49d6ba7cc26c448b3543611fe8ba2619 SHA512 df8dddf7758c342d45b3393246e07eaa11a53dca19e8a0d09de04f12ea6232538941328d9ca9ac52eb425871fd1c49d55c77e6e38b40772b6f856fd1e9e99779 WHIRLPOOL 9f7842eba0f53a999993dbd23d09c10e5bd3dcca5ecbb0689e4ded8c7529d84fd939a57ce9cd267cdd21b2d79aeb6c07d672983ccb52be0fcc0b28ca80a31b59

diff --git a/dev-util/cppcheck/cppcheck-1.77.ebuild b/dev-util/cppcheck/cppcheck-1.77.ebuild
new file mode 100644
index 00000000..0a47641
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.77.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
+
+DESCRIPTION="static analyzer of C/C++ code"
+HOMEPAGE="http://cppcheck.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="htmlreport pcre qt4"
+
+RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	>=dev-libs/tinyxml2-2
+	qt4? ( dev-qt/qtgui:4 )
+	pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig"
+
+src_prepare() {
+	append-cxxflags -std=c++0x
+
+	# Drop bundled libs, patch Makefile generator and re-run it
+	rm -r externals/tinyxml || die
+	epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch
+	tc-export CXX
+	emake dmake
+	./dmake || die
+
+	default
+}
+
+src_configure() {
+	if use pcre ; then
+		sed -e '/HAVE_RULES=/s:=no:=yes:' \
+			-i Makefile
+	fi
+	if use qt4 ; then
+		pushd gui
+		qt4-r2_src_configure
+		popd
+	fi
+}
+
+src_compile() {
+	export LIBS="$(pkg-config --libs tinyxml2)"
+	emake ${PN} man \
+		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
+		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
+
+	if use qt4 ; then
+		pushd gui
+		qt4-r2_src_compile
+		popd
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_compile
+		popd
+	fi
+}
+
+src_test() {
+	# safe final version
+	mv -v ${PN}{,.final}
+	mv -v lib/library.o{,.final}
+	mv -v cli/cppcheckexecutor.o{,.final}
+	#trigger recompile with CFGDIR inside ${S}
+	emake check CFGDIR="${S}/cfg"
+	# restore
+	mv -v ${PN}{.final,}
+	mv -v lib/library.o{.final,}
+	mv -v cli/cppcheckexecutor.o{.final,}
+}
+
+src_install() {
+	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
+	emake install DESTDIR="${ED}"
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+	if use qt4 ; then
+		dobin gui/${PN}-gui
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_install
+		popd
+		find "${D}" -name "*.egg-info" -delete
+	else
+		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
+	fi
+	doman ${PN}.1
+	dodoc -r triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-01-12  8:19 Michael Weber
  0 siblings, 0 replies; 101+ messages in thread
From: Michael Weber @ 2017-01-12  8:19 UTC (permalink / raw
  To: gentoo-commits

commit:     c60c7dc1f02660ff3d9b61398d71f5d9b9524044
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 12 08:04:33 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 08:04:33 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60c7dc1

dev-util/cppcheck: Drop older versions.

Package-Manager: portage-2.2.28

 dev-util/cppcheck/Manifest             |   2 -
 dev-util/cppcheck/cppcheck-1.73.ebuild | 106 ---------------------------------
 dev-util/cppcheck/cppcheck-1.74.ebuild | 106 ---------------------------------
 3 files changed, 214 deletions(-)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 95505df..e583491 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,4 +1,2 @@
 DIST cppcheck-1.72.tar.bz2 1125775 SHA256 9460b184ff2d8dd15344f3e2f42f634c86e4dd3303e1e9b3f13dc67536aab420 SHA512 13b2348c97a3777feaad579f8620f18d90f6f934f92f5db712c7190af1f40042527500aefa4c8ccd348f7691b1c0d5f32115085c9385dec55460d5ba0804a410 WHIRLPOOL 790514f4b5b9c539a30daa691d268c6c5f1077743cde1af8834248eb4213224275e9f72cea46f3b378119a3d0944d7e8d63270c0cd47517c7f382c683a1938fe
-DIST cppcheck-1.73.tar.bz2 1147270 SHA256 36f68354734310203c285fac17aed47bb82131fc0487145b9c0386301cd5fe50 SHA512 a703cb47016982c27509bd46fa601b5baf359b0c44be188e2f5fe7d64b2accc392af5aa803a5e298b778f15b979585781ecd1459c8d2dd8b033f34cb1bad15a7 WHIRLPOOL 1ecbcd36f3ed36c0db3a9e6c99b730c164c5e4a680dfa1f6b3a84df5a9e4e7ca0ab902d34306dcaf12c9ffd686fbac4492f07b12b99d862d9152db6ffeac377c
-DIST cppcheck-1.74.tar.bz2 1151321 SHA256 c05b2f7e4619326f4cbdf6465d517cd0e37349e1221356470d75a97ca35fc254 SHA512 aa77747618ae16d796c428dc5931dc39bb51774dcdbea740c5cfc0f353c3b825c9673c84d0f2196cb8749f54c66f2d358f45b372aa5db9b057d3de740d852f01 WHIRLPOOL 07aa11a0e5478ea9c7eafa79359259d3570424d3a7dfd0ad2d623a69157d09fbdb2f72ce576d19db142d67a69b2b0663b7e37d42d2ea5781401eb6723123dd1b
 DIST cppcheck-1.75.tar.bz2 1152511 SHA256 57c70043c1330ed915cbd1a17ecc5408f2637a05062970508e990b1ba28760a0 SHA512 74116a7a2cd1c8c9a06c81f3f4de3de281f24ee30692729de5506dc7572ed694e55c32d1ad72196a9b95005e9f8d749bd82655323f8ff56051997c2ffc4ed57f WHIRLPOOL a42979e35041d382b1df755b0cdfb4c51951388d2b097856fa08b3ca6b39bdd99a13809a8b514b1fc0502ac0183a08e0f1ed742100e38a14ee2f7337ddda1f01

diff --git a/dev-util/cppcheck/cppcheck-1.73.ebuild b/dev-util/cppcheck/cppcheck-1.73.ebuild
deleted file mode 100644
index 3fac025..00000000
--- a/dev-util/cppcheck/cppcheck-1.73.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-
-inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
-
-DESCRIPTION="static analyzer of C/C++ code"
-HOMEPAGE="http://cppcheck.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="htmlreport pcre qt4"
-
-RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
-	>=dev-libs/tinyxml2-2
-	<dev-libs/tinyxml2-4
-	qt4? ( dev-qt/qtgui:4 )
-	pcre? ( dev-libs/libpcre )"
-DEPEND="${RDEPEND}
-	app-text/docbook-xsl-stylesheets
-	dev-libs/libxslt
-	virtual/pkgconfig"
-
-src_prepare() {
-	append-cxxflags -std=c++0x
-
-	# Drop bundled libs, patch Makefile generator and re-run it
-	rm -r externals || die
-	epatch "${FILESDIR}"/${PN}-1.72-tinyxml2.patch
-	tc-export CXX
-	emake dmake
-	./dmake || die
-
-	epatch_user
-}
-
-src_configure() {
-	if use pcre ; then
-		sed -e '/HAVE_RULES=/s:=no:=yes:' \
-			-i Makefile
-	fi
-	if use qt4 ; then
-		pushd gui
-		qt4-r2_src_configure
-		popd
-	fi
-}
-
-src_compile() {
-	export LIBS="$(pkg-config --libs tinyxml2)"
-	emake ${PN} man \
-		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
-		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
-
-	if use qt4 ; then
-		pushd gui
-		qt4-r2_src_compile
-		popd
-	fi
-	if use htmlreport ; then
-		pushd htmlreport
-		distutils-r1_src_compile
-		popd
-	fi
-}
-
-src_test() {
-	# safe final version
-	mv -v ${PN}{,.final}
-	mv -v lib/library.o{,.final}
-	mv -v cli/cppcheckexecutor.o{,.final}
-	#trigger recompile with CFGDIR inside ${S}
-	emake check CFGDIR="${S}/cfg"
-	# restore
-	mv -v ${PN}{.final,}
-	mv -v lib/library.o{.final,}
-	mv -v cli/cppcheckexecutor.o{.final,}
-}
-
-src_install() {
-	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
-	emake install DESTDIR="${ED}"
-
-	insinto "/usr/share/${PN}/cfg"
-	doins cfg/*.cfg
-	if use qt4 ; then
-		dobin gui/${PN}-gui
-		dodoc gui/{projectfile.txt,gui.${PN}}
-	fi
-	if use htmlreport ; then
-		pushd htmlreport
-		distutils-r1_src_install
-		popd
-		find "${D}" -name "*.egg-info" -delete
-	else
-		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
-	fi
-	doman ${PN}.1
-	dodoc -r triage
-}

diff --git a/dev-util/cppcheck/cppcheck-1.74.ebuild b/dev-util/cppcheck/cppcheck-1.74.ebuild
deleted file mode 100644
index 3fac025..00000000
--- a/dev-util/cppcheck/cppcheck-1.74.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-
-inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
-
-DESCRIPTION="static analyzer of C/C++ code"
-HOMEPAGE="http://cppcheck.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="htmlreport pcre qt4"
-
-RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
-	>=dev-libs/tinyxml2-2
-	<dev-libs/tinyxml2-4
-	qt4? ( dev-qt/qtgui:4 )
-	pcre? ( dev-libs/libpcre )"
-DEPEND="${RDEPEND}
-	app-text/docbook-xsl-stylesheets
-	dev-libs/libxslt
-	virtual/pkgconfig"
-
-src_prepare() {
-	append-cxxflags -std=c++0x
-
-	# Drop bundled libs, patch Makefile generator and re-run it
-	rm -r externals || die
-	epatch "${FILESDIR}"/${PN}-1.72-tinyxml2.patch
-	tc-export CXX
-	emake dmake
-	./dmake || die
-
-	epatch_user
-}
-
-src_configure() {
-	if use pcre ; then
-		sed -e '/HAVE_RULES=/s:=no:=yes:' \
-			-i Makefile
-	fi
-	if use qt4 ; then
-		pushd gui
-		qt4-r2_src_configure
-		popd
-	fi
-}
-
-src_compile() {
-	export LIBS="$(pkg-config --libs tinyxml2)"
-	emake ${PN} man \
-		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
-		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
-
-	if use qt4 ; then
-		pushd gui
-		qt4-r2_src_compile
-		popd
-	fi
-	if use htmlreport ; then
-		pushd htmlreport
-		distutils-r1_src_compile
-		popd
-	fi
-}
-
-src_test() {
-	# safe final version
-	mv -v ${PN}{,.final}
-	mv -v lib/library.o{,.final}
-	mv -v cli/cppcheckexecutor.o{,.final}
-	#trigger recompile with CFGDIR inside ${S}
-	emake check CFGDIR="${S}/cfg"
-	# restore
-	mv -v ${PN}{.final,}
-	mv -v lib/library.o{.final,}
-	mv -v cli/cppcheckexecutor.o{.final,}
-}
-
-src_install() {
-	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
-	emake install DESTDIR="${ED}"
-
-	insinto "/usr/share/${PN}/cfg"
-	doins cfg/*.cfg
-	if use qt4 ; then
-		dobin gui/${PN}-gui
-		dodoc gui/{projectfile.txt,gui.${PN}}
-	fi
-	if use htmlreport ; then
-		pushd htmlreport
-		distutils-r1_src_install
-		popd
-		find "${D}" -name "*.egg-info" -delete
-	else
-		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
-	fi
-	doman ${PN}.1
-	dodoc -r triage
-}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-04-03 21:50 Michael Weber
  0 siblings, 0 replies; 101+ messages in thread
From: Michael Weber @ 2017-04-03 21:50 UTC (permalink / raw
  To: gentoo-commits

commit:     f439efc36affaf3ac2ea402e25032f7f6ca76711
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  3 21:49:47 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Mon Apr  3 21:50:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f439efc3

dev-util/cppcheck: Version bump (bug 614562, thanks Jens Lindenmeier).

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-util/cppcheck/Manifest             |   1 +
 dev-util/cppcheck/cppcheck-1.78.ebuild | 104 +++++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index eda36963604..3d83dd57558 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,3 +1,4 @@
 DIST cppcheck-1.72.tar.bz2 1125775 SHA256 9460b184ff2d8dd15344f3e2f42f634c86e4dd3303e1e9b3f13dc67536aab420 SHA512 13b2348c97a3777feaad579f8620f18d90f6f934f92f5db712c7190af1f40042527500aefa4c8ccd348f7691b1c0d5f32115085c9385dec55460d5ba0804a410 WHIRLPOOL 790514f4b5b9c539a30daa691d268c6c5f1077743cde1af8834248eb4213224275e9f72cea46f3b378119a3d0944d7e8d63270c0cd47517c7f382c683a1938fe
 DIST cppcheck-1.75.tar.bz2 1152511 SHA256 57c70043c1330ed915cbd1a17ecc5408f2637a05062970508e990b1ba28760a0 SHA512 74116a7a2cd1c8c9a06c81f3f4de3de281f24ee30692729de5506dc7572ed694e55c32d1ad72196a9b95005e9f8d749bd82655323f8ff56051997c2ffc4ed57f WHIRLPOOL a42979e35041d382b1df755b0cdfb4c51951388d2b097856fa08b3ca6b39bdd99a13809a8b514b1fc0502ac0183a08e0f1ed742100e38a14ee2f7337ddda1f01
 DIST cppcheck-1.77.tar.bz2 1188453 SHA256 1980ffe5c9c24bb6dea24514d42be3aa49d6ba7cc26c448b3543611fe8ba2619 SHA512 df8dddf7758c342d45b3393246e07eaa11a53dca19e8a0d09de04f12ea6232538941328d9ca9ac52eb425871fd1c49d55c77e6e38b40772b6f856fd1e9e99779 WHIRLPOOL 9f7842eba0f53a999993dbd23d09c10e5bd3dcca5ecbb0689e4ded8c7529d84fd939a57ce9cd267cdd21b2d79aeb6c07d672983ccb52be0fcc0b28ca80a31b59
+DIST cppcheck-1.78.tar.bz2 1201959 SHA256 e42696f7d6321b98cb479ad9728d051effe543b26aca8102428f60b9850786b1 SHA512 598556e9d657a3a77ff889cb6647291160017f7f9322326771416ff59d44126ce47c39767657b863cdb8a1b46d7c83bb337ec2fe0574500b37e99c33377b5dd8 WHIRLPOOL 2087ad837353d01bca828af940c427909a3e556e97e46d1822e0f2f527619c87b15d1a7f647992dd46eb3a2ef1eb4fb86344db31d7a01fb6f8a9070dfeecef96

diff --git a/dev-util/cppcheck/cppcheck-1.78.ebuild b/dev-util/cppcheck/cppcheck-1.78.ebuild
new file mode 100644
index 00000000000..fcdd220729f
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.78.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
+
+DESCRIPTION="static analyzer of C/C++ code"
+HOMEPAGE="http://cppcheck.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="htmlreport pcre qt4"
+
+RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	>=dev-libs/tinyxml2-2
+	qt4? ( dev-qt/qtgui:4 )
+	pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig"
+
+src_prepare() {
+	append-cxxflags -std=c++0x
+
+	# Drop bundled libs, patch Makefile generator and re-run it
+	rm -r externals/tinyxml || die
+	epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch
+	tc-export CXX
+	emake dmake
+	./dmake || die
+
+	default
+}
+
+src_configure() {
+	if use pcre ; then
+		sed -e '/HAVE_RULES=/s:=no:=yes:' \
+			-i Makefile
+	fi
+	if use qt4 ; then
+		pushd gui
+		qt4-r2_src_configure
+		popd
+	fi
+}
+
+src_compile() {
+	export LIBS="$(pkg-config --libs tinyxml2)"
+	emake ${PN} man \
+		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
+		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
+
+	if use qt4 ; then
+		pushd gui
+		qt4-r2_src_compile
+		popd
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_compile
+		popd
+	fi
+}
+
+src_test() {
+	# safe final version
+	mv -v ${PN}{,.final}
+	mv -v lib/library.o{,.final}
+	mv -v cli/cppcheckexecutor.o{,.final}
+	#trigger recompile with CFGDIR inside ${S}
+	emake check CFGDIR="${S}/cfg"
+	# restore
+	mv -v ${PN}{.final,}
+	mv -v lib/library.o{.final,}
+	mv -v cli/cppcheckexecutor.o{.final,}
+}
+
+src_install() {
+	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
+	emake install DESTDIR="${ED}"
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+	if use qt4 ; then
+		dobin gui/${PN}-gui
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_install
+		popd
+		find "${D}" -name "*.egg-info" -delete
+	else
+		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
+	fi
+	doman ${PN}.1
+	dodoc -r triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-04-05 12:55 Agostino Sarubbo
  0 siblings, 0 replies; 101+ messages in thread
From: Agostino Sarubbo @ 2017-04-05 12:55 UTC (permalink / raw
  To: gentoo-commits

commit:     93789028fc79c0e51c8e68ac04d8085a1cc395a3
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  5 12:54:54 2017 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Apr  5 12:54:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93789028

dev-util/cppcheck: amd64 stable wrt bug #614586

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.77.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.77.ebuild b/dev-util/cppcheck/cppcheck-1.77.ebuild
index fcdd220729f..1f6c354fcf0 100644
--- a/dev-util/cppcheck/cppcheck-1.77.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.77.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
 IUSE="htmlreport pcre qt4"
 
 RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-04-17  8:02 Agostino Sarubbo
  0 siblings, 0 replies; 101+ messages in thread
From: Agostino Sarubbo @ 2017-04-17  8:02 UTC (permalink / raw
  To: gentoo-commits

commit:     e2d0921c65808bcb3bc6865c3a8e596201506876
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 17 08:00:30 2017 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Apr 17 08:02:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2d0921c

dev-util/cppcheck: x86 stable wrt bug #614586

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.77.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.77.ebuild b/dev-util/cppcheck/cppcheck-1.77.ebuild
index 1f6c354fcf0..f4ad03600e8 100644
--- a/dev-util/cppcheck/cppcheck-1.77.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.77.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm x86"
 IUSE="htmlreport pcre qt4"
 
 RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-05-16 20:34 Michael Weber
  0 siblings, 0 replies; 101+ messages in thread
From: Michael Weber @ 2017-05-16 20:34 UTC (permalink / raw
  To: gentoo-commits

commit:     0f8a67adeb4dfbef85e489bc04fc17d87beaefa6
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 20:33:06 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Tue May 16 20:34:45 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f8a67ad

dev-util/cppcheck: Version bump (bug 618650, thanks Jens Lindenmeier).

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-util/cppcheck/Manifest             |   1 +
 dev-util/cppcheck/cppcheck-1.79.ebuild | 104 +++++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 32c7ec74e29..f4445de6e83 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,2 +1,3 @@
 DIST cppcheck-1.77.tar.bz2 1188453 SHA256 1980ffe5c9c24bb6dea24514d42be3aa49d6ba7cc26c448b3543611fe8ba2619 SHA512 df8dddf7758c342d45b3393246e07eaa11a53dca19e8a0d09de04f12ea6232538941328d9ca9ac52eb425871fd1c49d55c77e6e38b40772b6f856fd1e9e99779 WHIRLPOOL 9f7842eba0f53a999993dbd23d09c10e5bd3dcca5ecbb0689e4ded8c7529d84fd939a57ce9cd267cdd21b2d79aeb6c07d672983ccb52be0fcc0b28ca80a31b59
 DIST cppcheck-1.78.tar.bz2 1201959 SHA256 e42696f7d6321b98cb479ad9728d051effe543b26aca8102428f60b9850786b1 SHA512 598556e9d657a3a77ff889cb6647291160017f7f9322326771416ff59d44126ce47c39767657b863cdb8a1b46d7c83bb337ec2fe0574500b37e99c33377b5dd8 WHIRLPOOL 2087ad837353d01bca828af940c427909a3e556e97e46d1822e0f2f527619c87b15d1a7f647992dd46eb3a2ef1eb4fb86344db31d7a01fb6f8a9070dfeecef96
+DIST cppcheck-1.79.tar.bz2 1206623 SHA256 2b85b693de54f15048f1841e7aef74574f99da6270d2182baba78514fa27f06d SHA512 766649b685d60b057752a49eda46f5bb42681c01c32169e83f85ea6f5d3302b572a2d484c1cee1380fd304489d5a32f83eb59a72ceefb1b787031e84bf3a2676 WHIRLPOOL dee33b68c8b924a68b90cbabcd9da6489003fb9f4fc0e2f5d411c82404c666b0c034ca33cc8e4043e4b1d18622158d1dd3de3b8ebd83d52ee01cd3513a39ad26

diff --git a/dev-util/cppcheck/cppcheck-1.79.ebuild b/dev-util/cppcheck/cppcheck-1.79.ebuild
new file mode 100644
index 00000000000..fcdd220729f
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.79.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
+
+DESCRIPTION="static analyzer of C/C++ code"
+HOMEPAGE="http://cppcheck.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="htmlreport pcre qt4"
+
+RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	>=dev-libs/tinyxml2-2
+	qt4? ( dev-qt/qtgui:4 )
+	pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig"
+
+src_prepare() {
+	append-cxxflags -std=c++0x
+
+	# Drop bundled libs, patch Makefile generator and re-run it
+	rm -r externals/tinyxml || die
+	epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch
+	tc-export CXX
+	emake dmake
+	./dmake || die
+
+	default
+}
+
+src_configure() {
+	if use pcre ; then
+		sed -e '/HAVE_RULES=/s:=no:=yes:' \
+			-i Makefile
+	fi
+	if use qt4 ; then
+		pushd gui
+		qt4-r2_src_configure
+		popd
+	fi
+}
+
+src_compile() {
+	export LIBS="$(pkg-config --libs tinyxml2)"
+	emake ${PN} man \
+		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
+		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
+
+	if use qt4 ; then
+		pushd gui
+		qt4-r2_src_compile
+		popd
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_compile
+		popd
+	fi
+}
+
+src_test() {
+	# safe final version
+	mv -v ${PN}{,.final}
+	mv -v lib/library.o{,.final}
+	mv -v cli/cppcheckexecutor.o{,.final}
+	#trigger recompile with CFGDIR inside ${S}
+	emake check CFGDIR="${S}/cfg"
+	# restore
+	mv -v ${PN}{.final,}
+	mv -v lib/library.o{.final,}
+	mv -v cli/cppcheckexecutor.o{.final,}
+}
+
+src_install() {
+	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
+	emake install DESTDIR="${ED}"
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+	if use qt4 ; then
+		dobin gui/${PN}-gui
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_install
+		popd
+		find "${D}" -name "*.egg-info" -delete
+	else
+		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
+	fi
+	doman ${PN}.1
+	dodoc -r triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-07-30  9:38 Michał Górny
  0 siblings, 0 replies; 101+ messages in thread
From: Michał Górny @ 2017-07-30  9:38 UTC (permalink / raw
  To: gentoo-commits

commit:     d45709065030b5308bba04156a0c6365e561ae00
Author:     David Hicks <david <AT> hicks <DOT> id <DOT> au>
AuthorDate: Sat Jul 29 15:54:00 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 30 09:37:55 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4570906

dev-util/cppcheck: use HTTPS for GitHub

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-util/cppcheck/cppcheck-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-9999.ebuild b/dev-util/cppcheck/cppcheck-9999.ebuild
index 39b211e7423..529f5e6fadc 100644
--- a/dev-util/cppcheck/cppcheck-9999.ebuild
+++ b/dev-util/cppcheck/cppcheck-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -9,7 +9,7 @@ inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic git-r3
 
 DESCRIPTION="static analyzer of C/C++ code"
 HOMEPAGE="http://cppcheck.sourceforge.net"
-EGIT_REPO_URI="git://github.com/danmar/cppcheck.git"
+EGIT_REPO_URI="https://github.com/danmar/cppcheck.git"
 
 LICENSE="GPL-3"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-10-12  9:11 Sergei Trofimovich
  0 siblings, 0 replies; 101+ messages in thread
From: Sergei Trofimovich @ 2017-10-12  9:11 UTC (permalink / raw
  To: gentoo-commits

commit:     d3162fcbb7675e21254118bda051f4e2434ec49a
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 12 09:10:53 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 09:11:17 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3162fcb

dev-util/cppcheck: keyworded for hppa/sparc (thanks to Rolf Eike Beer)

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-util/cppcheck/cppcheck-1.78.ebuild | 2 +-
 dev-util/cppcheck/cppcheck-1.79.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-1.78.ebuild b/dev-util/cppcheck/cppcheck-1.78.ebuild
index fcdd220729f..665af8ce078 100644
--- a/dev-util/cppcheck/cppcheck-1.78.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.78.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
 IUSE="htmlreport pcre qt4"
 
 RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )

diff --git a/dev-util/cppcheck/cppcheck-1.79.ebuild b/dev-util/cppcheck/cppcheck-1.79.ebuild
index 04500dfcb91..5cdd5a3eaea 100644
--- a/dev-util/cppcheck/cppcheck-1.79.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.79.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
 IUSE="htmlreport pcre qt4"
 
 RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-10-12  9:11 Sergei Trofimovich
  0 siblings, 0 replies; 101+ messages in thread
From: Sergei Trofimovich @ 2017-10-12  9:11 UTC (permalink / raw
  To: gentoo-commits

commit:     7852b6eedfa2a20c2372b5a03444846f531fca81
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 12 09:10:12 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 09:11:17 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7852b6ee

dev-util/cppcheck: stable 1.77 for hppa/sparc (thanks to Rolf Eike Beer)

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-util/cppcheck/cppcheck-1.77.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.77.ebuild b/dev-util/cppcheck/cppcheck-1.77.ebuild
index f4ad03600e8..6dfbbd3b053 100644
--- a/dev-util/cppcheck/cppcheck-1.77.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.77.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm x86"
+KEYWORDS="amd64 ~arm hppa sparc x86"
 IUSE="htmlreport pcre qt4"
 
 RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-11-22 22:01 Andreas Sturmlechner
  0 siblings, 0 replies; 101+ messages in thread
From: Andreas Sturmlechner @ 2017-11-22 22:01 UTC (permalink / raw
  To: gentoo-commits

commit:     4d38a0a581dfe9e5b862035ff263b0d7f8e98230
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 22 21:56:50 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 22:00:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d38a0a5

dev-util/cppcheck: Sync live ebuild

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-util/cppcheck/cppcheck-9999.ebuild | 35 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 18 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-9999.ebuild b/dev-util/cppcheck/cppcheck-9999.ebuild
index 529f5e6fadc..9d1b60c1c4b 100644
--- a/dev-util/cppcheck/cppcheck-9999.ebuild
+++ b/dev-util/cppcheck/cppcheck-9999.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
-inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic git-r3
+inherit distutils-r1 flag-o-matic qmake-utils toolchain-funcs git-r3
 
 DESCRIPTION="static analyzer of C/C++ code"
 HOMEPAGE="http://cppcheck.sourceforge.net"
@@ -14,28 +14,31 @@ EGIT_REPO_URI="https://github.com/danmar/cppcheck.git"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS=""
-IUSE="htmlreport pcre qt4"
+IUSE="htmlreport pcre qt5"
 
-RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+RDEPEND="
 	>=dev-libs/tinyxml2-2
-	qt4? ( dev-qt/qtgui:4 )
-	pcre? ( dev-libs/libpcre )"
+	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	pcre? ( dev-libs/libpcre )
+	qt5? ( dev-qt/qtgui:5 )
+"
 DEPEND="${RDEPEND}
 	app-text/docbook-xsl-stylesheets
 	dev-libs/libxslt
-	virtual/pkgconfig"
+	virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.75-tinyxml2.patch )
 
 src_prepare() {
+	default
 	append-cxxflags -std=c++0x
 
 	# Drop bundled libs, patch Makefile generator and re-run it
 	rm -r externals/tinyxml || die
-	epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch
 	tc-export CXX
 	emake dmake
 	./dmake || die
-
-	epatch_user
 }
 
 src_configure() {
@@ -43,11 +46,6 @@ src_configure() {
 		sed -e '/HAVE_RULES=/s:=no:=yes:' \
 			-i Makefile
 	fi
-	if use qt4 ; then
-		pushd gui
-		qt4-r2_src_configure
-		popd
-	fi
 }
 
 src_compile() {
@@ -56,9 +54,10 @@ src_compile() {
 		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
 		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
 
-	if use qt4 ; then
+	if use qt5 ; then
 		pushd gui
-		qt4-r2_src_compile
+		eqmake5
+		emake
 		popd
 	fi
 	if use htmlreport ; then
@@ -87,7 +86,7 @@ src_install() {
 
 	insinto "/usr/share/${PN}/cfg"
 	doins cfg/*.cfg
-	if use qt4 ; then
+	if use qt5 ; then
 		dobin gui/${PN}-gui
 		dodoc gui/{projectfile.txt,gui.${PN}}
 	fi


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-11-22 22:01 Andreas Sturmlechner
  0 siblings, 0 replies; 101+ messages in thread
From: Andreas Sturmlechner @ 2017-11-22 22:01 UTC (permalink / raw
  To: gentoo-commits

commit:     c7ff1b1fafcbe0c632a84ceac03b2fca5ad54027
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 22 19:53:20 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 22:00:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7ff1b1f

dev-util/cppcheck: Sort DEPENDs

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-util/cppcheck/cppcheck-1.81.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-1.81.ebuild b/dev-util/cppcheck/cppcheck-1.81.ebuild
index 2cc7f0445c1..765ecfadc61 100644
--- a/dev-util/cppcheck/cppcheck-1.81.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.81.ebuild
@@ -16,14 +16,17 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
 IUSE="htmlreport pcre qt5"
 
-RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+RDEPEND="
 	>=dev-libs/tinyxml2-2
+	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	pcre? ( dev-libs/libpcre )
 	qt5? ( dev-qt/qtgui:5 )
-	pcre? ( dev-libs/libpcre )"
+"
 DEPEND="${RDEPEND}
 	app-text/docbook-xsl-stylesheets
 	dev-libs/libxslt
-	virtual/pkgconfig"
+	virtual/pkgconfig
+"
 
 src_prepare() {
 	append-cxxflags -std=c++0x


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-11-22 22:01 Andreas Sturmlechner
  0 siblings, 0 replies; 101+ messages in thread
From: Andreas Sturmlechner @ 2017-11-22 22:01 UTC (permalink / raw
  To: gentoo-commits

commit:     87d997b2911320d50eefb69f1a8e2b67b71a8f30
Author:     Jens Lindenmeier <gentoo <AT> lindenmeier <DOT> com>
AuthorDate: Wed Nov 22 19:47:35 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 22:00:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87d997b2

dev-util/cppcheck: 1.81 version bump

Closes: https://bugs.gentoo.org/627380
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-util/cppcheck/Manifest             |   1 +
 dev-util/cppcheck/cppcheck-1.81.ebuild | 100 +++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index f4445de6e83..7eebd8df022 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,3 +1,4 @@
 DIST cppcheck-1.77.tar.bz2 1188453 SHA256 1980ffe5c9c24bb6dea24514d42be3aa49d6ba7cc26c448b3543611fe8ba2619 SHA512 df8dddf7758c342d45b3393246e07eaa11a53dca19e8a0d09de04f12ea6232538941328d9ca9ac52eb425871fd1c49d55c77e6e38b40772b6f856fd1e9e99779 WHIRLPOOL 9f7842eba0f53a999993dbd23d09c10e5bd3dcca5ecbb0689e4ded8c7529d84fd939a57ce9cd267cdd21b2d79aeb6c07d672983ccb52be0fcc0b28ca80a31b59
 DIST cppcheck-1.78.tar.bz2 1201959 SHA256 e42696f7d6321b98cb479ad9728d051effe543b26aca8102428f60b9850786b1 SHA512 598556e9d657a3a77ff889cb6647291160017f7f9322326771416ff59d44126ce47c39767657b863cdb8a1b46d7c83bb337ec2fe0574500b37e99c33377b5dd8 WHIRLPOOL 2087ad837353d01bca828af940c427909a3e556e97e46d1822e0f2f527619c87b15d1a7f647992dd46eb3a2ef1eb4fb86344db31d7a01fb6f8a9070dfeecef96
 DIST cppcheck-1.79.tar.bz2 1206623 SHA256 2b85b693de54f15048f1841e7aef74574f99da6270d2182baba78514fa27f06d SHA512 766649b685d60b057752a49eda46f5bb42681c01c32169e83f85ea6f5d3302b572a2d484c1cee1380fd304489d5a32f83eb59a72ceefb1b787031e84bf3a2676 WHIRLPOOL dee33b68c8b924a68b90cbabcd9da6489003fb9f4fc0e2f5d411c82404c666b0c034ca33cc8e4043e4b1d18622158d1dd3de3b8ebd83d52ee01cd3513a39ad26
+DIST cppcheck-1.81.tar.bz2 1514741 BLAKE2B 2f23dfe4bdb26e203411f0bf9bc569303a4d59f96911b32a8a5f9cc9a6a7fa75e5d87c328cb0bf8cc46bd8f38747a4663c33243b8385355cc5630e1fcf6c891f SHA512 22e7b63c35e71b2784065faca06aec8c286e3173f182ac10995073cc3d61fd0bfaf353c51ad9207d3bd2c6134ab1a3990a37668709505b657c2816d561f8af92

diff --git a/dev-util/cppcheck/cppcheck-1.81.ebuild b/dev-util/cppcheck/cppcheck-1.81.ebuild
new file mode 100644
index 00000000000..2cc7f0445c1
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.81.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1 eutils flag-o-matic qmake-utils toolchain-funcs
+
+DESCRIPTION="static analyzer of C/C++ code"
+HOMEPAGE="http://cppcheck.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
+IUSE="htmlreport pcre qt5"
+
+RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	>=dev-libs/tinyxml2-2
+	qt5? ( dev-qt/qtgui:5 )
+	pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig"
+
+src_prepare() {
+	append-cxxflags -std=c++0x
+
+	# Drop bundled libs, patch Makefile generator and re-run it
+	rm -r externals/tinyxml || die
+	epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch
+	tc-export CXX
+	emake dmake
+	./dmake || die
+
+	default
+}
+
+src_configure() {
+	if use pcre ; then
+		sed -e '/HAVE_RULES=/s:=no:=yes:' \
+			-i Makefile
+	fi
+}
+
+src_compile() {
+	export LIBS="$(pkg-config --libs tinyxml2)"
+	emake ${PN} man \
+		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
+		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
+
+	if use qt5 ; then
+		pushd gui
+		eqmake5
+		emake
+		popd
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_compile
+		popd
+	fi
+}
+
+src_test() {
+	# safe final version
+	mv -v ${PN}{,.final}
+	mv -v lib/library.o{,.final}
+	mv -v cli/cppcheckexecutor.o{,.final}
+	#trigger recompile with CFGDIR inside ${S}
+	emake check CFGDIR="${S}/cfg"
+	# restore
+	mv -v ${PN}{.final,}
+	mv -v lib/library.o{.final,}
+	mv -v cli/cppcheckexecutor.o{.final,}
+}
+
+src_install() {
+	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
+	emake install DESTDIR="${ED}"
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+	if use qt5 ; then
+		dobin gui/${PN}-gui
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+	if use htmlreport ; then
+		pushd htmlreport
+		distutils-r1_src_install
+		popd
+		find "${D}" -name "*.egg-info" -delete
+	else
+		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
+	fi
+	doman ${PN}.1
+	dodoc -r triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-11-22 22:01 Andreas Sturmlechner
  0 siblings, 0 replies; 101+ messages in thread
From: Andreas Sturmlechner @ 2017-11-22 22:01 UTC (permalink / raw
  To: gentoo-commits

commit:     ce8381097ae89c5795e482a429fc4b8943c7e5f3
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 22 20:00:16 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 22:00:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce838109

dev-util/cppcheck: Switch to EAPI 6

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-util/cppcheck/cppcheck-1.81.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-1.81.ebuild b/dev-util/cppcheck/cppcheck-1.81.ebuild
index 765ecfadc61..c1c281e82e2 100644
--- a/dev-util/cppcheck/cppcheck-1.81.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.81.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
-inherit distutils-r1 eutils flag-o-matic qmake-utils toolchain-funcs
+inherit distutils-r1 flag-o-matic qmake-utils toolchain-funcs
 
 DESCRIPTION="static analyzer of C/C++ code"
 HOMEPAGE="http://cppcheck.sourceforge.net"
@@ -28,17 +28,17 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig
 "
 
+PATCHES=( "${FILESDIR}"/${PN}-1.75-tinyxml2.patch )
+
 src_prepare() {
+	default
 	append-cxxflags -std=c++0x
 
 	# Drop bundled libs, patch Makefile generator and re-run it
 	rm -r externals/tinyxml || die
-	epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch
 	tc-export CXX
 	emake dmake
 	./dmake || die
-
-	default
 }
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-11-23 21:44 Andreas Sturmlechner
  0 siblings, 0 replies; 101+ messages in thread
From: Andreas Sturmlechner @ 2017-11-23 21:44 UTC (permalink / raw
  To: gentoo-commits

commit:     1d734d8d18716665da14f336b3b148aa37796ea9
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 23 21:43:16 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Nov 23 21:44:05 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d734d8d

dev-util/cppcheck: Add missing Qt5 deps

Closes: https://bugs.gentoo.org/638590
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-util/cppcheck/cppcheck-1.81.ebuild | 6 +++++-
 dev-util/cppcheck/cppcheck-9999.ebuild | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-1.81.ebuild b/dev-util/cppcheck/cppcheck-1.81.ebuild
index c1c281e82e2..4bdd238b7e0 100644
--- a/dev-util/cppcheck/cppcheck-1.81.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.81.ebuild
@@ -20,7 +20,11 @@ RDEPEND="
 	>=dev-libs/tinyxml2-2
 	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
 	pcre? ( dev-libs/libpcre )
-	qt5? ( dev-qt/qtgui:5 )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtprintsupport:5
+	)
 "
 DEPEND="${RDEPEND}
 	app-text/docbook-xsl-stylesheets

diff --git a/dev-util/cppcheck/cppcheck-9999.ebuild b/dev-util/cppcheck/cppcheck-9999.ebuild
index 9d1b60c1c4b..4ed390f176f 100644
--- a/dev-util/cppcheck/cppcheck-9999.ebuild
+++ b/dev-util/cppcheck/cppcheck-9999.ebuild
@@ -20,7 +20,11 @@ RDEPEND="
 	>=dev-libs/tinyxml2-2
 	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
 	pcre? ( dev-libs/libpcre )
-	qt5? ( dev-qt/qtgui:5 )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtprintsupport:5
+	)
 "
 DEPEND="${RDEPEND}
 	app-text/docbook-xsl-stylesheets


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-12-18 16:51 Jason Zaman
  0 siblings, 0 replies; 101+ messages in thread
From: Jason Zaman @ 2017-12-18 16:51 UTC (permalink / raw
  To: gentoo-commits

commit:     4ca56be964c50c3e02035d5b9eb239b569a98b65
Author:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 16:49:46 2017 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 16:51:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca56be9

dev-util/cppcheck: amd64 stable

Gentoo-bug: 641220
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-util/cppcheck/cppcheck-1.81.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.81.ebuild b/dev-util/cppcheck/cppcheck-1.81.ebuild
index 4bdd238b7e0..985c8d9e17d 100644
--- a/dev-util/cppcheck/cppcheck-1.81.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.81.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-12-23 20:24 Sergei Trofimovich
  0 siblings, 0 replies; 101+ messages in thread
From: Sergei Trofimovich @ 2017-12-23 20:24 UTC (permalink / raw
  To: gentoo-commits

commit:     07fbc79893af0ba7bc076be16a4b8669a3a04109
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 23 20:23:16 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Dec 23 20:24:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07fbc798

dev-util/cppcheck: stable 1.81 for hppa, bug #641220

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="hppa"

 dev-util/cppcheck/cppcheck-1.81.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.81.ebuild b/dev-util/cppcheck/cppcheck-1.81.ebuild
index ea26f5ace89..f4de61a9373 100644
--- a/dev-util/cppcheck/cppcheck-1.81.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.81.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa x86"
+KEYWORDS="amd64 ~arm ~arm64 hppa x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-12-25  3:16 Michael Palimaka
  0 siblings, 0 replies; 101+ messages in thread
From: Michael Palimaka @ 2017-12-25  3:16 UTC (permalink / raw
  To: gentoo-commits

commit:     c7638fda14e42915b929bfe09c5ecca2211044e5
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 03:15:52 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 03:16:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7638fda

dev-util/cppcheck: remove old

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 dev-util/cppcheck/Manifest             |   3 -
 dev-util/cppcheck/cppcheck-1.77.ebuild | 104 ---------------------------------
 dev-util/cppcheck/cppcheck-1.78.ebuild | 104 ---------------------------------
 dev-util/cppcheck/cppcheck-1.79.ebuild | 104 ---------------------------------
 4 files changed, 315 deletions(-)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index cdfe7c3cc6e..27c24b305d8 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,4 +1 @@
-DIST cppcheck-1.77.tar.bz2 1188453 BLAKE2B c1664c48d5d3dc544367705a0df08d6e3dad38947db1659d8514fba06c44efe3b1c6c04d191d5332883e28ebcd3e8aa1854450f96d92dd1c6ed4239abcf5573b SHA512 df8dddf7758c342d45b3393246e07eaa11a53dca19e8a0d09de04f12ea6232538941328d9ca9ac52eb425871fd1c49d55c77e6e38b40772b6f856fd1e9e99779
-DIST cppcheck-1.78.tar.bz2 1201959 BLAKE2B 5ea745ef9fd24636b14271d6bdb480c2d678447759d955d5aeb431e4a479ee1e33180ad8dd3992486d01823a6781c008e7ea0966edbc6b9d37ef6f6200f05a78 SHA512 598556e9d657a3a77ff889cb6647291160017f7f9322326771416ff59d44126ce47c39767657b863cdb8a1b46d7c83bb337ec2fe0574500b37e99c33377b5dd8
-DIST cppcheck-1.79.tar.bz2 1206623 BLAKE2B c352897e6403e540efc4ee105af04a70036c6cb70d3a0027683ef5ea27c3376091e84c1e762c4d4eefed43a7d52c58f54d29455dc7087a5f5ca93e22ebc4d2c4 SHA512 766649b685d60b057752a49eda46f5bb42681c01c32169e83f85ea6f5d3302b572a2d484c1cee1380fd304489d5a32f83eb59a72ceefb1b787031e84bf3a2676
 DIST cppcheck-1.81.tar.bz2 1514741 BLAKE2B 2f23dfe4bdb26e203411f0bf9bc569303a4d59f96911b32a8a5f9cc9a6a7fa75e5d87c328cb0bf8cc46bd8f38747a4663c33243b8385355cc5630e1fcf6c891f SHA512 22e7b63c35e71b2784065faca06aec8c286e3173f182ac10995073cc3d61fd0bfaf353c51ad9207d3bd2c6134ab1a3990a37668709505b657c2816d561f8af92

diff --git a/dev-util/cppcheck/cppcheck-1.77.ebuild b/dev-util/cppcheck/cppcheck-1.77.ebuild
deleted file mode 100644
index 6dfbbd3b053..00000000000
--- a/dev-util/cppcheck/cppcheck-1.77.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-
-inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
-
-DESCRIPTION="static analyzer of C/C++ code"
-HOMEPAGE="http://cppcheck.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~arm hppa sparc x86"
-IUSE="htmlreport pcre qt4"
-
-RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
-	>=dev-libs/tinyxml2-2
-	qt4? ( dev-qt/qtgui:4 )
-	pcre? ( dev-libs/libpcre )"
-DEPEND="${RDEPEND}
-	app-text/docbook-xsl-stylesheets
-	dev-libs/libxslt
-	virtual/pkgconfig"
-
-src_prepare() {
-	append-cxxflags -std=c++0x
-
-	# Drop bundled libs, patch Makefile generator and re-run it
-	rm -r externals/tinyxml || die
-	epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch
-	tc-export CXX
-	emake dmake
-	./dmake || die
-
-	default
-}
-
-src_configure() {
-	if use pcre ; then
-		sed -e '/HAVE_RULES=/s:=no:=yes:' \
-			-i Makefile
-	fi
-	if use qt4 ; then
-		pushd gui
-		qt4-r2_src_configure
-		popd
-	fi
-}
-
-src_compile() {
-	export LIBS="$(pkg-config --libs tinyxml2)"
-	emake ${PN} man \
-		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
-		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
-
-	if use qt4 ; then
-		pushd gui
-		qt4-r2_src_compile
-		popd
-	fi
-	if use htmlreport ; then
-		pushd htmlreport
-		distutils-r1_src_compile
-		popd
-	fi
-}
-
-src_test() {
-	# safe final version
-	mv -v ${PN}{,.final}
-	mv -v lib/library.o{,.final}
-	mv -v cli/cppcheckexecutor.o{,.final}
-	#trigger recompile with CFGDIR inside ${S}
-	emake check CFGDIR="${S}/cfg"
-	# restore
-	mv -v ${PN}{.final,}
-	mv -v lib/library.o{.final,}
-	mv -v cli/cppcheckexecutor.o{.final,}
-}
-
-src_install() {
-	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
-	emake install DESTDIR="${ED}"
-
-	insinto "/usr/share/${PN}/cfg"
-	doins cfg/*.cfg
-	if use qt4 ; then
-		dobin gui/${PN}-gui
-		dodoc gui/{projectfile.txt,gui.${PN}}
-	fi
-	if use htmlreport ; then
-		pushd htmlreport
-		distutils-r1_src_install
-		popd
-		find "${D}" -name "*.egg-info" -delete
-	else
-		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
-	fi
-	doman ${PN}.1
-	dodoc -r triage
-}

diff --git a/dev-util/cppcheck/cppcheck-1.78.ebuild b/dev-util/cppcheck/cppcheck-1.78.ebuild
deleted file mode 100644
index 665af8ce078..00000000000
--- a/dev-util/cppcheck/cppcheck-1.78.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-
-inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
-
-DESCRIPTION="static analyzer of C/C++ code"
-HOMEPAGE="http://cppcheck.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
-IUSE="htmlreport pcre qt4"
-
-RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
-	>=dev-libs/tinyxml2-2
-	qt4? ( dev-qt/qtgui:4 )
-	pcre? ( dev-libs/libpcre )"
-DEPEND="${RDEPEND}
-	app-text/docbook-xsl-stylesheets
-	dev-libs/libxslt
-	virtual/pkgconfig"
-
-src_prepare() {
-	append-cxxflags -std=c++0x
-
-	# Drop bundled libs, patch Makefile generator and re-run it
-	rm -r externals/tinyxml || die
-	epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch
-	tc-export CXX
-	emake dmake
-	./dmake || die
-
-	default
-}
-
-src_configure() {
-	if use pcre ; then
-		sed -e '/HAVE_RULES=/s:=no:=yes:' \
-			-i Makefile
-	fi
-	if use qt4 ; then
-		pushd gui
-		qt4-r2_src_configure
-		popd
-	fi
-}
-
-src_compile() {
-	export LIBS="$(pkg-config --libs tinyxml2)"
-	emake ${PN} man \
-		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
-		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
-
-	if use qt4 ; then
-		pushd gui
-		qt4-r2_src_compile
-		popd
-	fi
-	if use htmlreport ; then
-		pushd htmlreport
-		distutils-r1_src_compile
-		popd
-	fi
-}
-
-src_test() {
-	# safe final version
-	mv -v ${PN}{,.final}
-	mv -v lib/library.o{,.final}
-	mv -v cli/cppcheckexecutor.o{,.final}
-	#trigger recompile with CFGDIR inside ${S}
-	emake check CFGDIR="${S}/cfg"
-	# restore
-	mv -v ${PN}{.final,}
-	mv -v lib/library.o{.final,}
-	mv -v cli/cppcheckexecutor.o{.final,}
-}
-
-src_install() {
-	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
-	emake install DESTDIR="${ED}"
-
-	insinto "/usr/share/${PN}/cfg"
-	doins cfg/*.cfg
-	if use qt4 ; then
-		dobin gui/${PN}-gui
-		dodoc gui/{projectfile.txt,gui.${PN}}
-	fi
-	if use htmlreport ; then
-		pushd htmlreport
-		distutils-r1_src_install
-		popd
-		find "${D}" -name "*.egg-info" -delete
-	else
-		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
-	fi
-	doman ${PN}.1
-	dodoc -r triage
-}

diff --git a/dev-util/cppcheck/cppcheck-1.79.ebuild b/dev-util/cppcheck/cppcheck-1.79.ebuild
deleted file mode 100644
index 5cdd5a3eaea..00000000000
--- a/dev-util/cppcheck/cppcheck-1.79.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-
-inherit distutils-r1 eutils qt4-r2 toolchain-funcs flag-o-matic
-
-DESCRIPTION="static analyzer of C/C++ code"
-HOMEPAGE="http://cppcheck.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
-IUSE="htmlreport pcre qt4"
-
-RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
-	>=dev-libs/tinyxml2-2
-	qt4? ( dev-qt/qtgui:4 )
-	pcre? ( dev-libs/libpcre )"
-DEPEND="${RDEPEND}
-	app-text/docbook-xsl-stylesheets
-	dev-libs/libxslt
-	virtual/pkgconfig"
-
-src_prepare() {
-	append-cxxflags -std=c++0x
-
-	# Drop bundled libs, patch Makefile generator and re-run it
-	rm -r externals/tinyxml || die
-	epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch
-	tc-export CXX
-	emake dmake
-	./dmake || die
-
-	default
-}
-
-src_configure() {
-	if use pcre ; then
-		sed -e '/HAVE_RULES=/s:=no:=yes:' \
-			-i Makefile
-	fi
-	if use qt4 ; then
-		pushd gui
-		qt4-r2_src_configure
-		popd
-	fi
-}
-
-src_compile() {
-	export LIBS="$(pkg-config --libs tinyxml2)"
-	emake ${PN} man \
-		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
-		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
-
-	if use qt4 ; then
-		pushd gui
-		qt4-r2_src_compile
-		popd
-	fi
-	if use htmlreport ; then
-		pushd htmlreport
-		distutils-r1_src_compile
-		popd
-	fi
-}
-
-src_test() {
-	# safe final version
-	mv -v ${PN}{,.final}
-	mv -v lib/library.o{,.final}
-	mv -v cli/cppcheckexecutor.o{,.final}
-	#trigger recompile with CFGDIR inside ${S}
-	emake check CFGDIR="${S}/cfg"
-	# restore
-	mv -v ${PN}{.final,}
-	mv -v lib/library.o{.final,}
-	mv -v cli/cppcheckexecutor.o{.final,}
-}
-
-src_install() {
-	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
-	emake install DESTDIR="${ED}"
-
-	insinto "/usr/share/${PN}/cfg"
-	doins cfg/*.cfg
-	if use qt4 ; then
-		dobin gui/${PN}-gui
-		dodoc gui/{projectfile.txt,gui.${PN}}
-	fi
-	if use htmlreport ; then
-		pushd htmlreport
-		distutils-r1_src_install
-		popd
-		find "${D}" -name "*.egg-info" -delete
-	else
-		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
-	fi
-	doman ${PN}.1
-	dodoc -r triage
-}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2017-12-27 11:08 Sergei Trofimovich
  0 siblings, 0 replies; 101+ messages in thread
From: Sergei Trofimovich @ 2017-12-27 11:08 UTC (permalink / raw
  To: gentoo-commits

commit:     9f1bcc195e95f8e3cdc6afcf5d6e3b150716c7de
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Wed Dec 27 09:43:33 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Dec 27 11:08:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f1bcc19

dev-util/cppcheck: stable 1.81 for sparc, bug #641220

Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="sparc"

 dev-util/cppcheck/cppcheck-1.81.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.81.ebuild b/dev-util/cppcheck/cppcheck-1.81.ebuild
index f4de61a9373..055b50d20cd 100644
--- a/dev-util/cppcheck/cppcheck-1.81.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.81.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 hppa x86"
+KEYWORDS="amd64 ~arm ~arm64 hppa sparc x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2018-01-19 20:05 Michael Weber
  0 siblings, 0 replies; 101+ messages in thread
From: Michael Weber @ 2018-01-19 20:05 UTC (permalink / raw
  To: gentoo-commits

commit:     0bf8ac6a4f28ae2b767ce0af458706a21a668911
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 20:05:08 2018 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 20:05:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf8ac6a

dev-util/cppcheck: Rebuild on dev-libs/tinyxml2 subslot updates (thanks Daniel M. Weeks).

Closes: https://bugs.gentoo.org/645052
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-util/cppcheck/cppcheck-1.81.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-1.81.ebuild b/dev-util/cppcheck/cppcheck-1.81.ebuild
index 055b50d20cd..f5cd79c67e4 100644
--- a/dev-util/cppcheck/cppcheck-1.81.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.81.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,7 +17,7 @@ KEYWORDS="amd64 ~arm ~arm64 hppa sparc x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="
-	>=dev-libs/tinyxml2-2
+	dev-libs/tinyxml2:=
 	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
 	pcre? ( dev-libs/libpcre )
 	qt5? (


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2018-06-26 18:46 Pacho Ramos
  0 siblings, 0 replies; 101+ messages in thread
From: Pacho Ramos @ 2018-06-26 18:46 UTC (permalink / raw
  To: gentoo-commits

commit:     f6050ed94749b329378f149d5481182740dbb2cc
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 26 18:37:33 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jun 26 18:46:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6050ed9

dev-util/cppcheck: Support python3.6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-util/cppcheck/cppcheck-1.81.ebuild | 2 +-
 dev-util/cppcheck/cppcheck-9999.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-1.81.ebuild b/dev-util/cppcheck/cppcheck-1.81.ebuild
index f5cd79c67e4..ce60d5ec062 100644
--- a/dev-util/cppcheck/cppcheck-1.81.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.81.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1 flag-o-matic qmake-utils toolchain-funcs
 

diff --git a/dev-util/cppcheck/cppcheck-9999.ebuild b/dev-util/cppcheck/cppcheck-9999.ebuild
index 4ed390f176f..2ef2f6f37ca 100644
--- a/dev-util/cppcheck/cppcheck-9999.ebuild
+++ b/dev-util/cppcheck/cppcheck-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1 flag-o-matic qmake-utils toolchain-funcs git-r3
 


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2018-08-11  9:06 Andreas Sturmlechner
  0 siblings, 0 replies; 101+ messages in thread
From: Andreas Sturmlechner @ 2018-08-11  9:06 UTC (permalink / raw
  To: gentoo-commits

commit:     c78dddfa009b97b1d089fe743d43fb90d95f1deb
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 11 08:49:53 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 11 08:49:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c78dddfa

dev-util/cppcheck: Sync live with 1.84 changes

Package-Manager: Portage-2.3.45, Repoman-2.3.10

 dev-util/cppcheck/cppcheck-9999.ebuild | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-9999.ebuild b/dev-util/cppcheck/cppcheck-9999.ebuild
index 2ef2f6f37ca..dcbdddafe55 100644
--- a/dev-util/cppcheck/cppcheck-9999.ebuild
+++ b/dev-util/cppcheck/cppcheck-9999.ebuild
@@ -11,13 +11,13 @@ DESCRIPTION="static analyzer of C/C++ code"
 HOMEPAGE="http://cppcheck.sourceforge.net"
 EGIT_REPO_URI="https://github.com/danmar/cppcheck.git"
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS=""
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="
-	>=dev-libs/tinyxml2-2
+	dev-libs/tinyxml2:=
 	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
 	pcre? ( dev-libs/libpcre )
 	qt5? (
@@ -48,7 +48,7 @@ src_prepare() {
 src_configure() {
 	if use pcre ; then
 		sed -e '/HAVE_RULES=/s:=no:=yes:' \
-			-i Makefile
+			-i Makefile || die
 	fi
 }
 
@@ -59,29 +59,29 @@ src_compile() {
 		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
 
 	if use qt5 ; then
-		pushd gui
+		pushd gui || die
 		eqmake5
 		emake
-		popd
+		popd || die
 	fi
 	if use htmlreport ; then
-		pushd htmlreport
+		pushd htmlreport || die
 		distutils-r1_src_compile
-		popd
+		popd || die
 	fi
 }
 
 src_test() {
 	# safe final version
-	mv -v ${PN}{,.final}
-	mv -v lib/library.o{,.final}
-	mv -v cli/cppcheckexecutor.o{,.final}
+	mv -v ${PN}{,.final} || die
+	mv -v lib/library.o{,.final} || die
+	mv -v cli/cppcheckexecutor.o{,.final} || die
 	#trigger recompile with CFGDIR inside ${S}
 	emake check CFGDIR="${S}/cfg"
 	# restore
-	mv -v ${PN}{.final,}
-	mv -v lib/library.o{.final,}
-	mv -v cli/cppcheckexecutor.o{.final,}
+	mv -v ${PN}{.final,} || die
+	mv -v lib/library.o{.final,} || die
+	mv -v cli/cppcheckexecutor.o{.final,} || die
 }
 
 src_install() {
@@ -95,9 +95,9 @@ src_install() {
 		dodoc gui/{projectfile.txt,gui.${PN}}
 	fi
 	if use htmlreport ; then
-		pushd htmlreport
+		pushd htmlreport || die
 		distutils-r1_src_install
-		popd
+		popd || die
 		find "${D}" -name "*.egg-info" -delete
 	else
 		rm "${ED}/usr/bin/cppcheck-htmlreport" || die


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2018-08-11  9:06 Andreas Sturmlechner
  0 siblings, 0 replies; 101+ messages in thread
From: Andreas Sturmlechner @ 2018-08-11  9:06 UTC (permalink / raw
  To: gentoo-commits

commit:     57d59d6f7d170b30d5c04eb4528cf1b5e3f218c9
Author:     Nikos Chantziaras <realnc <AT> gmail <DOT> com>
AuthorDate: Thu Aug  9 05:13:28 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 11 08:41:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d59d6f

dev-util/cppcheck: version bump to 1.84

Ebuild improvements. LICENSE changed from "GPL-3" to "GPL-3+".

Closes: https://bugs.gentoo.org/646608
Package-Manager: Portage-2.3.45, Repoman-2.3.10
Closes: https://github.com/gentoo/gentoo/pull/9515

 dev-util/cppcheck/Manifest             |   1 +
 dev-util/cppcheck/cppcheck-1.84.ebuild | 107 +++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 27c24b305d8..af044e6035f 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1 +1,2 @@
 DIST cppcheck-1.81.tar.bz2 1514741 BLAKE2B 2f23dfe4bdb26e203411f0bf9bc569303a4d59f96911b32a8a5f9cc9a6a7fa75e5d87c328cb0bf8cc46bd8f38747a4663c33243b8385355cc5630e1fcf6c891f SHA512 22e7b63c35e71b2784065faca06aec8c286e3173f182ac10995073cc3d61fd0bfaf353c51ad9207d3bd2c6134ab1a3990a37668709505b657c2816d561f8af92
+DIST cppcheck-1.84.tar.gz 2051244 BLAKE2B 8e4b4c71da969addec6d1cb2919c39625054797ae730c85555695e872f87295c20e4564db2eadf536a762ca018882285d5d329f9a5789608e14ef17f1069753d SHA512 7f971f9097db6d2fee7483634afc697bddff499a7b09c4be0bfdc3f8e502d47202a8d4f4fc1a330d0fb1d34a7772065b96419b4b4f4f1467b997e62459304526

diff --git a/dev-util/cppcheck/cppcheck-1.84.ebuild b/dev-util/cppcheck/cppcheck-1.84.ebuild
new file mode 100644
index 00000000000..5b093490925
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.84.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1 flag-o-matic qmake-utils toolchain-funcs
+
+DESCRIPTION="static analyzer of C/C++ code"
+HOMEPAGE="http://cppcheck.sourceforge.net"
+SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
+IUSE="htmlreport pcre qt5"
+
+RDEPEND="
+	dev-libs/tinyxml2:=
+	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	pcre? ( dev-libs/libpcre )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtprintsupport:5
+	)
+"
+DEPEND="${RDEPEND}
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.75-tinyxml2.patch )
+
+src_prepare() {
+	default
+	append-cxxflags -std=c++0x
+
+	# Drop bundled libs, patch Makefile generator and re-run it
+	rm -r externals/tinyxml || die
+	tc-export CXX
+	emake dmake
+	./dmake || die
+}
+
+src_configure() {
+	if use pcre ; then
+		sed -e '/HAVE_RULES=/s:=no:=yes:' \
+			-i Makefile || die
+	fi
+}
+
+src_compile() {
+	export LIBS="$(pkg-config --libs tinyxml2)"
+	emake ${PN} man \
+		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
+		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
+
+	if use qt5 ; then
+		pushd gui || die
+		eqmake5
+		emake
+		popd || die
+	fi
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_compile
+		popd || die
+	fi
+}
+
+src_test() {
+	# safe final version
+	mv -v ${PN}{,.final} || die
+	mv -v lib/library.o{,.final} || die
+	mv -v cli/cppcheckexecutor.o{,.final} || die
+	#trigger recompile with CFGDIR inside ${S}
+	emake check CFGDIR="${S}/cfg"
+	# restore
+	mv -v ${PN}{.final,} || die
+	mv -v lib/library.o{.final,} || die
+	mv -v cli/cppcheckexecutor.o{.final,} || die
+}
+
+src_install() {
+	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
+	emake install DESTDIR="${ED}"
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+	if use qt5 ; then
+		dobin gui/${PN}-gui
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_install
+		popd || die
+		find "${D}" -name "*.egg-info" -delete
+	else
+		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
+	fi
+	doman ${PN}.1
+	dodoc -r triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2018-08-11  9:06 Andreas Sturmlechner
  0 siblings, 0 replies; 101+ messages in thread
From: Andreas Sturmlechner @ 2018-08-11  9:06 UTC (permalink / raw
  To: gentoo-commits

commit:     793185350ac738d19e84a4666cdf9fe4289b789a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 11 08:51:09 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 11 08:51:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79318535

dev-util/cppcheck: Minor description fix

Package-Manager: Portage-2.3.45, Repoman-2.3.10

 dev-util/cppcheck/cppcheck-1.81.ebuild | 2 +-
 dev-util/cppcheck/cppcheck-1.84.ebuild | 2 +-
 dev-util/cppcheck/cppcheck-9999.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-1.81.ebuild b/dev-util/cppcheck/cppcheck-1.81.ebuild
index ce60d5ec062..0604af4239e 100644
--- a/dev-util/cppcheck/cppcheck-1.81.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.81.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1 flag-o-matic qmake-utils toolchain-funcs
 
-DESCRIPTION="static analyzer of C/C++ code"
+DESCRIPTION="Static analyzer of C/C++ code"
 HOMEPAGE="http://cppcheck.sourceforge.net"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 

diff --git a/dev-util/cppcheck/cppcheck-1.84.ebuild b/dev-util/cppcheck/cppcheck-1.84.ebuild
index 5b093490925..2fb1dddad4b 100644
--- a/dev-util/cppcheck/cppcheck-1.84.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.84.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1 flag-o-matic qmake-utils toolchain-funcs
 
-DESCRIPTION="static analyzer of C/C++ code"
+DESCRIPTION="Static analyzer of C/C++ code"
 HOMEPAGE="http://cppcheck.sourceforge.net"
 SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 

diff --git a/dev-util/cppcheck/cppcheck-9999.ebuild b/dev-util/cppcheck/cppcheck-9999.ebuild
index dcbdddafe55..38d6d57ecc2 100644
--- a/dev-util/cppcheck/cppcheck-9999.ebuild
+++ b/dev-util/cppcheck/cppcheck-9999.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1 flag-o-matic qmake-utils toolchain-funcs git-r3
 
-DESCRIPTION="static analyzer of C/C++ code"
+DESCRIPTION="Static analyzer of C/C++ code"
 HOMEPAGE="http://cppcheck.sourceforge.net"
 EGIT_REPO_URI="https://github.com/danmar/cppcheck.git"
 


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2018-09-18 23:04 Matt Turner
  0 siblings, 0 replies; 101+ messages in thread
From: Matt Turner @ 2018-09-18 23:04 UTC (permalink / raw
  To: gentoo-commits

commit:     a3da9590e6f4d77575ff50b4efa6e4b3a6a65fa5
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 18 23:02:48 2018 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Sep 18 23:04:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3da9590

dev-util/cppcheck-1.84-r1: added ~ppc64, bug 664470

 dev-util/cppcheck/cppcheck-1.84-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.84-r1.ebuild b/dev-util/cppcheck/cppcheck-1.84-r1.ebuild
index 4d0e7a668ec..82a4ecbe4b9 100644
--- a/dev-util/cppcheck/cppcheck-1.84-r1.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.84-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2018-12-12 15:11 Jeroen Roovers
  0 siblings, 0 replies; 101+ messages in thread
From: Jeroen Roovers @ 2018-12-12 15:11 UTC (permalink / raw
  To: gentoo-commits

commit:     77a831ca92bbcf95afe513358463afd6ae8866fa
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 12 15:11:19 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Dec 12 15:11:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77a831ca

dev-util/cppcheck: Maintain

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 dev-util/cppcheck/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/metadata.xml b/dev-util/cppcheck/metadata.xml
index 7556003fff3..fb35131dfd7 100644
--- a/dev-util/cppcheck/metadata.xml
+++ b/dev-util/cppcheck/metadata.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+<maintainer type='person'><email>jer@gentoo.org</email></maintainer>
 	<use>
 		<flag name="htmlreport">install cppcheck-htmlreport</flag>
 	</use>


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2018-12-12 15:19 Jeroen Roovers
  0 siblings, 0 replies; 101+ messages in thread
From: Jeroen Roovers @ 2018-12-12 15:19 UTC (permalink / raw
  To: gentoo-commits

commit:     1eb533aad99517c223c8acb174dc84f8e3a1598e
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 12 15:18:20 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Dec 12 15:18:59 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb533aa

Revert "dev-util/cppcheck: Maintain"

This reverts commit 77a831ca92bbcf95afe513358463afd6ae8866fa.

Bug: https://bugs.gentoo.org/673008#c1
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 dev-util/cppcheck/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/metadata.xml b/dev-util/cppcheck/metadata.xml
index fb35131dfd7..7556003fff3 100644
--- a/dev-util/cppcheck/metadata.xml
+++ b/dev-util/cppcheck/metadata.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type='person'><email>jer@gentoo.org</email></maintainer>
+	<!-- maintainer-needed -->
 	<use>
 		<flag name="htmlreport">install cppcheck-htmlreport</flag>
 	</use>


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2018-12-21 15:33 Jeroen Roovers
  0 siblings, 0 replies; 101+ messages in thread
From: Jeroen Roovers @ 2018-12-21 15:33 UTC (permalink / raw
  To: gentoo-commits

commit:     0854d316d49d6e5f9c8f2be353b01b1a65871954
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 21 15:32:11 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Dec 21 15:33:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0854d316

dev-util/cppcheck: Version 1.86

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Fixes: https://bugs.gentoo.org/673008
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 dev-util/cppcheck/Manifest             |   1 +
 dev-util/cppcheck/cppcheck-1.86.ebuild | 113 +++++++++++++++++++++++++++++++++
 2 files changed, 114 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 8a3615a6844..6bde7d45d7a 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,3 +1,4 @@
 DIST cppcheck-1.81.tar.bz2 1514741 BLAKE2B 2f23dfe4bdb26e203411f0bf9bc569303a4d59f96911b32a8a5f9cc9a6a7fa75e5d87c328cb0bf8cc46bd8f38747a4663c33243b8385355cc5630e1fcf6c891f SHA512 22e7b63c35e71b2784065faca06aec8c286e3173f182ac10995073cc3d61fd0bfaf353c51ad9207d3bd2c6134ab1a3990a37668709505b657c2816d561f8af92
 DIST cppcheck-1.84.tar.gz 2051244 BLAKE2B 8e4b4c71da969addec6d1cb2919c39625054797ae730c85555695e872f87295c20e4564db2eadf536a762ca018882285d5d329f9a5789608e14ef17f1069753d SHA512 7f971f9097db6d2fee7483634afc697bddff499a7b09c4be0bfdc3f8e502d47202a8d4f4fc1a330d0fb1d34a7772065b96419b4b4f4f1467b997e62459304526
 DIST cppcheck-1.85.tar.gz 2150637 BLAKE2B 73a1d4e1fb0770103c8163f35b9e710a5863561df66e46e319b9246ed14e3c5d4d73511db6e70275de4f4510866d7e1888b0fd6b49e5b01fc4f08d081119b36c SHA512 cc984c751d87150839782e96b3762dbf918d9e3687562eabaff6473e48e3254995dd3bffe8605842f867d7ad76845ca2248a53bbd54b5c367281db8a1c1c7fad
+DIST cppcheck-1.86.tar.gz 2184186 BLAKE2B 8b488ec72d0998d6b037de2b1204373c8b3de475ad165bf108bb331399356cb0d1e20a7bc6f368f1a038ec886ad7a84ad694172d0a96a203a6877f3838c21001 SHA512 59cec55b8408e8f2e2e7172bce69350c248bc3185a0938b523c44a58f98b344e11aef957ec1b7a7b2bc7a876660b2683e51f54b76f0b550f9549497c29453655

diff --git a/dev-util/cppcheck/cppcheck-1.86.ebuild b/dev-util/cppcheck/cppcheck-1.86.ebuild
new file mode 100644
index 00000000000..87931e60c7b
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.86.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit distutils-r1 qmake-utils toolchain-funcs
+
+DESCRIPTION="Static analyzer of C/C++ code"
+HOMEPAGE="http://cppcheck.sourceforge.net"
+SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+IUSE="htmlreport pcre qt5"
+
+RDEPEND="
+	dev-libs/tinyxml2:=
+	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	pcre? ( dev-libs/libpcre )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtprintsupport:5
+	)
+"
+DEPEND="${RDEPEND}
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+"
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.75-tinyxml2.patch
+	"${FILESDIR}"/${PN}-1.85-ldflags.patch
+)
+
+src_prepare() {
+	default
+
+	rm -r externals/tinyxml || die
+}
+
+src_configure() {
+	tc-export CXX PKG_CONFIG
+	export LIBS="$(${PKG_CONFIG} --libs tinyxml2)"
+
+	emake dmake
+	./dmake || die
+
+	if use pcre ; then
+		sed -e '/HAVE_RULES=/s:=no:=yes:' \
+			-i Makefile || die
+	fi
+
+	if use qt5 ; then
+		pushd gui || die
+		eqmake5
+		popd || die
+	fi
+}
+
+src_compile() {
+	emake ${PN} man \
+		CFGDIR="${EROOT}/usr/share/${PN}/cfg" \
+		DB2MAN="${EROOT}/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
+
+	if use qt5 ; then
+		pushd gui || die
+		emake
+		popd || die
+	fi
+
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_compile
+		popd || die
+	fi
+}
+
+src_test() {
+	# safe final version
+	mv -v ${PN}{,.final} || die
+	mv -v lib/library.o{,.final} || die
+	mv -v cli/cppcheckexecutor.o{,.final} || die
+	#trigger recompile with CFGDIR inside ${S}
+	emake check CFGDIR="${S}/cfg"
+	# restore
+	mv -v ${PN}{.final,} || die
+	mv -v lib/library.o{.final,} || die
+	mv -v cli/cppcheckexecutor.o{.final,} || die
+}
+
+src_install() {
+	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
+	emake install DESTDIR="${ED}"
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+	if use qt5 ; then
+		dobin gui/${PN}-gui
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_install
+		popd || die
+		find "${D}" -name "*.egg-info" -delete
+	else
+		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
+	fi
+	doman ${PN}.1
+	dodoc -r triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-01-02 19:01 Thomas Deutschmann
  0 siblings, 0 replies; 101+ messages in thread
From: Thomas Deutschmann @ 2019-01-02 19:01 UTC (permalink / raw
  To: gentoo-commits

commit:     d07d4ba9bd9bf1979c84917c86e80fbecdc73a8f
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  2 18:03:16 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Jan  2 19:01:26 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d07d4ba9

dev-util/cppcheck: x86 stable (bug #674326)

Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.86.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-1.86.ebuild b/dev-util/cppcheck/cppcheck-1.86.ebuild
index 87931e60c7b..70349700e04 100644
--- a/dev-util/cppcheck/cppcheck-1.86.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.86.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-01-03  9:27 Sergei Trofimovich
  0 siblings, 0 replies; 101+ messages in thread
From: Sergei Trofimovich @ 2019-01-03  9:27 UTC (permalink / raw
  To: gentoo-commits

commit:     d6d0dc5753539fecd0e05970bc2e298a1c0a5de3
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Thu Jan  3 04:45:37 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jan  3 09:27:43 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6d0dc57

dev-util/cppcheck: stable 1.86 for sparc, bug #674326

Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.86.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.86.ebuild b/dev-util/cppcheck/cppcheck-1.86.ebuild
index 70349700e04..e64e80f033f 100644
--- a/dev-util/cppcheck/cppcheck-1.86.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.86.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 sparc x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-01-03 14:58 Sergei Trofimovich
  0 siblings, 0 replies; 101+ messages in thread
From: Sergei Trofimovich @ 2019-01-03 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     ad6dedb434806db8b67fa01cd0f1feeef7a6174a
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  3 14:57:33 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jan  3 14:57:58 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad6dedb4

dev-util/cppcheck: stable 1.86 for hppa, bug #674326

Package-Manager: Portage-2.3.53, Repoman-2.3.12
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.86.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.86.ebuild b/dev-util/cppcheck/cppcheck-1.86.ebuild
index e64e80f033f..1bdbc10acd3 100644
--- a/dev-util/cppcheck/cppcheck-1.86.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.86.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 sparc x86"
+KEYWORDS="~amd64 ~arm ~arm64 hppa ~ppc64 sparc x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-01-16 15:36 Mikle Kolyada
  0 siblings, 0 replies; 101+ messages in thread
From: Mikle Kolyada @ 2019-01-16 15:36 UTC (permalink / raw
  To: gentoo-commits

commit:     9051fff66c6a87ea6c1f461973e45fec7ad411c2
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 16 15:35:51 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Wed Jan 16 15:35:51 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9051fff6

dev-util/cppcheck: amd64 stable wrt bug #674326

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-util/cppcheck/cppcheck-1.86.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.86.ebuild b/dev-util/cppcheck/cppcheck-1.86.ebuild
index 1bdbc10acd3..1e364b3e5fb 100644
--- a/dev-util/cppcheck/cppcheck-1.86.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.86.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 hppa ~ppc64 sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 hppa ~ppc64 sparc x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-01-18  9:27 Jeroen Roovers
  0 siblings, 0 replies; 101+ messages in thread
From: Jeroen Roovers @ 2019-01-18  9:27 UTC (permalink / raw
  To: gentoo-commits

commit:     ac44f3b3a0e6d07f090a858471b207f54b78a1c8
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 18 09:22:59 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Jan 18 09:27:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac44f3b3

dev-util/cppcheck: Update HOMEPAGE

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.86.ebuild | 4 ++--
 dev-util/cppcheck/cppcheck-9999.ebuild | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-1.86.ebuild b/dev-util/cppcheck/cppcheck-1.86.ebuild
index 1e364b3e5fb..c3cfb1dba83 100644
--- a/dev-util/cppcheck/cppcheck-1.86.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.86.ebuild
@@ -6,8 +6,8 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 inherit distutils-r1 qmake-utils toolchain-funcs
 
 DESCRIPTION="Static analyzer of C/C++ code"
-HOMEPAGE="http://cppcheck.sourceforge.net"
-SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/danmar/cppcheck"
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"

diff --git a/dev-util/cppcheck/cppcheck-9999.ebuild b/dev-util/cppcheck/cppcheck-9999.ebuild
index 9d9977873aa..1ca3b949a80 100644
--- a/dev-util/cppcheck/cppcheck-9999.ebuild
+++ b/dev-util/cppcheck/cppcheck-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,8 +6,8 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 inherit distutils-r1 git-r3 qmake-utils toolchain-funcs
 
 DESCRIPTION="Static analyzer of C/C++ code"
-HOMEPAGE="http://cppcheck.sourceforge.net"
-EGIT_REPO_URI="https://github.com/danmar/cppcheck"
+HOMEPAGE="https://github.com/danmar/cppcheck"
+EGIT_REPO_URI="${HOMEPAGE}"
 
 LICENSE="GPL-3+"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-01-18  9:27 Jeroen Roovers
  0 siblings, 0 replies; 101+ messages in thread
From: Jeroen Roovers @ 2019-01-18  9:27 UTC (permalink / raw
  To: gentoo-commits

commit:     972f03ddb5bd6b5dd18ca1599fd625b805fdde1a
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 18 08:16:55 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Jan 18 09:27:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=972f03dd

dev-util/cppcheck: Old

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 dev-util/cppcheck/Manifest             |   2 -
 dev-util/cppcheck/cppcheck-1.81.ebuild | 107 -------------------------------
 dev-util/cppcheck/cppcheck-1.85.ebuild | 113 ---------------------------------
 3 files changed, 222 deletions(-)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index ea5ae23f704..db300ae3070 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,3 +1 @@
-DIST cppcheck-1.81.tar.bz2 1514741 BLAKE2B 2f23dfe4bdb26e203411f0bf9bc569303a4d59f96911b32a8a5f9cc9a6a7fa75e5d87c328cb0bf8cc46bd8f38747a4663c33243b8385355cc5630e1fcf6c891f SHA512 22e7b63c35e71b2784065faca06aec8c286e3173f182ac10995073cc3d61fd0bfaf353c51ad9207d3bd2c6134ab1a3990a37668709505b657c2816d561f8af92
-DIST cppcheck-1.85.tar.gz 2150637 BLAKE2B 73a1d4e1fb0770103c8163f35b9e710a5863561df66e46e319b9246ed14e3c5d4d73511db6e70275de4f4510866d7e1888b0fd6b49e5b01fc4f08d081119b36c SHA512 cc984c751d87150839782e96b3762dbf918d9e3687562eabaff6473e48e3254995dd3bffe8605842f867d7ad76845ca2248a53bbd54b5c367281db8a1c1c7fad
 DIST cppcheck-1.86.tar.gz 2184186 BLAKE2B 8b488ec72d0998d6b037de2b1204373c8b3de475ad165bf108bb331399356cb0d1e20a7bc6f368f1a038ec886ad7a84ad694172d0a96a203a6877f3838c21001 SHA512 59cec55b8408e8f2e2e7172bce69350c248bc3185a0938b523c44a58f98b344e11aef957ec1b7a7b2bc7a876660b2683e51f54b76f0b550f9549497c29453655

diff --git a/dev-util/cppcheck/cppcheck-1.81.ebuild b/dev-util/cppcheck/cppcheck-1.81.ebuild
deleted file mode 100644
index 0604af4239e..00000000000
--- a/dev-util/cppcheck/cppcheck-1.81.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-
-inherit distutils-r1 flag-o-matic qmake-utils toolchain-funcs
-
-DESCRIPTION="Static analyzer of C/C++ code"
-HOMEPAGE="http://cppcheck.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 hppa sparc x86"
-IUSE="htmlreport pcre qt5"
-
-RDEPEND="
-	dev-libs/tinyxml2:=
-	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
-	pcre? ( dev-libs/libpcre )
-	qt5? (
-		dev-qt/qtcore:5
-		dev-qt/qtgui:5
-		dev-qt/qtprintsupport:5
-	)
-"
-DEPEND="${RDEPEND}
-	app-text/docbook-xsl-stylesheets
-	dev-libs/libxslt
-	virtual/pkgconfig
-"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.75-tinyxml2.patch )
-
-src_prepare() {
-	default
-	append-cxxflags -std=c++0x
-
-	# Drop bundled libs, patch Makefile generator and re-run it
-	rm -r externals/tinyxml || die
-	tc-export CXX
-	emake dmake
-	./dmake || die
-}
-
-src_configure() {
-	if use pcre ; then
-		sed -e '/HAVE_RULES=/s:=no:=yes:' \
-			-i Makefile
-	fi
-}
-
-src_compile() {
-	export LIBS="$(pkg-config --libs tinyxml2)"
-	emake ${PN} man \
-		CFGDIR="${EROOT}usr/share/${PN}/cfg" \
-		DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
-
-	if use qt5 ; then
-		pushd gui
-		eqmake5
-		emake
-		popd
-	fi
-	if use htmlreport ; then
-		pushd htmlreport
-		distutils-r1_src_compile
-		popd
-	fi
-}
-
-src_test() {
-	# safe final version
-	mv -v ${PN}{,.final}
-	mv -v lib/library.o{,.final}
-	mv -v cli/cppcheckexecutor.o{,.final}
-	#trigger recompile with CFGDIR inside ${S}
-	emake check CFGDIR="${S}/cfg"
-	# restore
-	mv -v ${PN}{.final,}
-	mv -v lib/library.o{.final,}
-	mv -v cli/cppcheckexecutor.o{.final,}
-}
-
-src_install() {
-	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
-	emake install DESTDIR="${ED}"
-
-	insinto "/usr/share/${PN}/cfg"
-	doins cfg/*.cfg
-	if use qt5 ; then
-		dobin gui/${PN}-gui
-		dodoc gui/{projectfile.txt,gui.${PN}}
-	fi
-	if use htmlreport ; then
-		pushd htmlreport
-		distutils-r1_src_install
-		popd
-		find "${D}" -name "*.egg-info" -delete
-	else
-		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
-	fi
-	doman ${PN}.1
-	dodoc -r triage
-}

diff --git a/dev-util/cppcheck/cppcheck-1.85.ebuild b/dev-util/cppcheck/cppcheck-1.85.ebuild
deleted file mode 100644
index 87931e60c7b..00000000000
--- a/dev-util/cppcheck/cppcheck-1.85.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-inherit distutils-r1 qmake-utils toolchain-funcs
-
-DESCRIPTION="Static analyzer of C/C++ code"
-HOMEPAGE="http://cppcheck.sourceforge.net"
-SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
-IUSE="htmlreport pcre qt5"
-
-RDEPEND="
-	dev-libs/tinyxml2:=
-	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
-	pcre? ( dev-libs/libpcre )
-	qt5? (
-		dev-qt/qtcore:5
-		dev-qt/qtgui:5
-		dev-qt/qtprintsupport:5
-	)
-"
-DEPEND="${RDEPEND}
-	app-text/docbook-xsl-stylesheets
-	dev-libs/libxslt
-	virtual/pkgconfig
-"
-PATCHES=(
-	"${FILESDIR}"/${PN}-1.75-tinyxml2.patch
-	"${FILESDIR}"/${PN}-1.85-ldflags.patch
-)
-
-src_prepare() {
-	default
-
-	rm -r externals/tinyxml || die
-}
-
-src_configure() {
-	tc-export CXX PKG_CONFIG
-	export LIBS="$(${PKG_CONFIG} --libs tinyxml2)"
-
-	emake dmake
-	./dmake || die
-
-	if use pcre ; then
-		sed -e '/HAVE_RULES=/s:=no:=yes:' \
-			-i Makefile || die
-	fi
-
-	if use qt5 ; then
-		pushd gui || die
-		eqmake5
-		popd || die
-	fi
-}
-
-src_compile() {
-	emake ${PN} man \
-		CFGDIR="${EROOT}/usr/share/${PN}/cfg" \
-		DB2MAN="${EROOT}/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
-
-	if use qt5 ; then
-		pushd gui || die
-		emake
-		popd || die
-	fi
-
-	if use htmlreport ; then
-		pushd htmlreport || die
-		distutils-r1_src_compile
-		popd || die
-	fi
-}
-
-src_test() {
-	# safe final version
-	mv -v ${PN}{,.final} || die
-	mv -v lib/library.o{,.final} || die
-	mv -v cli/cppcheckexecutor.o{,.final} || die
-	#trigger recompile with CFGDIR inside ${S}
-	emake check CFGDIR="${S}/cfg"
-	# restore
-	mv -v ${PN}{.final,} || die
-	mv -v lib/library.o{.final,} || die
-	mv -v cli/cppcheckexecutor.o{.final,} || die
-}
-
-src_install() {
-	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
-	emake install DESTDIR="${ED}"
-
-	insinto "/usr/share/${PN}/cfg"
-	doins cfg/*.cfg
-	if use qt5 ; then
-		dobin gui/${PN}-gui
-		dodoc gui/{projectfile.txt,gui.${PN}}
-	fi
-	if use htmlreport ; then
-		pushd htmlreport || die
-		distutils-r1_src_install
-		popd || die
-		find "${D}" -name "*.egg-info" -delete
-	else
-		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
-	fi
-	doman ${PN}.1
-	dodoc -r triage
-}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-02-04  5:11 Jeroen Roovers
  0 siblings, 0 replies; 101+ messages in thread
From: Jeroen Roovers @ 2019-02-04  5:11 UTC (permalink / raw
  To: gentoo-commits

commit:     640e8dd16caf33089d1fe6cb5575ea1fd464df64
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  4 05:11:00 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Feb  4 05:11:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=640e8dd1

dev-util/cppcheck: Do not install triage/

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Fixes: https://bugs.gentoo.org/677224
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-9999.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-9999.ebuild b/dev-util/cppcheck/cppcheck-9999.ebuild
index 1ca3b949a80..492bd6fe04a 100644
--- a/dev-util/cppcheck/cppcheck-9999.ebuild
+++ b/dev-util/cppcheck/cppcheck-9999.ebuild
@@ -109,5 +109,4 @@ src_install() {
 		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
 	fi
 	doman ${PN}.1
-	dodoc -r triage
 }


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-03-24 16:52 Matthias Maier
  0 siblings, 0 replies; 101+ messages in thread
From: Matthias Maier @ 2019-03-24 16:52 UTC (permalink / raw
  To: gentoo-commits

commit:     b9bcf829a83244b525f0c517063fa10905f65077
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 16:36:41 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 16:52:38 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9bcf829

dev-util/cppcheck: take over maintainership

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-util/cppcheck/metadata.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/metadata.xml b/dev-util/cppcheck/metadata.xml
index 7556003fff3..de3bd183267 100644
--- a/dev-util/cppcheck/metadata.xml
+++ b/dev-util/cppcheck/metadata.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>tamiko@gentoo.org</email>
+		<name>Matthias Maier</name>
+	</maintainer>
 	<use>
 		<flag name="htmlreport">install cppcheck-htmlreport</flag>
 	</use>


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-03-24 16:52 Matthias Maier
  0 siblings, 0 replies; 101+ messages in thread
From: Matthias Maier @ 2019-03-24 16:52 UTC (permalink / raw
  To: gentoo-commits

commit:     8eb54a0209ccdb705c5d14681eb432999085c749
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 16:51:51 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 16:52:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eb54a02

dev-util/cppcheck: update live ebuild

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-9999.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-9999.ebuild b/dev-util/cppcheck/cppcheck-9999.ebuild
index 492bd6fe04a..c216c0f0a0e 100644
--- a/dev-util/cppcheck/cppcheck-9999.ebuild
+++ b/dev-util/cppcheck/cppcheck-9999.ebuild
@@ -31,7 +31,6 @@ DEPEND="${RDEPEND}
 "
 PATCHES=(
 	"${FILESDIR}"/${PN}-1.75-tinyxml2.patch
-	"${FILESDIR}"/${PN}-1.85-ldflags.patch
 )
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-05-24 16:20 Matthias Maier
  0 siblings, 0 replies; 101+ messages in thread
From: Matthias Maier @ 2019-05-24 16:20 UTC (permalink / raw
  To: gentoo-commits

commit:     3b174c0a824ffc01be21d257ef4dabebbda4eaf4
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 16:17:06 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri May 24 16:20:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b174c0a

dev-util/cppcheck: version bump to 1.87

Closes: https://bugs.gentoo.org/683026
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-util/cppcheck/Manifest             |   1 +
 dev-util/cppcheck/cppcheck-1.87.ebuild | 113 +++++++++++++++++++++++++++++++++
 2 files changed, 114 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index db300ae3070..3c9ce707e0c 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1 +1,2 @@
 DIST cppcheck-1.86.tar.gz 2184186 BLAKE2B 8b488ec72d0998d6b037de2b1204373c8b3de475ad165bf108bb331399356cb0d1e20a7bc6f368f1a038ec886ad7a84ad694172d0a96a203a6877f3838c21001 SHA512 59cec55b8408e8f2e2e7172bce69350c248bc3185a0938b523c44a58f98b344e11aef957ec1b7a7b2bc7a876660b2683e51f54b76f0b550f9549497c29453655
+DIST cppcheck-1.87.tar.gz 2243258 BLAKE2B ffe42bfb2e896163678c5bb24e46ae2391ba8254cbe7c1c19c3c1b16cd38adf9c773de6aaefe70af08b9c1dca8b0b0b5e9939323368a2f81491fd6981ff18139 SHA512 b0149002b40260c1488904929296403722a66b84263b41d0097c3caed28265332766c114f0d1f378ea6c7e73ab973ea71ab89c6744f6cc818f22de08933e6766

diff --git a/dev-util/cppcheck/cppcheck-1.87.ebuild b/dev-util/cppcheck/cppcheck-1.87.ebuild
new file mode 100644
index 00000000000..13f0eb6f1f8
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.87.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+inherit distutils-r1 qmake-utils toolchain-funcs
+
+DESCRIPTION="Static analyzer of C/C++ code"
+HOMEPAGE="https://github.com/danmar/cppcheck"
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+IUSE="htmlreport pcre qt5"
+
+RDEPEND="
+	dev-libs/tinyxml2:=
+	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	pcre? ( dev-libs/libpcre )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtprintsupport:5
+	)
+"
+DEPEND="${RDEPEND}
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+"
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.75-tinyxml2.patch
+	"${FILESDIR}"/${PN}-1.85-ldflags.patch
+)
+
+src_prepare() {
+	default
+
+	rm -r externals/tinyxml || die
+}
+
+src_configure() {
+	tc-export CXX PKG_CONFIG
+	export LIBS="$(${PKG_CONFIG} --libs tinyxml2)"
+
+	emake dmake
+	./dmake || die
+
+	if use pcre ; then
+		sed -e '/HAVE_RULES=/s:=no:=yes:' \
+			-i Makefile || die
+	fi
+
+	if use qt5 ; then
+		pushd gui || die
+		eqmake5
+		popd || die
+	fi
+}
+
+src_compile() {
+	emake ${PN} man \
+		CFGDIR="${EROOT}/usr/share/${PN}/cfg" \
+		DB2MAN="${EROOT}/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
+
+	if use qt5 ; then
+		pushd gui || die
+		emake
+		popd || die
+	fi
+
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_compile
+		popd || die
+	fi
+}
+
+src_test() {
+	# safe final version
+	mv -v ${PN}{,.final} || die
+	mv -v lib/library.o{,.final} || die
+	mv -v cli/cppcheckexecutor.o{,.final} || die
+	#trigger recompile with CFGDIR inside ${S}
+	emake check CFGDIR="${S}/cfg"
+	# restore
+	mv -v ${PN}{.final,} || die
+	mv -v lib/library.o{.final,} || die
+	mv -v cli/cppcheckexecutor.o{.final,} || die
+}
+
+src_install() {
+	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
+	emake install DESTDIR="${ED}"
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+	if use qt5 ; then
+		dobin gui/${PN}-gui
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_install
+		popd || die
+		find "${D}" -name "*.egg-info" -delete
+	else
+		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
+	fi
+	doman ${PN}.1
+	dodoc -r tools/triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-05-24 16:20 Matthias Maier
  0 siblings, 0 replies; 101+ messages in thread
From: Matthias Maier @ 2019-05-24 16:20 UTC (permalink / raw
  To: gentoo-commits

commit:     aa8e4c85e547bf6bdb7327728e9029378119f3c3
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 16:19:28 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri May 24 16:20:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa8e4c85

dev-util/cppcheck: update live ebuild

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/cppcheck/cppcheck-9999.ebuild b/dev-util/cppcheck/cppcheck-9999.ebuild
index 3e3669313a3..4eb9053d431 100644
--- a/dev-util/cppcheck/cppcheck-9999.ebuild
+++ b/dev-util/cppcheck/cppcheck-9999.ebuild
@@ -108,4 +108,5 @@ src_install() {
 		rm "${ED}/usr/bin/cppcheck-htmlreport" || die
 	fi
 	doman ${PN}.1
+	dodoc -r tools/triage
 }


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-06-12  7:25 Sergei Trofimovich
  0 siblings, 0 replies; 101+ messages in thread
From: Sergei Trofimovich @ 2019-06-12  7:25 UTC (permalink / raw
  To: gentoo-commits

commit:     a6365625a588d25c9d36449ef608473f32e8db18
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 07:24:34 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 07:24:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6365625

dev-util/cppcheck: allow python3_7, bug #686916

Reported-by: Jeff Kowalczyk
Fixed-by: Jeff Kowalczyk
Closes: https://bugs.gentoo.org/686916
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.87.ebuild | 2 +-
 dev-util/cppcheck/cppcheck-9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-1.87.ebuild b/dev-util/cppcheck/cppcheck-1.87.ebuild
index 13f0eb6f1f8..7630b01b69e 100644
--- a/dev-util/cppcheck/cppcheck-1.87.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.87.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
 inherit distutils-r1 qmake-utils toolchain-funcs
 
 DESCRIPTION="Static analyzer of C/C++ code"

diff --git a/dev-util/cppcheck/cppcheck-9999.ebuild b/dev-util/cppcheck/cppcheck-9999.ebuild
index 9ebb17a4dbd..0bcf6e7db8d 100644
--- a/dev-util/cppcheck/cppcheck-9999.ebuild
+++ b/dev-util/cppcheck/cppcheck-9999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
 inherit distutils-r1 git-r3 qmake-utils toolchain-funcs
 
 DESCRIPTION="Static analyzer of C/C++ code"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2019-07-31 21:11 Aaron Bauman
  0 siblings, 0 replies; 101+ messages in thread
From: Aaron Bauman @ 2019-07-31 21:11 UTC (permalink / raw
  To: gentoo-commits

commit:     3b5d5b693fc066fc2e20c20c1bb1817f7719ace8
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 31 20:48:43 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Wed Jul 31 21:10:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b5d5b69

dev-util/cppcheck: arm64 stable

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="arm64"

 dev-util/cppcheck/cppcheck-1.86.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.86.ebuild b/dev-util/cppcheck/cppcheck-1.86.ebuild
index cb394ed32bb..e5e40d68d20 100644
--- a/dev-util/cppcheck/cppcheck-1.86.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.86.ebuild
@@ -11,7 +11,7 @@ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 hppa ~ppc64 sparc x86"
+KEYWORDS="amd64 ~arm arm64 hppa ~ppc64 sparc x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2020-02-11 12:16 Michał Górny
  0 siblings, 0 replies; 101+ messages in thread
From: Michał Górny @ 2020-02-11 12:16 UTC (permalink / raw
  To: gentoo-commits

commit:     92e1825b50decb5e479b68eb452c4c2a56d3e4dd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 11 11:55:31 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 11 12:16:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92e1825b

dev-util/cppcheck: Remove py2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.86.ebuild | 2 +-
 dev-util/cppcheck/cppcheck-1.87.ebuild | 2 +-
 dev-util/cppcheck/cppcheck-1.88.ebuild | 2 +-
 dev-util/cppcheck/cppcheck-9999.ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-1.86.ebuild b/dev-util/cppcheck/cppcheck-1.86.ebuild
index d0a3a701f5e..03e138c8250 100644
--- a/dev-util/cppcheck/cppcheck-1.86.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.86.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 inherit distutils-r1 qmake-utils toolchain-funcs
 
 DESCRIPTION="Static analyzer of C/C++ code"

diff --git a/dev-util/cppcheck/cppcheck-1.87.ebuild b/dev-util/cppcheck/cppcheck-1.87.ebuild
index 26637d9af92..cd7a61d7ca8 100644
--- a/dev-util/cppcheck/cppcheck-1.87.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.87.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
 inherit distutils-r1 qmake-utils toolchain-funcs
 
 DESCRIPTION="Static analyzer of C/C++ code"

diff --git a/dev-util/cppcheck/cppcheck-1.88.ebuild b/dev-util/cppcheck/cppcheck-1.88.ebuild
index 8c92f60d803..2188aa6907f 100644
--- a/dev-util/cppcheck/cppcheck-1.88.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.88.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
 inherit distutils-r1 qmake-utils toolchain-funcs
 
 DESCRIPTION="Static analyzer of C/C++ code"

diff --git a/dev-util/cppcheck/cppcheck-9999.ebuild b/dev-util/cppcheck/cppcheck-9999.ebuild
index 00d16748b09..b5bb8e433e7 100644
--- a/dev-util/cppcheck/cppcheck-9999.ebuild
+++ b/dev-util/cppcheck/cppcheck-9999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
 inherit distutils-r1 git-r3 qmake-utils toolchain-funcs
 
 DESCRIPTION="Static analyzer of C/C++ code"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2020-02-11 19:43 Agostino Sarubbo
  0 siblings, 0 replies; 101+ messages in thread
From: Agostino Sarubbo @ 2020-02-11 19:43 UTC (permalink / raw
  To: gentoo-commits

commit:     ee2336af92077003411ef721c841ab96825a63c6
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 11 19:41:30 2020 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Feb 11 19:43:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee2336af

dev-util/cppcheck: amd64 stable wrt bug #706146

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.88.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.88.ebuild b/dev-util/cppcheck/cppcheck-1.88.ebuild
index 2188aa6907f..5e9d8dbf7eb 100644
--- a/dev-util/cppcheck/cppcheck-1.88.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.88.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2020-02-11 19:50 Agostino Sarubbo
  0 siblings, 0 replies; 101+ messages in thread
From: Agostino Sarubbo @ 2020-02-11 19:50 UTC (permalink / raw
  To: gentoo-commits

commit:     a302030729bd9ffd4628631324b3fff6fedada82
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 11 19:49:18 2020 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Feb 11 19:49:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3020307

dev-util/cppcheck: x86 stable wrt bug #706146

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.88.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.88.ebuild b/dev-util/cppcheck/cppcheck-1.88.ebuild
index 5e9d8dbf7eb..45544267743 100644
--- a/dev-util/cppcheck/cppcheck-1.88.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.88.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2020-02-13 19:52 Sergei Trofimovich
  0 siblings, 0 replies; 101+ messages in thread
From: Sergei Trofimovich @ 2020-02-13 19:52 UTC (permalink / raw
  To: gentoo-commits

commit:     97af0dc5764700cd272ce32b873bc52dd23bc002
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Thu Feb 13 17:08:24 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Feb 13 19:52:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97af0dc5

dev-util/cppcheck: stable 1.88 for sparc, bug #706146

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.88.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.88.ebuild b/dev-util/cppcheck/cppcheck-1.88.ebuild
index 45544267743..a19d40ec100 100644
--- a/dev-util/cppcheck/cppcheck-1.88.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.88.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 sparc x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2020-03-29 17:56 Mart Raudsepp
  0 siblings, 0 replies; 101+ messages in thread
From: Mart Raudsepp @ 2020-03-29 17:56 UTC (permalink / raw
  To: gentoo-commits

commit:     10001ab42644adbe8d55aa0f9b4fba61ee28131d
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 29 17:55:12 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Mar 29 17:55:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10001ab4

dev-util/cppcheck: arm64 stable (bug #706146)

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.88.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.88.ebuild b/dev-util/cppcheck/cppcheck-1.88.ebuild
index a19d40ec100..d281fb79431 100644
--- a/dev-util/cppcheck/cppcheck-1.88.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.88.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc64 sparc x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2020-06-20 18:59 Sergei Trofimovich
  0 siblings, 0 replies; 101+ messages in thread
From: Sergei Trofimovich @ 2020-06-20 18:59 UTC (permalink / raw
  To: gentoo-commits

commit:     17f429b58552ebbddbaeb275551e1a9fafa7eac5
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Fri Jun 19 19:10:13 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 20 18:59:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17f429b5

dev-util/cppcheck: stable 1.88 for hppa, bug #706146

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.88.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.88.ebuild b/dev-util/cppcheck/cppcheck-1.88.ebuild
index d281fb79431..bff6e611639 100644
--- a/dev-util/cppcheck/cppcheck-1.88.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.88.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc64 sparc x86"
+KEYWORDS="amd64 ~arm arm64 hppa ~ppc64 sparc x86"
 IUSE="htmlreport pcre qt5"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2020-12-04  5:37 Matthias Maier
  0 siblings, 0 replies; 101+ messages in thread
From: Matthias Maier @ 2020-12-04  5:37 UTC (permalink / raw
  To: gentoo-commits

commit:     7759a422ad55e266248fc464bfcfece373349570
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  4 04:58:58 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Dec  4 05:37:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7759a422

dev-util/cppcheck: update PYTHON_COMPAT

Closes: https://bugs.gentoo.org/758176
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-1.88.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-1.88.ebuild b/dev-util/cppcheck/cppcheck-1.88.ebuild
index bff6e611639..20e3efce2c1 100644
--- a/dev-util/cppcheck/cppcheck-1.88.ebuild
+++ b/dev-util/cppcheck/cppcheck-1.88.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8,3_9} )
 inherit distutils-r1 qmake-utils toolchain-funcs
 
 DESCRIPTION="Static analyzer of C/C++ code"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2020-12-05 14:58 Guilherme Amadio
  0 siblings, 0 replies; 101+ messages in thread
From: Guilherme Amadio @ 2020-12-05 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     604edcde867f02343888b64b2e08e8bea1cf23d0
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  4 14:11:24 2020 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Sat Dec  5 14:54:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604edcde

dev-util/cppcheck: fix double prefix in installed files

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-2.2.ebuild b/dev-util/cppcheck/cppcheck-2.2.ebuild
index 4589cb21f5d..b25286926e7 100644
--- a/dev-util/cppcheck/cppcheck-2.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.2.ebuild
@@ -40,7 +40,7 @@ src_configure() {
 		-DHAVE_RULES="$(usex pcre)"
 		-DBUILD_GUI="$(usex qt5)"
 		-DUSE_Z3="$(usex z3)"
-		-DFILESDIR="${EROOT}/usr/share/${PN}/"
+		-DFILESDIR="usr/share/${PN}/"
 		-ENABLE_OSS_FUZZ=OFF
 	)
 	cmake-utils_src_configure
@@ -59,7 +59,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="usr/share/${PN}/"
 
 	insinto "/usr/share/${PN}/cfg"
 	doins cfg/*.cfg


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2020-12-05 14:58 Guilherme Amadio
  0 siblings, 0 replies; 101+ messages in thread
From: Guilherme Amadio @ 2020-12-05 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     585904e5111ac033fa04465bdc96ad5ace2bf71f
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  4 14:33:12 2020 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Sat Dec  5 14:54:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=585904e5

dev-util/cppcheck: move to cmake.eclass

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.2.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-2.2.ebuild b/dev-util/cppcheck/cppcheck-2.2.ebuild
index b25286926e7..11db1fddb9e 100644
--- a/dev-util/cppcheck/cppcheck-2.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 PYTHON_COMPAT=( python{3_6,3_7,3_8,3_9} )
-inherit distutils-r1 toolchain-funcs cmake-utils
+inherit distutils-r1 toolchain-funcs cmake
 
 DESCRIPTION="Static analyzer of C/C++ code"
 HOMEPAGE="https://github.com/danmar/cppcheck"
@@ -31,7 +31,7 @@ DEPEND="${RDEPEND}
 "
 
 src_prepare() {
-	cmake-utils_src_prepare
+	cmake_src_prepare
 }
 
 src_configure() {
@@ -43,11 +43,11 @@ src_configure() {
 		-DFILESDIR="usr/share/${PN}/"
 		-ENABLE_OSS_FUZZ=OFF
 	)
-	cmake-utils_src_configure
+	cmake_src_configure
 }
 
 src_compile() {
-	cmake-utils_src_compile
+	cmake_src_compile
 
 	if use htmlreport ; then
 		pushd htmlreport || die


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2020-12-13 18:23 Matthias Maier
  0 siblings, 0 replies; 101+ messages in thread
From: Matthias Maier @ 2020-12-13 18:23 UTC (permalink / raw
  To: gentoo-commits

commit:     087ffe492d2abcda3bddb43d3f877bfbddb49adf
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 13 18:21:52 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Dec 13 18:21:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087ffe49

dev-util/cppcheck: add missing dependency on dev-qt/qthelp

Closes: https://bugs.gentoo.org/758395
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/cppcheck/cppcheck-2.2.ebuild b/dev-util/cppcheck/cppcheck-2.2.ebuild
index 1c051aadc94..1cb526a0bac 100644
--- a/dev-util/cppcheck/cppcheck-2.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.2.ebuild
@@ -20,6 +20,7 @@ RDEPEND="
 	qt5? (
 		dev-qt/qtcore:5
 		dev-qt/qtgui:5
+		dev-qt/qthelp
 		dev-qt/qtprintsupport:5
 	)
 "


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2020-12-13 18:23 Matthias Maier
  0 siblings, 0 replies; 101+ messages in thread
From: Matthias Maier @ 2020-12-13 18:23 UTC (permalink / raw
  To: gentoo-commits

commit:     a6ba9facf734344a00ff866863f7066d474b9d01
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 13 18:19:52 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Dec 13 18:20:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ba9fac

Revert "dev-util/cppcheck: fix double prefix in installed files"

This reverts commit 604edcde867f02343888b64b2e08e8bea1cf23d0.

Closes: https://bugs.gentoo.org/759613
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-2.2.ebuild b/dev-util/cppcheck/cppcheck-2.2.ebuild
index 11db1fddb9e..1c051aadc94 100644
--- a/dev-util/cppcheck/cppcheck-2.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.2.ebuild
@@ -40,7 +40,7 @@ src_configure() {
 		-DHAVE_RULES="$(usex pcre)"
 		-DBUILD_GUI="$(usex qt5)"
 		-DUSE_Z3="$(usex z3)"
-		-DFILESDIR="usr/share/${PN}/"
+		-DFILESDIR="${EROOT}/usr/share/${PN}/"
 		-ENABLE_OSS_FUZZ=OFF
 	)
 	cmake_src_configure
@@ -59,7 +59,7 @@ src_compile() {
 src_install() {
 	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
 	emake install DESTDIR="${ED}" \
-		FILESDIR="usr/share/${PN}/"
+		FILESDIR="${EROOT}/usr/share/${PN}/"
 
 	insinto "/usr/share/${PN}/cfg"
 	doins cfg/*.cfg


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-04-29  1:30 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2021-04-29  1:30 UTC (permalink / raw
  To: gentoo-commits

commit:     f30d17a1ecae893c8004f06ecc20d51194e7aace
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  3 20:48:08 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 29 01:30:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f30d17a1

dev-util/cppcheck: Fix compilation

Closes: https://bugs.gentoo.org/778467
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-2.2.ebuild b/dev-util/cppcheck/cppcheck-2.2.ebuild
index 3246f31de03..ddda0e4b215 100644
--- a/dev-util/cppcheck/cppcheck-2.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -42,7 +42,7 @@ src_configure() {
 		-DBUILD_GUI="$(usex qt5)"
 		-DUSE_Z3="$(usex z3)"
 		-DFILESDIR="${EROOT}/usr/share/${PN}/"
-		-ENABLE_OSS_FUZZ=OFF
+		-DENABLE_OSS_FUZZ=OFF
 	)
 	cmake_src_configure
 }


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-05-31  7:58 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2021-05-31  7:58 UTC (permalink / raw
  To: gentoo-commits

commit:     b17dec606f3d8a53fa4d19bd527b05478001c971
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 31 07:52:46 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 31 07:55:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17dec60

dev-util/cppcheck: Stabilize 2.2 amd64, #793110

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.2.ebuild b/dev-util/cppcheck/cppcheck-2.2.ebuild
index ddda0e4b215..aa0bae50586 100644
--- a/dev-util/cppcheck/cppcheck-2.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
 IUSE="htmlreport pcre qt5 +z3"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-05-31  7:58 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2021-05-31  7:58 UTC (permalink / raw
  To: gentoo-commits

commit:     8851c1cb57791956de043f289cbd8d211763ec62
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 31 07:56:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 31 07:56:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8851c1cb

dev-util/cppcheck: Stabilize 2.2 sparc, #793110

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.2.ebuild b/dev-util/cppcheck/cppcheck-2.2.ebuild
index aa0bae50586..4014a57d6c9 100644
--- a/dev-util/cppcheck/cppcheck-2.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 sparc ~x86"
 IUSE="htmlreport pcre qt5 +z3"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-06-03  8:23 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2021-06-03  8:23 UTC (permalink / raw
  To: gentoo-commits

commit:     7b731069834a356b8c9815d59f9ec058cbcdd02b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  3 08:19:03 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  3 08:21:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b731069

dev-util/cppcheck: Stabilize 2.2 x86, #793110

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.2.ebuild b/dev-util/cppcheck/cppcheck-2.2.ebuild
index 4014a57d6c9..692cdedf480 100644
--- a/dev-util/cppcheck/cppcheck-2.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 sparc x86"
 IUSE="htmlreport pcre qt5 +z3"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-08-03 23:37 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2021-08-03 23:37 UTC (permalink / raw
  To: gentoo-commits

commit:     5a48c0a693adf1e254bd3f2401b346b982a1fcd4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  3 23:37:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug  3 23:37:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a48c0a6

dev-util/cppcheck: Stabilize 2.2 arm64, #793110

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.2.ebuild b/dev-util/cppcheck/cppcheck-2.2.ebuild
index 692cdedf480..175f33dd4bc 100644
--- a/dev-util/cppcheck/cppcheck-2.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc64 sparc x86"
 IUSE="htmlreport pcre qt5 +z3"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-10-14  7:33 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2021-10-14  7:33 UTC (permalink / raw
  To: gentoo-commits

commit:     49793ad1a2c441b8fef65ffbae1f75f4db3ea6e1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 14 07:33:16 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 14 07:33:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49793ad1

dev-util/cppcheck: Stabilize 2.4.1 amd64, #813882

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.4.1.ebuild b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
index 8ee6ca9778e..dc04be753b8 100644
--- a/dev-util/cppcheck/cppcheck-2.4.1.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
 IUSE="htmlreport pcre qt5 +z3"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-10-14 13:40 Agostino Sarubbo
  0 siblings, 0 replies; 101+ messages in thread
From: Agostino Sarubbo @ 2021-10-14 13:40 UTC (permalink / raw
  To: gentoo-commits

commit:     bd0f56e33696e57821fb7895eb3ac665488e9020
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 14 13:40:03 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Oct 14 13:40:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd0f56e3

dev-util/cppcheck: sparc stable wrt bug #813882

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.4.1.ebuild b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
index dc04be753b8..4e719e14cae 100644
--- a/dev-util/cppcheck/cppcheck-2.4.1.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 sparc ~x86"
 IUSE="htmlreport pcre qt5 +z3"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-10-14 16:38 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2021-10-14 16:38 UTC (permalink / raw
  To: gentoo-commits

commit:     5d285b8f726e1bad6e7324dcaa3cea5c62d09436
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 14 16:37:37 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 14 16:37:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d285b8f

dev-util/cppcheck: Stabilize 2.4.1 arm64, #813882

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.4.1.ebuild b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
index 4e719e14cae..ab43961f889 100644
--- a/dev-util/cppcheck/cppcheck-2.4.1.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc64 sparc ~x86"
 IUSE="htmlreport pcre qt5 +z3"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-10-15  6:00 Agostino Sarubbo
  0 siblings, 0 replies; 101+ messages in thread
From: Agostino Sarubbo @ 2021-10-15  6:00 UTC (permalink / raw
  To: gentoo-commits

commit:     5f0f6f739ea6d5e4099454ce90b341a161f3fd45
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 15 06:00:41 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Oct 15 06:00:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f0f6f73

dev-util/cppcheck: x86 stable wrt bug #813882

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.4.1.ebuild b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
index ab43961f889..9130c7d8840 100644
--- a/dev-util/cppcheck/cppcheck-2.4.1.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc64 sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc64 sparc x86"
 IUSE="htmlreport pcre qt5 +z3"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-11-22 15:52 David Seifert
  0 siblings, 0 replies; 101+ messages in thread
From: David Seifert @ 2021-11-22 15:52 UTC (permalink / raw
  To: gentoo-commits

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


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-11-23 20:57 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2021-11-23 20:57 UTC (permalink / raw
  To: gentoo-commits

commit:     4de40c03a6832bc5cfc95637ca4d26fe81ff1da7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 20:56:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 20:57:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4de40c03

dev-util/cppcheck: add 2.6.2

Fixes build with glibc-2.34.

Also:
- Use BDEPEND
- Run tests
- Don't use bundled tinyxml2
- Don't recompile in src_install (and don't call CXX directly within it)

Closes: https://bugs.gentoo.org/822114
Closes: https://bugs.gentoo.org/806312
Closes: https://bugs.gentoo.org/803014
Closes: https://bugs.gentoo.org/802279
Closes: https://bugs.gentoo.org/796638
Closes: https://bugs.gentoo.org/729090
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/Manifest              |  1 +
 dev-util/cppcheck/cppcheck-2.6.2.ebuild | 87 +++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 5de50914c64f..5c54697dc489 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1 +1,2 @@
 DIST cppcheck-2.4.1.tar.gz 3761646 BLAKE2B 4c791088621f989e2529c92de38a73676fc3394e8cac72822596f7a75594283d0983693d693aa903a3ffb80bc0e1e20e71b55db5682d4d01c135ed77b2fc2e3c SHA512 8fb1ed5faa0071fc69405b7eb5b41e9f94b77d097158ea0d4f5e4da8a5087b9d1ab7bf37f8dc73d00096d3d2494aeb431af8029f0d4f1e2085f5b9b72bdc2d09
+DIST cppcheck-2.6.2.tar.gz 3880239 BLAKE2B 63abba752ed0e4bef1bf7be4eb3f1a0dfcd1bab286db41e7fd787969674f59354f1c2a0b4477bb1d0cc7ca71306bc6a3375cebade1c60416a21010f7b313d20c SHA512 f1b1b0d6d46712147984bf907519eaaef04b41f02979d371d836aa8668fbdaa0f18b503a76d809abcedf9a0e7b7666be910714ca411d289aa921d0204585f47f

diff --git a/dev-util/cppcheck/cppcheck-2.6.2.ebuild b/dev-util/cppcheck/cppcheck-2.6.2.ebuild
new file mode 100644
index 000000000000..70fe05ebbf69
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-2.6.2.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=no
+inherit distutils-r1 cmake toolchain-funcs
+
+DESCRIPTION="Static analyzer of C/C++ code"
+HOMEPAGE="https://github.com/danmar/cppcheck"
+SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+IUSE="htmlreport pcre qt5 test +z3"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-libs/tinyxml2:=
+	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	pcre? ( dev-libs/libpcre )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qthelp
+		dev-qt/qtprintsupport:5
+	)
+	z3? ( sci-mathematics/z3 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+	qt5? ( dev-qt/linguist-tools:5 )
+"
+
+src_prepare() {
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DHAVE_RULES="$(usex pcre)"
+		-DBUILD_GUI="$(usex qt5)"
+		-DUSE_Z3="$(usex z3)"
+		-DFILESDIR="${EPREFIX}/usr/share/${PN}/"
+		-DENABLE_OSS_FUZZ=OFF
+		-DUSE_BUNDLED_TINYXML2=OFF
+		-DBUILD_TESTS="$(usex test)"
+	)
+
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_compile
+		popd || die
+	fi
+}
+
+src_install() {
+	cmake_src_install
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+
+	if use qt5 ; then
+		dobin "${WORKDIR}/${P}_build/bin/${PN}-gui"
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_install
+		popd || die
+		find "${ED}" -name "*.egg-info" -delete || die
+	fi
+
+	dodoc -r tools/triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-11-23 21:07 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2021-11-23 21:07 UTC (permalink / raw
  To: gentoo-commits

commit:     2c9a18e8f08c8908755a890c712620b83a6683c0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 20:57:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 21:06:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c9a18e8

dev-util/cppcheck: drop unused inherit

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.6.2.ebuild b/dev-util/cppcheck/cppcheck-2.6.2.ebuild
index 70fe05ebbf69..6acfd0e1a479 100644
--- a/dev-util/cppcheck/cppcheck-2.6.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.6.2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_USE_SETUPTOOLS=no
-inherit distutils-r1 cmake toolchain-funcs
+inherit distutils-r1 cmake
 
 DESCRIPTION="Static analyzer of C/C++ code"
 HOMEPAGE="https://github.com/danmar/cppcheck"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-11-23 21:07 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2021-11-23 21:07 UTC (permalink / raw
  To: gentoo-commits

commit:     3b2786433356f646f87638bccb89f1be6e3ae3dc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 21:06:47 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 21:07:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b278643

dev-util/cppcheck: fix setuptools dep for USE=htmlreport

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.6.2.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-2.6.2.ebuild b/dev-util/cppcheck/cppcheck-2.6.2.ebuild
index 6acfd0e1a479..c7aad8ff5e63 100644
--- a/dev-util/cppcheck/cppcheck-2.6.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.6.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_SETUPTOOLS=no
+DISTUTILS_USE_SETUPTOOLS=manual
 inherit distutils-r1 cmake
 
 DESCRIPTION="Static analyzer of C/C++ code"
@@ -19,7 +19,10 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="
 	dev-libs/tinyxml2:=
-	htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] )
+	htmlreport? (
+		dev-python/pygments[${PYTHON_USEDEP}]
+		dev-python/setuptools[${PYTHON_USEDEP}]
+	)
 	pcre? ( dev-libs/libpcre )
 	qt5? (
 		dev-qt/qtcore:5
@@ -80,7 +83,6 @@ src_install() {
 		pushd htmlreport || die
 		distutils-r1_src_install
 		popd || die
-		find "${ED}" -name "*.egg-info" -delete || die
 	fi
 
 	dodoc -r tools/triage


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-11-23 22:07 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2021-11-23 22:07 UTC (permalink / raw
  To: gentoo-commits

commit:     a3a5e06f8f574a3b11800aab9ea8b282a144848a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 22:00:54 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 22:07:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a5e06f

dev-util/cppcheck: partial plumbing for (small) Python tests

Done most of the plumbing here but it needs some additional
work to actually find the cppcheck binary as it expects
it in the source directory.

Bug: https://bugs.gentoo.org/826970
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.6.2.ebuild | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/dev-util/cppcheck/cppcheck-2.6.2.ebuild b/dev-util/cppcheck/cppcheck-2.6.2.ebuild
index c7aad8ff5e63..a934618d7ad9 100644
--- a/dev-util/cppcheck/cppcheck-2.6.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.6.2.ebuild
@@ -38,6 +38,9 @@ BDEPEND="
 	dev-libs/libxslt
 	virtual/pkgconfig
 	qt5? ( dev-qt/linguist-tools:5 )
+	test? (
+		htmlreport? ( dev-python/unittest-or-fail[${PYTHON_USEDEP}] )
+	)
 "
 
 src_prepare() {
@@ -68,6 +71,21 @@ src_compile() {
 	fi
 }
 
+src_test() {
+	cmake_src_test
+
+	# TODO: Needs some hackery to find the right binary
+	#if use htmlreport ; then
+	#	distutils-r1_src_test
+	#fi
+}
+
+python_test() {
+	pushd htmlreport || die
+	eunittest
+	popd || die
+}
+
 src_install() {
 	cmake_src_install
 


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2021-11-23 22:19 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2021-11-23 22:19 UTC (permalink / raw
  To: gentoo-commits

commit:     5fe31c02e6c8beec3e72de5e8e30c0d3e0d159e6
Author:     Alex Margolin <alex.margolin <AT> nextsilicon <DOT> com>
AuthorDate: Sun Oct 31 11:43:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 22:19:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fe31c02

dev-util/cppcheck: add a missing dependency from qt5 to 2.4.1 too

Bug: https://bugs.gentoo.org/802279
Signed-off-by: Alex Margolin <alex.margolin <AT> nextsilicon.com>
Closes: https://github.com/gentoo/gentoo/pull/22774
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.4.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/cppcheck/cppcheck-2.4.1.ebuild b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
index 74102100a3f2..d7892faae5db 100644
--- a/dev-util/cppcheck/cppcheck-2.4.1.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.4.1.ebuild
@@ -29,6 +29,7 @@ DEPEND="${RDEPEND}
 	app-text/docbook-xsl-stylesheets
 	dev-libs/libxslt
 	virtual/pkgconfig
+	qt5? ( dev-qt/linguist-tools:5 )
 	z3? ( sci-mathematics/z3 )
 "
 


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2022-01-02  3:05 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2022-01-02  3:05 UTC (permalink / raw
  To: gentoo-commits

commit:     2c867b567af37699c47e9d2adc4eb4a05888ff6e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  2 03:05:44 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan  2 03:05:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c867b56

dev-util/cppcheck: add 2.6.3

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/Manifest              |   1 +
 dev-util/cppcheck/cppcheck-2.6.3.ebuild | 107 ++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 5c54697dc489..c3816799c806 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,2 +1,3 @@
 DIST cppcheck-2.4.1.tar.gz 3761646 BLAKE2B 4c791088621f989e2529c92de38a73676fc3394e8cac72822596f7a75594283d0983693d693aa903a3ffb80bc0e1e20e71b55db5682d4d01c135ed77b2fc2e3c SHA512 8fb1ed5faa0071fc69405b7eb5b41e9f94b77d097158ea0d4f5e4da8a5087b9d1ab7bf37f8dc73d00096d3d2494aeb431af8029f0d4f1e2085f5b9b72bdc2d09
 DIST cppcheck-2.6.2.tar.gz 3880239 BLAKE2B 63abba752ed0e4bef1bf7be4eb3f1a0dfcd1bab286db41e7fd787969674f59354f1c2a0b4477bb1d0cc7ca71306bc6a3375cebade1c60416a21010f7b313d20c SHA512 f1b1b0d6d46712147984bf907519eaaef04b41f02979d371d836aa8668fbdaa0f18b503a76d809abcedf9a0e7b7666be910714ca411d289aa921d0204585f47f
+DIST cppcheck-2.6.3.tar.gz 3880340 BLAKE2B ef83538a0aa867dd0c0bd6165b41921335256ed0372a4990ad85151ab5e87a79bde7958be43887f07a4bbf372b9992339b75ddeae7ed8ea767b83c028dfc56db SHA512 e59b4b4659c2b4fa2c16dcb548f7ee3027555dddc289ef8b54fe186af0396b6f7caa23d91bf1142ece62908b56fe9f5ba013191817322815681994093310fb37

diff --git a/dev-util/cppcheck/cppcheck-2.6.3.ebuild b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
new file mode 100644
index 000000000000..41433724c99b
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=manual
+inherit distutils-r1 cmake
+
+DESCRIPTION="Static analyzer of C/C++ code"
+HOMEPAGE="https://github.com/danmar/cppcheck"
+SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+IUSE="htmlreport pcre qt5 test +z3"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-libs/tinyxml2:=
+	htmlreport? (
+		dev-python/pygments[${PYTHON_USEDEP}]
+		dev-python/setuptools[${PYTHON_USEDEP}]
+	)
+	pcre? ( dev-libs/libpcre )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qthelp
+		dev-qt/qtprintsupport:5
+	)
+	z3? ( sci-mathematics/z3 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+	qt5? ( dev-qt/linguist-tools:5 )
+	test? (
+		htmlreport? ( dev-python/unittest-or-fail[${PYTHON_USEDEP}] )
+	)
+"
+
+src_prepare() {
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DHAVE_RULES="$(usex pcre)"
+		-DBUILD_GUI="$(usex qt5)"
+		-DUSE_Z3="$(usex z3)"
+		-DFILESDIR="${EPREFIX}/usr/share/${PN}/"
+		-DENABLE_OSS_FUZZ=OFF
+		-DUSE_BUNDLED_TINYXML2=OFF
+		-DBUILD_TESTS="$(usex test)"
+	)
+
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_compile
+		popd || die
+	fi
+}
+
+src_test() {
+	cmake_src_test
+
+	# TODO: Needs some hackery to find the right binary
+	#if use htmlreport ; then
+	#	distutils-r1_src_test
+	#fi
+}
+
+python_test() {
+	pushd htmlreport || die
+	eunittest
+	popd || die
+}
+
+src_install() {
+	cmake_src_install
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+
+	if use qt5 ; then
+		dobin "${WORKDIR}/${P}_build/bin/${PN}-gui"
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_install
+		popd || die
+	fi
+
+	dodoc -r tools/triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2022-01-02  5:52 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2022-01-02  5:52 UTC (permalink / raw
  To: gentoo-commits

commit:     d1bf038b6fda17ef531462cbb785227bc829f3aa
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  2 05:51:33 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan  2 05:51:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1bf038b

dev-util/cppcheck: Stabilize 2.6.3 amd64, #830400

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.6.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.6.3.ebuild b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
index 41433724c99b..3a2c1b56f743 100644
--- a/dev-util/cppcheck/cppcheck-2.6.3.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
 IUSE="htmlreport pcre qt5 test +z3"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2022-01-03 12:37 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2022-01-03 12:37 UTC (permalink / raw
  To: gentoo-commits

commit:     05f538e63007b0597bffc6b4d7907d3eab49edf5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  3 12:37:30 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan  3 12:37:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f538e6

dev-util/cppcheck: Stabilize 2.6.3 sparc, #830400

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.6.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.6.3.ebuild b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
index 3a2c1b56f743..facf4c87067f 100644
--- a/dev-util/cppcheck/cppcheck-2.6.3.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 sparc ~x86"
 IUSE="htmlreport pcre qt5 test +z3"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2022-02-14 10:35 Jakov Smolić
  0 siblings, 0 replies; 101+ messages in thread
From: Jakov Smolić @ 2022-02-14 10:35 UTC (permalink / raw
  To: gentoo-commits

commit:     1423e7d529d295232ed0dc90725ad2b74031f8dc
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 14 10:35:03 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Feb 14 10:35:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1423e7d5

dev-util/cppcheck: Stabilize 2.6.3 x86, #830400

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.6.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.6.3.ebuild b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
index facf4c87067f..50d04f665553 100644
--- a/dev-util/cppcheck/cppcheck-2.6.3.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 sparc x86"
 IUSE="htmlreport pcre qt5 test +z3"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2022-02-15 16:19 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2022-02-15 16:19 UTC (permalink / raw
  To: gentoo-commits

commit:     d1c187b822d377b30cec408c293683ffe712e79c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 15 16:18:01 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 16:18:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1c187b8

dev-util/cppcheck: Stabilize 2.6.3 arm64, #830400

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.6.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.6.3.ebuild b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
index 50d04f665553..4240391f2657 100644
--- a/dev-util/cppcheck/cppcheck-2.6.3.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc64 sparc x86"
 IUSE="htmlreport pcre qt5 test +z3"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2022-07-09  9:55 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2022-07-09  9:55 UTC (permalink / raw
  To: gentoo-commits

commit:     4a09873f6056aca0c61c42ebf2f98fc91be01750
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  9 09:23:43 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 09:54:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a09873f

dev-util/cppcheck: add 2.8.1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/Manifest              |   1 +
 dev-util/cppcheck/cppcheck-2.8.1.ebuild | 105 ++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index db9bba83e871..15a7d5eb775f 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1 +1,2 @@
 DIST cppcheck-2.6.3.tar.gz 3880340 BLAKE2B ef83538a0aa867dd0c0bd6165b41921335256ed0372a4990ad85151ab5e87a79bde7958be43887f07a4bbf372b9992339b75ddeae7ed8ea767b83c028dfc56db SHA512 e59b4b4659c2b4fa2c16dcb548f7ee3027555dddc289ef8b54fe186af0396b6f7caa23d91bf1142ece62908b56fe9f5ba013191817322815681994093310fb37
+DIST cppcheck-2.8.1.tar.gz 3921391 BLAKE2B d61c4a8a3e88441f0a65090eddacaa34bda91ba50ce92e79c122525524368ade49d24f13f343a5a856a3014e904495e87db2d774146e871af1738d55f1a52728 SHA512 ff5a9955498101a2d061a431d0f8ed42267627b3cd029302871ee781a0e4039aa531dd47c2d44d1f3952b5e5bd3b65c9b32a10a9b1922ef466f440f8c4417e28

diff --git a/dev-util/cppcheck/cppcheck-2.8.1.ebuild b/dev-util/cppcheck/cppcheck-2.8.1.ebuild
new file mode 100644
index 000000000000..03159a548722
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-2.8.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=manual
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1 cmake
+
+DESCRIPTION="Static analyzer of C/C++ code"
+HOMEPAGE="https://github.com/danmar/cppcheck"
+SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+IUSE="htmlreport pcre qt5 test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-libs/tinyxml2:=
+	htmlreport? (
+		dev-python/pygments[${PYTHON_USEDEP}]
+		dev-python/setuptools[${PYTHON_USEDEP}]
+	)
+	pcre? ( dev-libs/libpcre )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qthelp
+		dev-qt/qtprintsupport:5
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+	qt5? ( dev-qt/linguist-tools:5 )
+	test? (
+		htmlreport? ( dev-python/unittest-or-fail[${PYTHON_USEDEP}] )
+	)
+"
+
+src_prepare() {
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DHAVE_RULES="$(usex pcre)"
+		-DBUILD_GUI="$(usex qt5)"
+		-DFILESDIR="${EPREFIX}/usr/share/${PN}/"
+		-DENABLE_OSS_FUZZ=OFF
+		-DUSE_BUNDLED_TINYXML2=OFF
+		-DBUILD_TESTS="$(usex test)"
+	)
+
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_compile
+		popd || die
+	fi
+}
+
+src_test() {
+	cmake_src_test
+
+	# TODO: Needs some hackery to find the right binary
+	#if use htmlreport ; then
+	#	distutils-r1_src_test
+	#fi
+}
+
+python_test() {
+	pushd htmlreport || die
+	eunittest
+	popd || die
+}
+
+src_install() {
+	cmake_src_install
+
+	insinto "/usr/share/${PN}/cfg"
+	doins cfg/*.cfg
+
+	if use qt5 ; then
+		dobin "${WORKDIR}/${P}_build/bin/${PN}-gui"
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_install
+		popd || die
+	fi
+
+	dodoc -r tools/triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2022-07-10 23:50 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2022-07-10 23:50 UTC (permalink / raw
  To: gentoo-commits

commit:     661b7b58a203bdcce713c25edd118dcd113f3427
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 10 23:45:56 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 10 23:50:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=661b7b58

dev-util/cppcheck: PEP517

Also, the Python tests I was referring to earlier are.. gone?

Bug: https://bugs.gentoo.org/826970
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild | 118 +++++++++++++++++++++++++++++
 1 file changed, 118 insertions(+)

diff --git a/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild b/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild
new file mode 100644
index 000000000000..9ef2ad93ab6c
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Python is used both for htmlreport (USE flag) but also for various
+# helper scripts in /usr/share/cppcheck.
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1 cmake
+
+DESCRIPTION="Static analyzer of C/C++ code"
+HOMEPAGE="https://github.com/danmar/cppcheck"
+SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+IUSE="htmlreport pcre qt5 test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	dev-libs/tinyxml2:=
+	htmlreport? (
+		$(python_gen_cond_dep '
+			dev-python/pygments[${PYTHON_USEDEP}]
+			dev-python/setuptools[${PYTHON_USEDEP}]
+		')
+	)
+	pcre? ( dev-libs/libpcre )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qthelp
+		dev-qt/qtprintsupport:5
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+	qt5? ( dev-qt/linguist-tools:5 )
+	test? (
+		htmlreport? (
+			$(python_gen_cond_dep 'dev-python/unittest-or-fail[${PYTHON_USEDEP}]')
+		)
+	)
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	distutils-r1_src_prepare
+}
+
+python_prepare_all() {
+	distutils-r1_python_prepare_all
+
+	rm htmlreport/test_htmlreport.py || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DHAVE_RULES="$(usex pcre)"
+		-DBUILD_GUI="$(usex qt5)"
+		-DFILESDIR="${EPREFIX}/usr/share/${PN}/"
+		-DENABLE_OSS_FUZZ=OFF
+		-DUSE_BUNDLED_TINYXML2=OFF
+		-DBUILD_TESTS="$(usex test)"
+	)
+
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_compile
+		popd || die
+	fi
+}
+
+python_install() {
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_python_install
+		popd || die
+	fi
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	python_fix_shebang "${ED}"/usr/share/cppcheck/*
+}
+
+src_install() {
+	cmake_src_install
+
+	insinto /usr/share/${PN}/cfg
+	doins cfg/*.cfg
+
+	if use qt5 ; then
+		dobin "${WORKDIR}/${P}_build/bin/${PN}-gui"
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+
+	distutils-r1_src_install
+
+	dodoc -r tools/triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2022-07-13  4:32 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2022-07-13  4:32 UTC (permalink / raw
  To: gentoo-commits

commit:     4a5cfa5ad34801e337e260538948c93fca723701
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 02:30:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 04:31:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a5cfa5a

dev-util/cppcheck: add 2.8.2

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/Manifest              |   1 +
 dev-util/cppcheck/cppcheck-2.8.2.ebuild | 118 ++++++++++++++++++++++++++++++++
 2 files changed, 119 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 15a7d5eb775f..5e11ee2b33d7 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,2 +1,3 @@
 DIST cppcheck-2.6.3.tar.gz 3880340 BLAKE2B ef83538a0aa867dd0c0bd6165b41921335256ed0372a4990ad85151ab5e87a79bde7958be43887f07a4bbf372b9992339b75ddeae7ed8ea767b83c028dfc56db SHA512 e59b4b4659c2b4fa2c16dcb548f7ee3027555dddc289ef8b54fe186af0396b6f7caa23d91bf1142ece62908b56fe9f5ba013191817322815681994093310fb37
 DIST cppcheck-2.8.1.tar.gz 3921391 BLAKE2B d61c4a8a3e88441f0a65090eddacaa34bda91ba50ce92e79c122525524368ade49d24f13f343a5a856a3014e904495e87db2d774146e871af1738d55f1a52728 SHA512 ff5a9955498101a2d061a431d0f8ed42267627b3cd029302871ee781a0e4039aa531dd47c2d44d1f3952b5e5bd3b65c9b32a10a9b1922ef466f440f8c4417e28
+DIST cppcheck-2.8.2.tar.gz 3921806 BLAKE2B b48a3f4163fec491d8a7f9eb4957a140cd33b852d1778974c383ca5148aa252cee412b4616cbf49b622ee5b4ccddcb1aa60b217284f2c01c020df606a1e4fe5b SHA512 595645cede2d1b801127747cf19c66ebc73a97c4c3f5c9af1fbf865a995f9b7ab4027a16d73cf2aa638e51569be275a26b92909d548ddb40e185978a247fb5cd

diff --git a/dev-util/cppcheck/cppcheck-2.8.2.ebuild b/dev-util/cppcheck/cppcheck-2.8.2.ebuild
new file mode 100644
index 000000000000..9ef2ad93ab6c
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-2.8.2.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Python is used both for htmlreport (USE flag) but also for various
+# helper scripts in /usr/share/cppcheck.
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1 cmake
+
+DESCRIPTION="Static analyzer of C/C++ code"
+HOMEPAGE="https://github.com/danmar/cppcheck"
+SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+IUSE="htmlreport pcre qt5 test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	dev-libs/tinyxml2:=
+	htmlreport? (
+		$(python_gen_cond_dep '
+			dev-python/pygments[${PYTHON_USEDEP}]
+			dev-python/setuptools[${PYTHON_USEDEP}]
+		')
+	)
+	pcre? ( dev-libs/libpcre )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qthelp
+		dev-qt/qtprintsupport:5
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+	qt5? ( dev-qt/linguist-tools:5 )
+	test? (
+		htmlreport? (
+			$(python_gen_cond_dep 'dev-python/unittest-or-fail[${PYTHON_USEDEP}]')
+		)
+	)
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	distutils-r1_src_prepare
+}
+
+python_prepare_all() {
+	distutils-r1_python_prepare_all
+
+	rm htmlreport/test_htmlreport.py || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DHAVE_RULES="$(usex pcre)"
+		-DBUILD_GUI="$(usex qt5)"
+		-DFILESDIR="${EPREFIX}/usr/share/${PN}/"
+		-DENABLE_OSS_FUZZ=OFF
+		-DUSE_BUNDLED_TINYXML2=OFF
+		-DBUILD_TESTS="$(usex test)"
+	)
+
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_compile
+		popd || die
+	fi
+}
+
+python_install() {
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_python_install
+		popd || die
+	fi
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	python_fix_shebang "${ED}"/usr/share/cppcheck/*
+}
+
+src_install() {
+	cmake_src_install
+
+	insinto /usr/share/${PN}/cfg
+	doins cfg/*.cfg
+
+	if use qt5 ; then
+		dobin "${WORKDIR}/${P}_build/bin/${PN}-gui"
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+
+	distutils-r1_src_install
+
+	dodoc -r tools/triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2022-08-06  2:55 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2022-08-06  2:55 UTC (permalink / raw
  To: gentoo-commits

commit:     dd7a8a09ad5b3495b07182707c60c01fe9185bcc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  6 02:54:29 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug  6 02:55:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd7a8a09

dev-util/cppcheck: add missing DISTUTILS_DEPS

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild | 1 +
 dev-util/cppcheck/cppcheck-2.8.2.ebuild    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild b/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild
index 9ef2ad93ab6c..65e6622d41f2 100644
--- a/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild
@@ -44,6 +44,7 @@ BDEPEND="
 	app-text/docbook-xsl-stylesheets
 	dev-libs/libxslt
 	virtual/pkgconfig
+	htmlreport? ( ${DISTUTILS_DEPS} )
 	qt5? ( dev-qt/linguist-tools:5 )
 	test? (
 		htmlreport? (

diff --git a/dev-util/cppcheck/cppcheck-2.8.2.ebuild b/dev-util/cppcheck/cppcheck-2.8.2.ebuild
index 9ef2ad93ab6c..65e6622d41f2 100644
--- a/dev-util/cppcheck/cppcheck-2.8.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.8.2.ebuild
@@ -44,6 +44,7 @@ BDEPEND="
 	app-text/docbook-xsl-stylesheets
 	dev-libs/libxslt
 	virtual/pkgconfig
+	htmlreport? ( ${DISTUTILS_DEPS} )
 	qt5? ( dev-qt/linguist-tools:5 )
 	test? (
 		htmlreport? (


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2022-08-29 19:06 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2022-08-29 19:06 UTC (permalink / raw
  To: gentoo-commits

commit:     677d08070a26e93f96194e15cf368232120b3182
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 19:04:23 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 19:05:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=677d0807

dev-util/cppcheck: add 2.9

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/Manifest            |   1 +
 dev-util/cppcheck/cppcheck-2.9.ebuild | 120 ++++++++++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 5e11ee2b33d7..2f2dc68d633e 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,3 +1,4 @@
 DIST cppcheck-2.6.3.tar.gz 3880340 BLAKE2B ef83538a0aa867dd0c0bd6165b41921335256ed0372a4990ad85151ab5e87a79bde7958be43887f07a4bbf372b9992339b75ddeae7ed8ea767b83c028dfc56db SHA512 e59b4b4659c2b4fa2c16dcb548f7ee3027555dddc289ef8b54fe186af0396b6f7caa23d91bf1142ece62908b56fe9f5ba013191817322815681994093310fb37
 DIST cppcheck-2.8.1.tar.gz 3921391 BLAKE2B d61c4a8a3e88441f0a65090eddacaa34bda91ba50ce92e79c122525524368ade49d24f13f343a5a856a3014e904495e87db2d774146e871af1738d55f1a52728 SHA512 ff5a9955498101a2d061a431d0f8ed42267627b3cd029302871ee781a0e4039aa531dd47c2d44d1f3952b5e5bd3b65c9b32a10a9b1922ef466f440f8c4417e28
 DIST cppcheck-2.8.2.tar.gz 3921806 BLAKE2B b48a3f4163fec491d8a7f9eb4957a140cd33b852d1778974c383ca5148aa252cee412b4616cbf49b622ee5b4ccddcb1aa60b217284f2c01c020df606a1e4fe5b SHA512 595645cede2d1b801127747cf19c66ebc73a97c4c3f5c9af1fbf865a995f9b7ab4027a16d73cf2aa638e51569be275a26b92909d548ddb40e185978a247fb5cd
+DIST cppcheck-2.9.tar.gz 3916529 BLAKE2B 5d75328e1fcd389376630502ad7427d3473392a9467e8731e6cd7c2c6349efccc05eddd7eca4cb361930661d2383a8d316e33bd3609b9333a710153d199e326d SHA512 69204a7ceac087470201482894e6422b99d0849f08641e80b2e341c9d164a1d2095e3a08a1fba2e9fa681783d07fe7277b30ea0cc0bf582431b5d13ab2f58c1f

diff --git a/dev-util/cppcheck/cppcheck-2.9.ebuild b/dev-util/cppcheck/cppcheck-2.9.ebuild
new file mode 100644
index 000000000000..0ab87ba97840
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-2.9.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Python is used both for htmlreport (USE flag) but also for various
+# helper scripts in /usr/share/cppcheck.
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1 cmake
+
+DESCRIPTION="Static analyzer of C/C++ code"
+HOMEPAGE="https://github.com/danmar/cppcheck"
+SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+IUSE="htmlreport pcre qt5 test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	dev-libs/tinyxml2:=
+	htmlreport? (
+		$(python_gen_cond_dep '
+			dev-python/pygments[${PYTHON_USEDEP}]
+			dev-python/setuptools[${PYTHON_USEDEP}]
+		')
+	)
+	pcre? ( dev-libs/libpcre )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qthelp:5
+		dev-qt/qtprintsupport:5
+		dev-qt/qtwidgets:5
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+	htmlreport? ( ${DISTUTILS_DEPS} )
+	qt5? ( dev-qt/linguist-tools:5 )
+	test? (
+		htmlreport? (
+			$(python_gen_cond_dep 'dev-python/unittest-or-fail[${PYTHON_USEDEP}]')
+		)
+	)
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	distutils-r1_src_prepare
+}
+
+python_prepare_all() {
+	distutils-r1_python_prepare_all
+
+	rm htmlreport/test_htmlreport.py || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DHAVE_RULES="$(usex pcre)"
+		-DBUILD_GUI="$(usex qt5)"
+		-DFILESDIR="${EPREFIX}/usr/share/${PN}/"
+		-DENABLE_OSS_FUZZ=OFF
+		-DUSE_BUNDLED_TINYXML2=OFF
+		-DBUILD_TESTS="$(usex test)"
+	)
+
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_src_compile
+		popd || die
+	fi
+}
+
+python_install() {
+	if use htmlreport ; then
+		pushd htmlreport || die
+		distutils-r1_python_install
+		popd || die
+	fi
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	python_fix_shebang "${ED}"/usr/share/cppcheck/*
+}
+
+src_install() {
+	cmake_src_install
+
+	insinto /usr/share/${PN}/cfg
+	doins cfg/*.cfg
+
+	if use qt5 ; then
+		dobin "${WORKDIR}/${P}_build/bin/${PN}-gui"
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+
+	distutils-r1_src_install
+
+	dodoc -r tools/triage
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2022-11-23  7:53 WANG Xuerui
  0 siblings, 0 replies; 101+ messages in thread
From: WANG Xuerui @ 2022-11-23  7:53 UTC (permalink / raw
  To: gentoo-commits

commit:     1cb593e40c81e41c8d04c6a8e20b209844d7b076
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 23 07:51:39 2022 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Wed Nov 23 07:52:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cb593e4

dev-util/cppcheck: keyword 2.9 for ~loong

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.9.ebuild b/dev-util/cppcheck/cppcheck-2.9.ebuild
index 0ab87ba97840..65f03061e729 100644
--- a/dev-util/cppcheck/cppcheck-2.9.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.9.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~sparc ~x86"
 IUSE="htmlreport pcre qt5 test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2023-03-07  0:18 Yixun Lan
  0 siblings, 0 replies; 101+ messages in thread
From: Yixun Lan @ 2023-03-07  0:18 UTC (permalink / raw
  To: gentoo-commits

commit:     81eb8b7c9690a73e9fe5a554fcb70f7e4c876392
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  6 11:37:38 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Mar  7 00:14:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81eb8b7c

dev-util/cppcheck: Keyword 2.9 riscv, #881389

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.9.ebuild b/dev-util/cppcheck/cppcheck-2.9.ebuild
index a3724a1ca5ee..b1f81f9f2c96 100644
--- a/dev-util/cppcheck/cppcheck-2.9.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.9.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~sparc ~x86"
 IUSE="htmlreport pcre qt5 test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2023-04-13 15:19 Matthias Maier
  0 siblings, 0 replies; 101+ messages in thread
From: Matthias Maier @ 2023-04-13 15:19 UTC (permalink / raw
  To: gentoo-commits

commit:     df050821591aa5758277d0cbabd8b4796d78368a
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Wed Apr 12 12:59:44 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Apr 13 15:18:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df050821

dev-util/cppcheck: use subslotted dependency

Changed to sci-mathematics/z3:= due ABI changes.
Added <remote-id type="github"> to metadata.xml.

Closes: https://github.com/gentoo/gentoo/pull/30572
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.6.3.ebuild | 2 +-
 dev-util/cppcheck/metadata.xml          | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.6.3.ebuild b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
index f3d1b21a1495..9d20cb80c711 100644
--- a/dev-util/cppcheck/cppcheck-2.6.3.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
@@ -30,7 +30,7 @@ RDEPEND="
 		dev-qt/qthelp
 		dev-qt/qtprintsupport:5
 	)
-	z3? ( sci-mathematics/z3 )
+	z3? ( sci-mathematics/z3:= )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="

diff --git a/dev-util/cppcheck/metadata.xml b/dev-util/cppcheck/metadata.xml
index 37eddccc08f6..4f9c4c8ef1a0 100644
--- a/dev-util/cppcheck/metadata.xml
+++ b/dev-util/cppcheck/metadata.xml
@@ -12,6 +12,7 @@
 		</flag>
 	</use>
 	<upstream>
+		<remote-id type="github">danmar/cppcheck</remote-id>
 		<remote-id type="sourceforge">cppcheck</remote-id>
 	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2023-05-01  9:53 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2023-05-01  9:53 UTC (permalink / raw
  To: gentoo-commits

commit:     3801e88273d41e3e68ae60cb884be1a6cc65a143
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May  1 09:50:14 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May  1 09:50:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3801e882

dev-util/cppcheck: enable py3.11

Closes: https://bugs.gentoo.org/896924
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.9.ebuild b/dev-util/cppcheck/cppcheck-2.9.ebuild
index b1f81f9f2c96..f658312a12d6 100644
--- a/dev-util/cppcheck/cppcheck-2.9.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.9.ebuild
@@ -8,7 +8,7 @@ EAPI=8
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
 DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit distutils-r1 cmake
 
 DESCRIPTION="Static analyzer of C/C++ code"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2023-05-03  6:33 Arthur Zamarin
  0 siblings, 0 replies; 101+ messages in thread
From: Arthur Zamarin @ 2023-05-03  6:33 UTC (permalink / raw
  To: gentoo-commits

commit:     84e985afd921826a2b7a74646c4c33efcde03c02
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed May  3 06:30:51 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed May  3 06:32:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84e985af

dev-util/cppcheck: Stabilize 2.9 amd64, #905455

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.9.ebuild b/dev-util/cppcheck/cppcheck-2.9.ebuild
index f658312a12d6..e95cced5f5a5 100644
--- a/dev-util/cppcheck/cppcheck-2.9.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.9.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~sparc ~x86"
 IUSE="htmlreport pcre qt5 test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2023-05-06 11:47 Arthur Zamarin
  0 siblings, 0 replies; 101+ messages in thread
From: Arthur Zamarin @ 2023-05-06 11:47 UTC (permalink / raw
  To: gentoo-commits

commit:     1c7bcc1033fe55b12ee12e358dd06527c1ffddb3
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat May  6 11:46:51 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat May  6 11:46:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c7bcc10

dev-util/cppcheck: Stabilize 2.9 x86, #905455

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.9.ebuild b/dev-util/cppcheck/cppcheck-2.9.ebuild
index e95cced5f5a5..e0aeeea2d874 100644
--- a/dev-util/cppcheck/cppcheck-2.9.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.9.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~sparc x86"
 IUSE="htmlreport pcre qt5 test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2023-05-27  6:34 Arthur Zamarin
  0 siblings, 0 replies; 101+ messages in thread
From: Arthur Zamarin @ 2023-05-27  6:34 UTC (permalink / raw
  To: gentoo-commits

commit:     3133d0a759d223b289444eecc367d57f9a6c4109
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat May 27 06:32:39 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat May 27 06:32:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3133d0a7

dev-util/cppcheck: Stabilize 2.9 sparc, #905455

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.9.ebuild b/dev-util/cppcheck/cppcheck-2.9.ebuild
index e0aeeea2d874..d5b1d0986178 100644
--- a/dev-util/cppcheck/cppcheck-2.9.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.9.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv sparc x86"
 IUSE="htmlreport pcre qt5 test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2023-05-27  6:34 Arthur Zamarin
  0 siblings, 0 replies; 101+ messages in thread
From: Arthur Zamarin @ 2023-05-27  6:34 UTC (permalink / raw
  To: gentoo-commits

commit:     e28cf9d69fccab6f31b1ec62b5e2df6cec073d40
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat May 27 06:32:42 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat May 27 06:32:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e28cf9d6

dev-util/cppcheck: Stabilize 2.9 arm64, #905455

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.9.ebuild b/dev-util/cppcheck/cppcheck-2.9.ebuild
index d5b1d0986178..d600a652833a 100644
--- a/dev-util/cppcheck/cppcheck-2.9.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.9.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~ppc64 ~riscv sparc x86"
 IUSE="htmlreport pcre qt5 test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2023-06-01  3:39 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2023-06-01  3:39 UTC (permalink / raw
  To: gentoo-commits

commit:     80ff1a6cf67be64eef8183d3ab1f3447188e1801
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  1 03:38:56 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  1 03:38:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80ff1a6c

dev-util/cppcheck: only depend on unittest-or-fail for <3.12

Prompted by discussion w/ arkamar.

(unittest-or-fail is obsolete w/ >=3.12.)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild | 2 +-
 dev-util/cppcheck/cppcheck-2.8.2.ebuild    | 2 +-
 dev-util/cppcheck/cppcheck-2.9.ebuild      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild b/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild
index 1359462471f0..69a3b72075ec 100644
--- a/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild
@@ -48,7 +48,7 @@ BDEPEND="
 	qt5? ( dev-qt/linguist-tools:5 )
 	test? (
 		htmlreport? (
-			$(python_gen_cond_dep 'dev-python/unittest-or-fail[${PYTHON_USEDEP}]')
+			$(python_gen_cond_dep 'dev-python/unittest-or-fail[${PYTHON_USEDEP}]' python3_10)
 		)
 	)
 "

diff --git a/dev-util/cppcheck/cppcheck-2.8.2.ebuild b/dev-util/cppcheck/cppcheck-2.8.2.ebuild
index 1359462471f0..69a3b72075ec 100644
--- a/dev-util/cppcheck/cppcheck-2.8.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.8.2.ebuild
@@ -48,7 +48,7 @@ BDEPEND="
 	qt5? ( dev-qt/linguist-tools:5 )
 	test? (
 		htmlreport? (
-			$(python_gen_cond_dep 'dev-python/unittest-or-fail[${PYTHON_USEDEP}]')
+			$(python_gen_cond_dep 'dev-python/unittest-or-fail[${PYTHON_USEDEP}]' python3_10)
 		)
 	)
 "

diff --git a/dev-util/cppcheck/cppcheck-2.9.ebuild b/dev-util/cppcheck/cppcheck-2.9.ebuild
index d600a652833a..b53dc7717c0c 100644
--- a/dev-util/cppcheck/cppcheck-2.9.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.9.ebuild
@@ -49,7 +49,7 @@ BDEPEND="
 	qt5? ( dev-qt/linguist-tools:5 )
 	test? (
 		htmlreport? (
-			$(python_gen_cond_dep 'dev-python/unittest-or-fail[${PYTHON_USEDEP}]')
+			$(python_gen_cond_dep 'dev-python/unittest-or-fail[${PYTHON_USEDEP}]' python3_{10..11})
 		)
 	)
 "


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2023-09-19  9:06 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2023-09-19  9:06 UTC (permalink / raw
  To: gentoo-commits

commit:     a6e6cc5731f0cf739f2a2e7dda1051c110abe726
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 19 09:03:33 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 19 09:06:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6e6cc57

dev-util/cppcheck: drop 2.6.3, 2.8.1, 2.8.1-r1, 2.8.2

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/Manifest                 |   3 -
 dev-util/cppcheck/cppcheck-2.6.3.ebuild    | 107 --------------------------
 dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild | 119 -----------------------------
 dev-util/cppcheck/cppcheck-2.8.1.ebuild    | 105 -------------------------
 dev-util/cppcheck/cppcheck-2.8.2.ebuild    | 119 -----------------------------
 dev-util/cppcheck/metadata.xml             |   3 -
 6 files changed, 456 deletions(-)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 2f2dc68d633e..9abb4af4d9f9 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,4 +1 @@
-DIST cppcheck-2.6.3.tar.gz 3880340 BLAKE2B ef83538a0aa867dd0c0bd6165b41921335256ed0372a4990ad85151ab5e87a79bde7958be43887f07a4bbf372b9992339b75ddeae7ed8ea767b83c028dfc56db SHA512 e59b4b4659c2b4fa2c16dcb548f7ee3027555dddc289ef8b54fe186af0396b6f7caa23d91bf1142ece62908b56fe9f5ba013191817322815681994093310fb37
-DIST cppcheck-2.8.1.tar.gz 3921391 BLAKE2B d61c4a8a3e88441f0a65090eddacaa34bda91ba50ce92e79c122525524368ade49d24f13f343a5a856a3014e904495e87db2d774146e871af1738d55f1a52728 SHA512 ff5a9955498101a2d061a431d0f8ed42267627b3cd029302871ee781a0e4039aa531dd47c2d44d1f3952b5e5bd3b65c9b32a10a9b1922ef466f440f8c4417e28
-DIST cppcheck-2.8.2.tar.gz 3921806 BLAKE2B b48a3f4163fec491d8a7f9eb4957a140cd33b852d1778974c383ca5148aa252cee412b4616cbf49b622ee5b4ccddcb1aa60b217284f2c01c020df606a1e4fe5b SHA512 595645cede2d1b801127747cf19c66ebc73a97c4c3f5c9af1fbf865a995f9b7ab4027a16d73cf2aa638e51569be275a26b92909d548ddb40e185978a247fb5cd
 DIST cppcheck-2.9.tar.gz 3916529 BLAKE2B 5d75328e1fcd389376630502ad7427d3473392a9467e8731e6cd7c2c6349efccc05eddd7eca4cb361930661d2383a8d316e33bd3609b9333a710153d199e326d SHA512 69204a7ceac087470201482894e6422b99d0849f08641e80b2e341c9d164a1d2095e3a08a1fba2e9fa681783d07fe7277b30ea0cc0bf582431b5d13ab2f58c1f

diff --git a/dev-util/cppcheck/cppcheck-2.6.3.ebuild b/dev-util/cppcheck/cppcheck-2.6.3.ebuild
deleted file mode 100644
index 9d20cb80c711..000000000000
--- a/dev-util/cppcheck/cppcheck-2.6.3.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-DISTUTILS_USE_SETUPTOOLS=manual
-inherit distutils-r1 cmake
-
-DESCRIPTION="Static analyzer of C/C++ code"
-HOMEPAGE="https://github.com/danmar/cppcheck"
-SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc64 sparc x86"
-IUSE="htmlreport pcre qt5 test +z3"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	dev-libs/tinyxml2:=
-	htmlreport? (
-		dev-python/pygments[${PYTHON_USEDEP}]
-		dev-python/setuptools[${PYTHON_USEDEP}]
-	)
-	pcre? ( dev-libs/libpcre )
-	qt5? (
-		dev-qt/qtcore:5
-		dev-qt/qtgui:5
-		dev-qt/qthelp
-		dev-qt/qtprintsupport:5
-	)
-	z3? ( sci-mathematics/z3:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	app-text/docbook-xsl-stylesheets
-	dev-libs/libxslt
-	virtual/pkgconfig
-	qt5? ( dev-qt/linguist-tools:5 )
-	test? (
-		htmlreport? ( dev-python/unittest-or-fail[${PYTHON_USEDEP}] )
-	)
-"
-
-src_prepare() {
-	cmake_src_prepare
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DHAVE_RULES="$(usex pcre)"
-		-DBUILD_GUI="$(usex qt5)"
-		-DUSE_Z3="$(usex z3)"
-		-DFILESDIR="${EPREFIX}/usr/share/${PN}/"
-		-DENABLE_OSS_FUZZ=OFF
-		-DUSE_BUNDLED_TINYXML2=OFF
-		-DBUILD_TESTS="$(usex test)"
-	)
-
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-
-	if use htmlreport ; then
-		pushd htmlreport || die
-		distutils-r1_src_compile
-		popd || die
-	fi
-}
-
-src_test() {
-	cmake_src_test
-
-	# TODO: Needs some hackery to find the right binary
-	#if use htmlreport ; then
-	#	distutils-r1_src_test
-	#fi
-}
-
-python_test() {
-	pushd htmlreport || die
-	eunittest
-	popd || die
-}
-
-src_install() {
-	cmake_src_install
-
-	insinto "/usr/share/${PN}/cfg"
-	doins cfg/*.cfg
-
-	if use qt5 ; then
-		dobin "${WORKDIR}/${P}_build/bin/${PN}-gui"
-		dodoc gui/{projectfile.txt,gui.${PN}}
-	fi
-
-	if use htmlreport ; then
-		pushd htmlreport || die
-		distutils-r1_src_install
-		popd || die
-	fi
-
-	dodoc -r tools/triage
-}

diff --git a/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild b/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild
deleted file mode 100644
index 69a3b72075ec..000000000000
--- a/dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Python is used both for htmlreport (USE flag) but also for various
-# helper scripts in /usr/share/cppcheck.
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{9..10} )
-inherit distutils-r1 cmake
-
-DESCRIPTION="Static analyzer of C/C++ code"
-HOMEPAGE="https://github.com/danmar/cppcheck"
-SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
-IUSE="htmlreport pcre qt5 test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	${PYTHON_DEPS}
-	dev-libs/tinyxml2:=
-	htmlreport? (
-		$(python_gen_cond_dep '
-			dev-python/pygments[${PYTHON_USEDEP}]
-			dev-python/setuptools[${PYTHON_USEDEP}]
-		')
-	)
-	pcre? ( dev-libs/libpcre )
-	qt5? (
-		dev-qt/qtcore:5
-		dev-qt/qtgui:5
-		dev-qt/qthelp
-		dev-qt/qtprintsupport:5
-	)
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	app-text/docbook-xsl-stylesheets
-	dev-libs/libxslt
-	virtual/pkgconfig
-	htmlreport? ( ${DISTUTILS_DEPS} )
-	qt5? ( dev-qt/linguist-tools:5 )
-	test? (
-		htmlreport? (
-			$(python_gen_cond_dep 'dev-python/unittest-or-fail[${PYTHON_USEDEP}]' python3_10)
-		)
-	)
-"
-
-src_prepare() {
-	cmake_src_prepare
-
-	distutils-r1_src_prepare
-}
-
-python_prepare_all() {
-	distutils-r1_python_prepare_all
-
-	rm htmlreport/test_htmlreport.py || die
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DHAVE_RULES="$(usex pcre)"
-		-DBUILD_GUI="$(usex qt5)"
-		-DFILESDIR="${EPREFIX}/usr/share/${PN}/"
-		-DENABLE_OSS_FUZZ=OFF
-		-DUSE_BUNDLED_TINYXML2=OFF
-		-DBUILD_TESTS="$(usex test)"
-	)
-
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-
-	if use htmlreport ; then
-		pushd htmlreport || die
-		distutils-r1_src_compile
-		popd || die
-	fi
-}
-
-python_install() {
-	if use htmlreport ; then
-		pushd htmlreport || die
-		distutils-r1_python_install
-		popd || die
-	fi
-}
-
-python_install_all() {
-	distutils-r1_python_install_all
-
-	python_fix_shebang "${ED}"/usr/share/cppcheck/*
-}
-
-src_install() {
-	cmake_src_install
-
-	insinto /usr/share/${PN}/cfg
-	doins cfg/*.cfg
-
-	if use qt5 ; then
-		dobin "${WORKDIR}/${P}_build/bin/${PN}-gui"
-		dodoc gui/{projectfile.txt,gui.${PN}}
-	fi
-
-	distutils-r1_src_install
-
-	dodoc -r tools/triage
-}

diff --git a/dev-util/cppcheck/cppcheck-2.8.1.ebuild b/dev-util/cppcheck/cppcheck-2.8.1.ebuild
deleted file mode 100644
index a55bf585a404..000000000000
--- a/dev-util/cppcheck/cppcheck-2.8.1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_SETUPTOOLS=manual
-PYTHON_COMPAT=( python3_{9..10} )
-inherit distutils-r1 cmake
-
-DESCRIPTION="Static analyzer of C/C++ code"
-HOMEPAGE="https://github.com/danmar/cppcheck"
-SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
-IUSE="htmlreport pcre qt5 test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	dev-libs/tinyxml2:=
-	htmlreport? (
-		dev-python/pygments[${PYTHON_USEDEP}]
-		dev-python/setuptools[${PYTHON_USEDEP}]
-	)
-	pcre? ( dev-libs/libpcre )
-	qt5? (
-		dev-qt/qtcore:5
-		dev-qt/qtgui:5
-		dev-qt/qthelp
-		dev-qt/qtprintsupport:5
-	)
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	app-text/docbook-xsl-stylesheets
-	dev-libs/libxslt
-	virtual/pkgconfig
-	qt5? ( dev-qt/linguist-tools:5 )
-	test? (
-		htmlreport? ( dev-python/unittest-or-fail[${PYTHON_USEDEP}] )
-	)
-"
-
-src_prepare() {
-	cmake_src_prepare
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DHAVE_RULES="$(usex pcre)"
-		-DBUILD_GUI="$(usex qt5)"
-		-DFILESDIR="${EPREFIX}/usr/share/${PN}/"
-		-DENABLE_OSS_FUZZ=OFF
-		-DUSE_BUNDLED_TINYXML2=OFF
-		-DBUILD_TESTS="$(usex test)"
-	)
-
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-
-	if use htmlreport ; then
-		pushd htmlreport || die
-		distutils-r1_src_compile
-		popd || die
-	fi
-}
-
-src_test() {
-	cmake_src_test
-
-	# TODO: Needs some hackery to find the right binary
-	#if use htmlreport ; then
-	#	distutils-r1_src_test
-	#fi
-}
-
-python_test() {
-	pushd htmlreport || die
-	eunittest
-	popd || die
-}
-
-src_install() {
-	cmake_src_install
-
-	insinto "/usr/share/${PN}/cfg"
-	doins cfg/*.cfg
-
-	if use qt5 ; then
-		dobin "${WORKDIR}/${P}_build/bin/${PN}-gui"
-		dodoc gui/{projectfile.txt,gui.${PN}}
-	fi
-
-	if use htmlreport ; then
-		pushd htmlreport || die
-		distutils-r1_src_install
-		popd || die
-	fi
-
-	dodoc -r tools/triage
-}

diff --git a/dev-util/cppcheck/cppcheck-2.8.2.ebuild b/dev-util/cppcheck/cppcheck-2.8.2.ebuild
deleted file mode 100644
index 69a3b72075ec..000000000000
--- a/dev-util/cppcheck/cppcheck-2.8.2.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Python is used both for htmlreport (USE flag) but also for various
-# helper scripts in /usr/share/cppcheck.
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{9..10} )
-inherit distutils-r1 cmake
-
-DESCRIPTION="Static analyzer of C/C++ code"
-HOMEPAGE="https://github.com/danmar/cppcheck"
-SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
-IUSE="htmlreport pcre qt5 test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	${PYTHON_DEPS}
-	dev-libs/tinyxml2:=
-	htmlreport? (
-		$(python_gen_cond_dep '
-			dev-python/pygments[${PYTHON_USEDEP}]
-			dev-python/setuptools[${PYTHON_USEDEP}]
-		')
-	)
-	pcre? ( dev-libs/libpcre )
-	qt5? (
-		dev-qt/qtcore:5
-		dev-qt/qtgui:5
-		dev-qt/qthelp
-		dev-qt/qtprintsupport:5
-	)
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	app-text/docbook-xsl-stylesheets
-	dev-libs/libxslt
-	virtual/pkgconfig
-	htmlreport? ( ${DISTUTILS_DEPS} )
-	qt5? ( dev-qt/linguist-tools:5 )
-	test? (
-		htmlreport? (
-			$(python_gen_cond_dep 'dev-python/unittest-or-fail[${PYTHON_USEDEP}]' python3_10)
-		)
-	)
-"
-
-src_prepare() {
-	cmake_src_prepare
-
-	distutils-r1_src_prepare
-}
-
-python_prepare_all() {
-	distutils-r1_python_prepare_all
-
-	rm htmlreport/test_htmlreport.py || die
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DHAVE_RULES="$(usex pcre)"
-		-DBUILD_GUI="$(usex qt5)"
-		-DFILESDIR="${EPREFIX}/usr/share/${PN}/"
-		-DENABLE_OSS_FUZZ=OFF
-		-DUSE_BUNDLED_TINYXML2=OFF
-		-DBUILD_TESTS="$(usex test)"
-	)
-
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-
-	if use htmlreport ; then
-		pushd htmlreport || die
-		distutils-r1_src_compile
-		popd || die
-	fi
-}
-
-python_install() {
-	if use htmlreport ; then
-		pushd htmlreport || die
-		distutils-r1_python_install
-		popd || die
-	fi
-}
-
-python_install_all() {
-	distutils-r1_python_install_all
-
-	python_fix_shebang "${ED}"/usr/share/cppcheck/*
-}
-
-src_install() {
-	cmake_src_install
-
-	insinto /usr/share/${PN}/cfg
-	doins cfg/*.cfg
-
-	if use qt5 ; then
-		dobin "${WORKDIR}/${P}_build/bin/${PN}-gui"
-		dodoc gui/{projectfile.txt,gui.${PN}}
-	fi
-
-	distutils-r1_src_install
-
-	dodoc -r tools/triage
-}

diff --git a/dev-util/cppcheck/metadata.xml b/dev-util/cppcheck/metadata.xml
index 4f9c4c8ef1a0..ea77ce88576d 100644
--- a/dev-util/cppcheck/metadata.xml
+++ b/dev-util/cppcheck/metadata.xml
@@ -7,9 +7,6 @@
 	</maintainer>
 	<use>
 		<flag name="htmlreport">install cppcheck-htmlreport</flag>
-		<flag name="z3">
-			Enable support for <pkg>sci-mathematics/z3</pkg> backend
-		</flag>
 	</use>
 	<upstream>
 		<remote-id type="github">danmar/cppcheck</remote-id>


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2023-12-23 17:38 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2023-12-23 17:38 UTC (permalink / raw
  To: gentoo-commits

commit:     64c1501bf9edc0a5daa4d4759275a0a9725be8bd
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Fri Dec 22 18:56:11 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 23 17:38:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c1501b

dev-util/cppcheck: add 2.13.0

* Drop hppa and sparc due to dev-qt/qtcharts

Bug: https://bugs.gentoo.org/826602
Bug: https://bugs.gentoo.org/826970
Bug: https://bugs.gentoo.org/867364
Closes: https://bugs.gentoo.org/911256
Closes: https://bugs.gentoo.org/920547
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34448
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/Manifest               |   1 +
 dev-util/cppcheck/cppcheck-2.13.0.ebuild | 153 +++++++++++++++++++++++++++++++
 dev-util/cppcheck/metadata.xml           |   1 +
 3 files changed, 155 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 9abb4af4d9f9..dcf062251619 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1 +1,2 @@
+DIST cppcheck-2.13.0.tar.gz 3643744 BLAKE2B 942391bdc2ad009e1bf9f691835c268b33ae0a7c84ff68a1ea7985abbc65fc7ea6e319111ed6a968f4f93f3b682ce46447ba1e3b1fccd96535497f3fd190b913 SHA512 35f266cd247860aa0a0d84862faf4561f4efea096e641a01ebc3b1e4cea14c91c75773344da5bd3d48101c11ee7841b46f24419a9583e65bd242d0219a1ca418
 DIST cppcheck-2.9.tar.gz 3916529 BLAKE2B 5d75328e1fcd389376630502ad7427d3473392a9467e8731e6cd7c2c6349efccc05eddd7eca4cb361930661d2383a8d316e33bd3609b9333a710153d199e326d SHA512 69204a7ceac087470201482894e6422b99d0849f08641e80b2e341c9d164a1d2095e3a08a1fba2e9fa681783d07fe7277b30ea0cc0bf582431b5d13ab2f58c1f

diff --git a/dev-util/cppcheck/cppcheck-2.13.0.ebuild b/dev-util/cppcheck/cppcheck-2.13.0.ebuild
new file mode 100644
index 000000000000..2499d53d7a92
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-2.13.0.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake python-single-r1 xdg
+
+DESCRIPTION="Static analyzer of C/C++ code"
+HOMEPAGE="https://github.com/danmar/cppcheck"
+SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="charts gui qt6 htmlreport pcre test threads"
+REQUIRED_USE="
+	${PYTHON_REQUIRED_USE}
+	charts? ( gui )
+	qt6? ( gui )
+"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	dev-libs/tinyxml2:=
+	pcre? ( dev-libs/libpcre )
+	gui? (
+		qt6? (
+			dev-qt/qtbase:6[gui,widgets,network]
+			dev-qt/qttools:6[assistant,linguist]
+			charts? ( dev-qt/qtcharts:6 )
+		)
+		!qt6? (
+			dev-qt/qtcore:5
+			dev-qt/qtgui:5
+			dev-qt/qthelp:5
+			dev-qt/qtnetwork:5
+			dev-qt/qtprintsupport:5
+			dev-qt/qtwidgets:5
+			charts? ( dev-qt/qtcharts:5 )
+		)
+	)
+"
+RDEPEND="
+	${DEPEND}
+	${PYTHON_DEPS}
+	htmlreport? (
+		$(python_gen_cond_dep '
+			dev-python/pygments[${PYTHON_USEDEP}]
+		')
+	)
+"
+BDEPEND="
+	${PYTHON_DEPS}
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+	gui? (
+		!qt6? (
+			dev-qt/linguist-tools:5
+		)
+	)
+	test? (
+		gui? (
+			!qt6? (
+				dev-qt/qttest:5
+			)
+		)
+		htmlreport? (
+			$(python_gen_cond_dep '
+				dev-python/pytest[${PYTHON_USEDEP}]
+				dev-python/pygments[${PYTHON_USEDEP}]
+			')
+		)
+	)
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	# Modify to an existing dockbook location
+	sed -i \
+		-e "s|set(DB2MAN .*|set(DB2MAN \"${EPREFIX}/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl\")|" \
+		man/CMakeLists.txt || die
+
+	# Make tests use cppcheck built in build dir.
+	sed -i -e "s|CPPCHECK_BIN = .*|CPPCHECK_BIN = '${BUILD_DIR}/bin/cppcheck'|" htmlreport/test_htmlreport.py || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DFILESDIR="${EPREFIX}"/usr/share/${PF}/
+		-DBUILD_MANPAGE=ON
+
+		-DHAVE_RULES=$(usex pcre)
+
+		-DBUILD_GUI=$(usex gui)
+		-DUSE_QT6=$(usex qt6)
+		-DWITH_QCHART=$(usex charts)
+
+		-DBUILD_TESTS=$(usex test)
+		-DREGISTER_TESTS=$(usex test)
+		-DREGISTER_GUI_TESTS=$(usex test)
+
+		-DUSE_MATCHCOMPILER=ON
+		-DUSE_LIBCXX=OFF
+
+		-DUSE_THREADS=$(usex threads)
+		-DDISABLE_DMAKE=ON
+		-DUSE_BOOST=OFF
+		-DUSE_BUNDLED_TINYXML2=OFF
+
+		# Yes, this is necessary to use the correct python version.
+		# bug #826602
+		-DPython_EXECUTABLE=${PYTHON}
+	)
+
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+	cmake_build man
+}
+
+src_test() {
+	local CMAKE_SKIP_TESTS=(
+		# Out of source builds breaks test TestFileLister
+		# https://github.com/danmar/cppcheck/pull/5462
+		TestFileLister
+	)
+	cmake_src_test
+	use htmlreport && epytest htmlreport
+}
+
+src_install() {
+	cmake_src_install
+
+	insinto /usr/share/${PF}/cfg
+	doins cfg/*.cfg
+
+	if use gui ; then
+		dobin "${WORKDIR}/${P}_build/bin/${PN}-gui"
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+
+	use htmlreport && python_doscript htmlreport/cppcheck-htmlreport
+	python_fix_shebang "${ED}"/usr/share/${PF}
+	python_optimize "${ED}"/usr/share/${PF}
+
+	dodoc -r tools/triage
+	doman "${BUILD_DIR}"/man/cppcheck.1
+}

diff --git a/dev-util/cppcheck/metadata.xml b/dev-util/cppcheck/metadata.xml
index ea77ce88576d..4e56958744c0 100644
--- a/dev-util/cppcheck/metadata.xml
+++ b/dev-util/cppcheck/metadata.xml
@@ -6,6 +6,7 @@
 		<name>Matthias Maier</name>
 	</maintainer>
 	<use>
+		<flag name="charts">Enable QtCharts usage in the GUI</flag>
 		<flag name="htmlreport">install cppcheck-htmlreport</flag>
 	</use>
 	<upstream>


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2024-05-28 11:52 Michał Górny
  0 siblings, 0 replies; 101+ messages in thread
From: Michał Górny @ 2024-05-28 11:52 UTC (permalink / raw
  To: gentoo-commits

commit:     f3619e9c25f1ac60abcab36fd635b378208d0f75
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 11:25:28 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 28 11:51:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3619e9c

dev-util/cppcheck: Drop ~hppa sparc

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-2.9.ebuild b/dev-util/cppcheck/cppcheck-2.9.ebuild
index d70808c01352..c6d68f1cc701 100644
--- a/dev-util/cppcheck/cppcheck-2.9.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.9.ebuild
@@ -8,7 +8,7 @@ EAPI=8
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
 DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 inherit distutils-r1 cmake
 
 DESCRIPTION="Static analyzer of C/C++ code"
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
 IUSE="htmlreport pcre qt5 test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2024-05-28 12:04 Michał Górny
  0 siblings, 0 replies; 101+ messages in thread
From: Michał Górny @ 2024-05-28 12:04 UTC (permalink / raw
  To: gentoo-commits

commit:     54b28af023d3fae41910619294cdfb0237abb37a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 12:04:25 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 28 12:04:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54b28af0

dev-util/cppcheck: Stabilize 2.13.0 arm64, #932957

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.13.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-2.13.0.ebuild b/dev-util/cppcheck/cppcheck-2.13.0.ebuild
index 2499d53d7a92..58d4da2f733e 100644
--- a/dev-util/cppcheck/cppcheck-2.13.0.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.13.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="charts gui qt6 htmlreport pcre test threads"
 REQUIRED_USE="
 	${PYTHON_REQUIRED_USE}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2024-05-28 20:49 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2024-05-28 20:49 UTC (permalink / raw
  To: gentoo-commits

commit:     0d0bb1bd3a05e07d8cf2394f06300b7e1c2bcf08
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 20:47:14 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 28 20:47:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d0bb1bd

dev-util/cppcheck: Stabilize 2.13.0 amd64, #932957

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.13.0.ebuild b/dev-util/cppcheck/cppcheck-2.13.0.ebuild
index 58d4da2f733e..c8ff44651195 100644
--- a/dev-util/cppcheck/cppcheck-2.13.0.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.13.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="charts gui qt6 htmlreport pcre test threads"
 REQUIRED_USE="
 	${PYTHON_REQUIRED_USE}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2024-07-15  4:35 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2024-07-15  4:35 UTC (permalink / raw
  To: gentoo-commits

commit:     09d3c184a39157a4d375e453346c1706d5456029
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 04:34:40 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 04:34:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d3c184

dev-util/cppcheck: fix typo in comment

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.13.0.ebuild | 2 +-
 dev-util/cppcheck/cppcheck-2.14.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-2.13.0.ebuild b/dev-util/cppcheck/cppcheck-2.13.0.ebuild
index 949840795040..56fb9ec37a41 100644
--- a/dev-util/cppcheck/cppcheck-2.13.0.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.13.0.ebuild
@@ -82,7 +82,7 @@ PATCHES=(
 src_prepare() {
 	cmake_src_prepare
 
-	# Modify to an existing dockbook location
+	# Modify to an existing docbook location
 	sed -i \
 		-e "s|set(DB2MAN .*|set(DB2MAN \"${EPREFIX}/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl\")|" \
 		man/CMakeLists.txt || die

diff --git a/dev-util/cppcheck/cppcheck-2.14.2.ebuild b/dev-util/cppcheck/cppcheck-2.14.2.ebuild
index 56281ba54227..088bb97b6b42 100644
--- a/dev-util/cppcheck/cppcheck-2.14.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.14.2.ebuild
@@ -78,7 +78,7 @@ BDEPEND="
 src_prepare() {
 	cmake_src_prepare
 
-	# Modify to an existing dockbook location
+	# Modify to an existing docbook location
 	sed -i \
 		-e "s|set(DB2MAN .*|set(DB2MAN \"${EPREFIX}/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl\")|" \
 		man/CMakeLists.txt || die


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2024-07-15  4:35 Sam James
  0 siblings, 0 replies; 101+ messages in thread
From: Sam James @ 2024-07-15  4:35 UTC (permalink / raw
  To: gentoo-commits

commit:     bcd56fa9d549f483f7f8949860ccb460be8e4fd0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 04:32:34 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 04:32:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcd56fa9

dev-util/cppcheck: add 2.14.2

Drop USE=threads too as the option got renamed and what it's used for
clearly isn't worthy of a USE flag.

Closes: https://bugs.gentoo.org/935368
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cppcheck/Manifest               |   1 +
 dev-util/cppcheck/cppcheck-2.14.2.ebuild | 152 +++++++++++++++++++++++++++++++
 2 files changed, 153 insertions(+)

diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index dcf062251619..d98c5f9a5b71 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,2 +1,3 @@
 DIST cppcheck-2.13.0.tar.gz 3643744 BLAKE2B 942391bdc2ad009e1bf9f691835c268b33ae0a7c84ff68a1ea7985abbc65fc7ea6e319111ed6a968f4f93f3b682ce46447ba1e3b1fccd96535497f3fd190b913 SHA512 35f266cd247860aa0a0d84862faf4561f4efea096e641a01ebc3b1e4cea14c91c75773344da5bd3d48101c11ee7841b46f24419a9583e65bd242d0219a1ca418
+DIST cppcheck-2.14.2.tar.gz 3723248 BLAKE2B 551c783e13202f496b705602566799848b611bcc706f7a803c9ff530b3405db9e0b5294d2ce51ef5a4889e08c5b9d54c15d40a7ec6f4dc59333a7b6ed24b1f02 SHA512 8e90fa87845a083a4de66ec86edf707184a2293eb346fd79bfcafb73f93db049216472fcb2ab802ce529680f9708261ba3c26675c6fd9637e1dc83903bc44c4b
 DIST cppcheck-2.9.tar.gz 3916529 BLAKE2B 5d75328e1fcd389376630502ad7427d3473392a9467e8731e6cd7c2c6349efccc05eddd7eca4cb361930661d2383a8d316e33bd3609b9333a710153d199e326d SHA512 69204a7ceac087470201482894e6422b99d0849f08641e80b2e341c9d164a1d2095e3a08a1fba2e9fa681783d07fe7277b30ea0cc0bf582431b5d13ab2f58c1f

diff --git a/dev-util/cppcheck/cppcheck-2.14.2.ebuild b/dev-util/cppcheck/cppcheck-2.14.2.ebuild
new file mode 100644
index 000000000000..56281ba54227
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-2.14.2.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit cmake python-single-r1 xdg
+
+DESCRIPTION="Static analyzer of C/C++ code"
+HOMEPAGE="https://github.com/danmar/cppcheck"
+SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="charts gui qt6 htmlreport pcre test"
+REQUIRED_USE="
+	${PYTHON_REQUIRED_USE}
+	charts? ( gui )
+	qt6? ( gui )
+"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	dev-libs/tinyxml2:=
+	pcre? ( dev-libs/libpcre )
+	gui? (
+		qt6? (
+			dev-qt/qtbase:6[gui,widgets,network]
+			dev-qt/qttools:6[assistant,linguist]
+			charts? ( dev-qt/qtcharts:6 )
+		)
+		!qt6? (
+			dev-qt/qtcore:5
+			dev-qt/qtgui:5
+			dev-qt/qthelp:5
+			dev-qt/qtnetwork:5
+			dev-qt/qtprintsupport:5
+			dev-qt/qtwidgets:5
+			charts? ( dev-qt/qtcharts:5 )
+		)
+	)
+"
+RDEPEND="
+	${DEPEND}
+	${PYTHON_DEPS}
+	htmlreport? (
+		$(python_gen_cond_dep '
+			dev-python/pygments[${PYTHON_USEDEP}]
+		')
+	)
+"
+BDEPEND="
+	${PYTHON_DEPS}
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+	gui? (
+		!qt6? (
+			dev-qt/linguist-tools:5
+		)
+	)
+	test? (
+		gui? (
+			!qt6? (
+				dev-qt/qttest:5
+			)
+		)
+		htmlreport? (
+			$(python_gen_cond_dep '
+				dev-python/pytest[${PYTHON_USEDEP}]
+				dev-python/pygments[${PYTHON_USEDEP}]
+			')
+		)
+	)
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	# Modify to an existing dockbook location
+	sed -i \
+		-e "s|set(DB2MAN .*|set(DB2MAN \"${EPREFIX}/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl\")|" \
+		man/CMakeLists.txt || die
+
+	# Make tests use cppcheck built in build dir.
+	sed -i -e "s|CPPCHECK_BIN = .*|CPPCHECK_BIN = '${BUILD_DIR}/bin/cppcheck'|" htmlreport/test_htmlreport.py || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DFILESDIR="${EPREFIX}"/usr/share/${PF}/
+		-DBUILD_MANPAGE=ON
+
+		-DHAVE_RULES=$(usex pcre)
+
+		-DBUILD_GUI=$(usex gui)
+		-DUSE_QT6=$(usex qt6)
+		-DWITH_QCHART=$(usex charts)
+
+		-DBUILD_TESTS=$(usex test)
+		-DREGISTER_TESTS=$(usex test)
+		-DREGISTER_GUI_TESTS=$(usex test)
+
+		-DUSE_MATCHCOMPILER=ON
+		-DUSE_LIBCXX=OFF
+
+		-DDISABLE_DMAKE=ON
+		-DUSE_BOOST=OFF
+		-DUSE_BUNDLED_TINYXML2=OFF
+
+		# Yes, this is necessary to use the correct python version.
+		# bug #826602
+		-DPython_EXECUTABLE=${PYTHON}
+	)
+
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+	cmake_build man
+}
+
+src_test() {
+	local CMAKE_SKIP_TESTS=(
+		# Out of source builds breaks test TestFileLister
+		# https://github.com/danmar/cppcheck/pull/5462
+		TestFileLister
+	)
+	cmake_src_test
+	use htmlreport && epytest htmlreport
+}
+
+src_install() {
+	cmake_src_install
+
+	insinto /usr/share/${PF}/cfg
+	doins cfg/*.cfg
+
+	if use gui ; then
+		dobin "${WORKDIR}/${P}_build/bin/${PN}-gui"
+		dodoc gui/{projectfile.txt,gui.${PN}}
+	fi
+
+	use htmlreport && python_doscript htmlreport/cppcheck-htmlreport
+	python_fix_shebang "${ED}"/usr/share/${PF}
+	python_optimize "${ED}"/usr/share/${PF}
+
+	dodoc -r tools/triage
+	doman "${BUILD_DIR}"/man/cppcheck.1
+}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2024-09-09 20:44 Arthur Zamarin
  0 siblings, 0 replies; 101+ messages in thread
From: Arthur Zamarin @ 2024-09-09 20:44 UTC (permalink / raw
  To: gentoo-commits

commit:     8d7508e0dbd3002d6d77be2e369d59b6b8acc82d
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  9 20:44:19 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep  9 20:44:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d7508e0

dev-util/cppcheck: Stabilize 2.14.2 amd64, #939301

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.14.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.14.2.ebuild b/dev-util/cppcheck/cppcheck-2.14.2.ebuild
index 652920ba1820..e8a08b2afae0 100644
--- a/dev-util/cppcheck/cppcheck-2.14.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.14.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
 IUSE="charts gui qt6 htmlreport pcre test"
 REQUIRED_USE="
 	${PYTHON_REQUIRED_USE}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2024-09-09 20:44 Arthur Zamarin
  0 siblings, 0 replies; 101+ messages in thread
From: Arthur Zamarin @ 2024-09-09 20:44 UTC (permalink / raw
  To: gentoo-commits

commit:     d24c1cb2c340016e936c7b2ceef5a10da989b25b
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  9 20:44:18 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep  9 20:44:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d24c1cb2

dev-util/cppcheck: Stabilize 2.14.2 x86, #939301

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.14.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.14.2.ebuild b/dev-util/cppcheck/cppcheck-2.14.2.ebuild
index 088bb97b6b42..652920ba1820 100644
--- a/dev-util/cppcheck/cppcheck-2.14.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.14.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
 IUSE="charts gui qt6 htmlreport pcre test"
 REQUIRED_USE="
 	${PYTHON_REQUIRED_USE}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2024-09-10 10:25 Arthur Zamarin
  0 siblings, 0 replies; 101+ messages in thread
From: Arthur Zamarin @ 2024-09-10 10:25 UTC (permalink / raw
  To: gentoo-commits

commit:     c0c2ec43e0ec7a3df7e7704c81269b21d334bcd5
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 10 10:24:47 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 10 10:24:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c2ec43

dev-util/cppcheck: Stabilize 2.14.2 arm64, #939301

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.14.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.14.2.ebuild b/dev-util/cppcheck/cppcheck-2.14.2.ebuild
index e8a08b2afae0..75e296a70059 100644
--- a/dev-util/cppcheck/cppcheck-2.14.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.14.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
 IUSE="charts gui qt6 htmlreport pcre test"
 REQUIRED_USE="
 	${PYTHON_REQUIRED_USE}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/
@ 2024-09-11 18:35 Arthur Zamarin
  0 siblings, 0 replies; 101+ messages in thread
From: Arthur Zamarin @ 2024-09-11 18:35 UTC (permalink / raw
  To: gentoo-commits

commit:     07edc3f514cb38548226e4a1d539062d83f958b8
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 11 18:35:30 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 11 18:35:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07edc3f5

dev-util/cppcheck: Stabilize 2.14.2 ppc64, #939301

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.14.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/cppcheck/cppcheck-2.14.2.ebuild b/dev-util/cppcheck/cppcheck-2.14.2.ebuild
index 75e296a70059..efdc1693e60a 100644
--- a/dev-util/cppcheck/cppcheck-2.14.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.14.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
 IUSE="charts gui qt6 htmlreport pcre test"
 REQUIRED_USE="
 	${PYTHON_REQUIRED_USE}


^ permalink raw reply related	[flat|nested] 101+ messages in thread

end of thread, other threads:[~2024-09-11 18:35 UTC | newest]

Thread overview: 101+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-27  6:34 [gentoo-commits] repo/gentoo:master commit in: dev-util/cppcheck/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2024-09-11 18:35 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-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-11-22 15:52 David Seifert
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox