summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-02-07 03:28:21 +0000
committerMichael Weber <xmw@gentoo.org>2012-02-07 03:28:21 +0000
commite5adc7457789b3405bd9f8df98ad93381eaf1973 (patch)
tree9f6040d64cda77a78a8fe3c31768d6bf19d10196 /dev-util/cppcheck
parentAdded myself as maintainer, bug #365077 (diff)
downloadhistorical-e5adc7457789b3405bd9f8df98ad93381eaf1973.tar.gz
historical-e5adc7457789b3405bd9f8df98ad93381eaf1973.tar.bz2
historical-e5adc7457789b3405bd9f8df98ad93381eaf1973.zip
Version bump (thanks Jaak Ristioja, bug 402289)
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'dev-util/cppcheck')
-rw-r--r--dev-util/cppcheck/ChangeLog9
-rw-r--r--dev-util/cppcheck/Manifest10
-rw-r--r--dev-util/cppcheck/cppcheck-1.52.ebuild77
3 files changed, 90 insertions, 6 deletions
diff --git a/dev-util/cppcheck/ChangeLog b/dev-util/cppcheck/ChangeLog
index 037ae120d417..d85297f9d1c1 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.28 2011/11/10 23:58:52 xmw Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.29 2012/02/07 03:28:21 xmw Exp $
+
+*cppcheck-1.52 (07 Feb 2012)
+
+ 07 Feb 2012; Michael Weber <xmw@gentoo.org> +cppcheck-1.52.ebuild:
+ Version bump (thanks Jaak Ristioja, bug 402289)
10 Nov 2011; Michael Weber <xmw@gentoo.org> -cppcheck-1.48.ebuild,
-cppcheck-1.49.ebuild, -cppcheck-1.50.ebuild:
diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index ab86efbe8961..5c0c7a1fc472 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -2,13 +2,15 @@
Hash: SHA256
DIST cppcheck-1.51.tar.bz2 920230 RMD160 ddf0e232a74900498846cf4d90394dd69c144b8e SHA1 d6774e123b9fa086cb6cc3722743e1de7a1f0b0c SHA256 856b24f96e7c784936371457e429dd5bb7436e5fed502315e49a2cba0bebc05c
+DIST cppcheck-1.52.tar.bz2 965225 RMD160 b0d6876d1213ffc9bf075517c6767bd5a103a9bf SHA1 56cc54f9d0af41dcfee5560e897fd3e1357712bc SHA256 655e4ba4452148342089a83df09c8d2ebceb528e0811bdf83f3a1e3c830e7796
EBUILD cppcheck-1.51.ebuild 1521 RMD160 13fc7a9a5ad1f7ceabcd76113c5c88e04e6d81e0 SHA1 b6c4ace5e277a59c79f1349b6b689453585293d4 SHA256 c022f713a1a359213b60a8a0deabfd96f3d7d2a21ef379556e22f36314338837
-MISC ChangeLog 4550 RMD160 ef71217b9b60b7bde308ef6b90cc5769f5f6ad66 SHA1 a6eaf88fbfef07f39a0d1a41291101c2672ab1ff SHA256 dfeaaa2c4b454c2c89eecd2533ff83d32350a433e91e521674be4da1bc283f27
+EBUILD cppcheck-1.52.ebuild 1521 RMD160 1593f332d769ac92553224d4a90e9766f02c6acd SHA1 ec3d1209f9c1a529c7de349158ea6d176e5851d2 SHA256 27667065d37da0d99e4a62bb0e679615dc236b7457e965d59895d53b5d89ef5c
+MISC ChangeLog 4700 RMD160 4e45685d68f763271788e5cca47eefae22767b64 SHA1 d0cc24b929c71731a599468e9754f2bf807ec665 SHA256 e789c8401953404749016f985d6d1aff7b7f2c3b6c155ded7704fc7b77ecb422
MISC metadata.xml 295 RMD160 218d80509b20b5f68ef61be37484665539688974 SHA1 fb22ef816d952cb04b800cad2790499a7a720213 SHA256 4526a4860c02569699367a86914fabb0c0f4d7939ebbba1f728fc5bff7356583
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk68ZUIACgkQknrdDGLu8JAyuAD8DBqLD04Hw9DzT5lb5KPqvsgf
-/LH3H63xtlr1q3WxLXsBAJdLxWCB6H3zMVJd47Hw4cj34Ba4x+xDsqYkbsyJUpf/
-=9iI9
+iF4EAREIAAYFAk8wmlsACgkQknrdDGLu8JCWHAD+Mb2b96YAgnLuuhMqYaWPkRiw
+xEmjxybnhhUXjdFS498A/A9DMmccTbhF22NXxgfdFj71HQP3S7tMGubkseoWRFC3
+=kVgv
-----END PGP SIGNATURE-----
diff --git a/dev-util/cppcheck/cppcheck-1.52.ebuild b/dev-util/cppcheck/cppcheck-1.52.ebuild
new file mode 100644
index 000000000000..ef2a1bec21c5
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.52.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/cppcheck-1.52.ebuild,v 1.1 2012/02/07 03:28:20 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
+}