summaryrefslogtreecommitdiff
path: root/dev-util/cppcheck
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-19 11:08:38 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-19 11:08:38 +0100
commit66d92fc8569d87a09ac014780528dcad2a12b6c6 (patch)
treec2add83cecf7705c1634a143fe36eebd8c7f2805 /dev-util/cppcheck
parentca517256fa4afe5b579e64e267ebbc7beb8a888f (diff)
gentoo auto-resync : 19:09:2023 - 11:08:38
Diffstat (limited to 'dev-util/cppcheck')
-rw-r--r--dev-util/cppcheck/Manifest9
-rw-r--r--dev-util/cppcheck/cppcheck-2.6.3.ebuild107
-rw-r--r--dev-util/cppcheck/cppcheck-2.8.1-r1.ebuild119
-rw-r--r--dev-util/cppcheck/cppcheck-2.8.1.ebuild105
-rw-r--r--dev-util/cppcheck/cppcheck-2.8.2.ebuild119
-rw-r--r--dev-util/cppcheck/metadata.xml3
6 files changed, 1 insertions, 461 deletions
diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 96c9ab9f8552..41944a7c5019 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,10 +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
DIST cppcheck-2.9.tar.gz 3916529 BLAKE2B 5d75328e1fcd389376630502ad7427d3473392a9467e8731e6cd7c2c6349efccc05eddd7eca4cb361930661d2383a8d316e33bd3609b9333a710153d199e326d SHA512 69204a7ceac087470201482894e6422b99d0849f08641e80b2e341c9d164a1d2095e3a08a1fba2e9fa681783d07fe7277b30ea0cc0bf582431b5d13ab2f58c1f
-EBUILD cppcheck-2.6.3.ebuild 2003 BLAKE2B a940be98b6802b4d64005761171cee58db12a2f1c1074b062d464173cc7b4cbb59127467a5e820a01ace465f158a266f2494da3f58f9581f787917b881e7b15e SHA512 3d1d04c1a8de9653efd10c0b325503e0081f067d94052b491d8581a0e12446076d17f9b0df7038d6acbe542dff60ab1a859ed934282aec101b90b881429d765b
-EBUILD cppcheck-2.8.1-r1.ebuild 2342 BLAKE2B fc7065f490523219cc406b8b737096dfd972b6b2cfeb98d404bf6fd418f21be88cb73ae80f4acbce25fef1e85db4107f4f8f0a40d55f28fb4df4e1e8a5c0b0fa SHA512 ba4f1876357e65bdc779ec9b80bf77eba28ee151d98fb5d1c365bb069d355fa9d05244fc38b63c2040532f5c65416db26dd180c8eb9ed9c50bd95187fda65977
-EBUILD cppcheck-2.8.1.ebuild 1949 BLAKE2B 4e084cf5e45fd53d78bc9741ceea3fc83b201254702fa65abceabac0a1d4d4d720d5538f5b127cc9012fab14806f60d572f0651ef0ff2d34114d38a1c76ae497 SHA512 64af20af83b7c2ca4bc87af5a29253628eefe56d208ed3a1923eddd2ca60acf176aa69b96769bac8262eb0c45a2547c9ec2deed63ef6929ad37339090dff675d
-EBUILD cppcheck-2.8.2.ebuild 2342 BLAKE2B fc7065f490523219cc406b8b737096dfd972b6b2cfeb98d404bf6fd418f21be88cb73ae80f4acbce25fef1e85db4107f4f8f0a40d55f28fb4df4e1e8a5c0b0fa SHA512 ba4f1876357e65bdc779ec9b80bf77eba28ee151d98fb5d1c365bb069d355fa9d05244fc38b63c2040532f5c65416db26dd180c8eb9ed9c50bd95187fda65977
EBUILD cppcheck-2.9.ebuild 2381 BLAKE2B 9c9bb8285c57d9ba95ecc474795f707608b56b68944666a2995fd73093905fb9ca3775c3d4bd230bd89d0b95fa9138fa402178a306897caeeca1d2c255e6a0ef SHA512 18d8f5a03658cf6a9bb8d7feef333b0bd4fb86059780cc6c0e7838bf73a0f2826719a3bd223f291b819bfe496b1d3b1927531c3d069f094dba51edc01a631aa4
-MISC metadata.xml 546 BLAKE2B d42258e8aad43867bf7b8d86f4688d76a70cfe285e203eb1938adb2b5167f2cb51e110ba5eb51954ebaf50a05d5d01605d577ff7b9528a1220f3ce0d69790984 SHA512 df3a8b62b1a8f1fcd8e4e78d3e44f20dc71fdf985251a5b1d7fbcc7fc2cdbc12428e3a7fe191640678cab7a046010578149f4176285ec1ca1538839cdf5a2070
+MISC metadata.xml 457 BLAKE2B ab65f0ea3c57af8c6aa7fd0b127f55d8e67b1661506544a2417ce4cda0d9d523e7cb7b938f9c128ae84941f4b361763edd3424af81285588dc78d662d8d6e10b SHA512 23d4e6bb07e4c37094aa86e5dceeb2dceda0e7e4540745a87eb4af90c4aee9f5026876f8956101a505c55652abbf822e06b63815cf9b3d4e72afc771861b2f06
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>