summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2011-10-15 08:50:39 +0000
committerMichael Weber <xmw@gentoo.org>2011-10-15 08:50:39 +0000
commit5eacb15e9ab713d1839c6d54be1c3c1ecda2cd54 (patch)
treed6fa51abb59b859005db10d3c620214b5531d139 /dev-util/cppcheck
parentFix encoding in ChangeLog (diff)
downloadhistorical-5eacb15e9ab713d1839c6d54be1c3c1ecda2cd54.tar.gz
historical-5eacb15e9ab713d1839c6d54be1c3c1ecda2cd54.tar.bz2
historical-5eacb15e9ab713d1839c6d54be1c3c1ecda2cd54.zip
Version bump (thanks to Jaak Ristioja for the report, bug 387101)
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'dev-util/cppcheck')
-rw-r--r--dev-util/cppcheck/ChangeLog7
-rw-r--r--dev-util/cppcheck/Manifest10
-rw-r--r--dev-util/cppcheck/cppcheck-1.51.ebuild77
3 files changed, 89 insertions, 5 deletions
diff --git a/dev-util/cppcheck/ChangeLog b/dev-util/cppcheck/ChangeLog
index 640cdf6abec8..00a65ad6709e 100644
--- a/dev-util/cppcheck/ChangeLog
+++ b/dev-util/cppcheck/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/cppcheck
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.26 2011/09/25 00:28:13 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.27 2011/10/15 08:50:39 xmw Exp $
+
+*cppcheck-1.51 (15 Oct 2011)
+
+ 15 Oct 2011; Michael Weber <xmw@gentoo.org> +cppcheck-1.51.ebuild:
+ Version bump (thanks to Jaak Ristioja for the report, bug 387101)
*cppcheck-1.50 (25 Sep 2011)
diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index e6e760a958b8..380ef999113d 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -4,15 +4,17 @@ Hash: SHA256
DIST cppcheck-1.48.tar.bz2 833185 RMD160 de40627f6fced2694427f132d2d93f9f33211187 SHA1 10cf38034148b7cb258840febe620ba397114fd1 SHA256 5f5567a2aef66b1237c8cbcfbd8aada35b99dccbe17b1a55f20622c7813c7b54
DIST cppcheck-1.49.tar.bz2 848689 RMD160 9b4dcd857f189a456282922e766aae6794bde910 SHA1 d04c1b207aca59f845aac57de3b08f44168d5aa9 SHA256 13bd9a9f8aa77093b18ccd3ad86c0f90addd429c4622ff7841e96a84acb2dfa3
DIST cppcheck-1.50.tar.bz2 897184 RMD160 01f6f73ec8d09fc9b2181b4408d382aacccdd566 SHA1 39ad14cb4cb9caa45fd3365203c5f54981ee2870 SHA256 ce364bcc05186939a1711da776231caa15ce3a1d3e7e401274b9a96cd5d99184
+DIST cppcheck-1.51.tar.bz2 920230 RMD160 ddf0e232a74900498846cf4d90394dd69c144b8e SHA1 d6774e123b9fa086cb6cc3722743e1de7a1f0b0c SHA256 856b24f96e7c784936371457e429dd5bb7436e5fed502315e49a2cba0bebc05c
EBUILD cppcheck-1.48.ebuild 1523 RMD160 1b5c8b5184c27be445af76ab25eea68e9fb972f9 SHA1 2a8f95f0606a6607543f9e2be3b235c36d32f5dd SHA256 d526574b3f6f96730e66daa2aad0047049fc52f6da44d79f4314139acd7fc463
EBUILD cppcheck-1.49.ebuild 1521 RMD160 fc7781e87b9bc3e24f4eec3cf61c035158f6c6b6 SHA1 af15ff17d7d57b593e010264c7da56e861b51fdd SHA256 f67a61d20ea74b10ba0275c9e994a4ebab17efc8d3f4807bb9d1b8c54121b01b
EBUILD cppcheck-1.50.ebuild 1521 RMD160 8bd39bcb34d24e84a1a4aa881bc570788aeeeb70 SHA1 c793dcd437425563f70188a3ea7cf26b8f82495a SHA256 a849d1fd4402ec38334a9f4e745a1b1f64cf2eff269a2de3bfd9d82b4f0affe9
-MISC ChangeLog 4242 RMD160 13c2aa4ac3e2cf9418f6d6460c9b7265dd0295de SHA1 369ac11bf60c35d5c96d90ddb392e9b4b098045f SHA256 d74b585dba8a3d9650e8b4fe543208db44c9e58383917878680832bba68ae15f
+EBUILD cppcheck-1.51.ebuild 1521 RMD160 13fc7a9a5ad1f7ceabcd76113c5c88e04e6d81e0 SHA1 b6c4ace5e277a59c79f1349b6b689453585293d4 SHA256 c022f713a1a359213b60a8a0deabfd96f3d7d2a21ef379556e22f36314338837
+MISC ChangeLog 4410 RMD160 217f8dbe3a2ef8b28f21ad8e44b592ddafdcbf45 SHA1 5a95c47d6026b26e02c0c092baa654bc76ab27b2 SHA256 f2635a0458f08a32de305ecb8b63a65ce1e0202a6cdf72bfe53495a32c6a32c3
MISC metadata.xml 295 RMD160 218d80509b20b5f68ef61be37484665539688974 SHA1 fb22ef816d952cb04b800cad2790499a7a720213 SHA256 4526a4860c02569699367a86914fabb0c0f4d7939ebbba1f728fc5bff7356583
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk5+daoACgkQknrdDGLu8JB8NwEAld90WMFNt98cQmdIIRa3E8A5
-aqOoYATHC13pwcAVsFwA/Asg19fu9Dbw0SNOxvRJkbiBOST7rgdExxVZ3OfPioYe
-=r++B
+iF4EAREIAAYFAk6ZSW0ACgkQknrdDGLu8JCsYQD/cuN7ne+mqIjxa5tM/c1G/A1y
++nEeoXE7ZZDwtVPsu3EBAJH3EXm7d9LHiBcGEvoRjaUmyyRK48mNimpGEcec7Gwx
+=icTK
-----END PGP SIGNATURE-----
diff --git a/dev-util/cppcheck/cppcheck-1.51.ebuild b/dev-util/cppcheck/cppcheck-1.51.ebuild
new file mode 100644
index 000000000000..ca7f9b94bb1f
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.51.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/cppcheck-1.51.ebuild,v 1.1 2011/10/15 08:50:39 xmw Exp $
+
+EAPI="3"
+PYTHON_DEPEND="htmlreport? 2"
+
+inherit distutils eutils qt4-r2 toolchain-funcs
+
+DESCRIPTION="static analyzer of C/C++ code"
+HOMEPAGE="http://apps.sourceforge.net/trac/cppcheck/"
+SRC_URI="mirror://sourceforge/cppcheck/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="htmlreport qt4"
+
+DEPEND="htmlreport? ( dev-python/pygments )
+ qt4? ( x11-libs/qt-gui:4
+ x11-libs/qt-assistant:4 )"
+RDEPEND="${DEPEND}"
+
+DISTUTILS_SETUP_FILES=("htmlreport|setup.py")
+
+pkg_setup() {
+ if use htmlreport ; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
+}
+
+src_prepare() {
+ if use htmlreport ; then
+ pushd htmlreport
+ python_convert_shebangs -r 2 .
+ distutils_src_prepare
+ popd
+ fi
+}
+
+src_configure() {
+ tc-export CXX
+ if use qt4 ; then
+ pushd gui
+ qt4-r2_src_configure
+ popd
+ fi
+}
+
+src_compile() {
+ emake || die
+ if use qt4 ; then
+ pushd gui
+ qt4-r2_src_compile
+ popd
+ fi
+ use htmlreport && distutils_src_compile
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc readme.txt || die
+ if use qt4 ; then
+ dobin gui/${PN}-gui || die
+ dodoc readme_gui.txt gui/{projectfile.txt,gui.cppcheck} || die
+ fi
+ use htmlreport && distutils_src_install
+}
+
+pkg_postinst() {
+ use htmlreport && distutils_pkg_postinst
+}
+
+pkg_postrm() {
+ use htmlreport && distutils_pkg_postrm
+}