From: | "Michael Weber (xmw)" <xmw@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/cppcheck: cppcheck-1.55.ebuild ChangeLog |
Date: | Thu, 05 Jul 2012 12:44:57 |
Message-Id: | 20120705124426.6A6A52004B@flycatcher.gentoo.org |
1 | xmw 12/07/05 12:44:26 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cppcheck-1.55.ebuild |
5 | Log: |
6 | Version bump (thanks David J Cozatt, bug 424814) |
7 | |
8 | (Portage version: 2.1.11.4/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.32 dev-util/cppcheck/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppcheck/ChangeLog?rev=1.32&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppcheck/ChangeLog?rev=1.32&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppcheck/ChangeLog?r1=1.31&r2=1.32 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v |
20 | retrieving revision 1.31 |
21 | retrieving revision 1.32 |
22 | diff -u -r1.31 -r1.32 |
23 | --- ChangeLog 20 Apr 2012 10:02:48 -0000 1.31 |
24 | +++ ChangeLog 5 Jul 2012 12:44:26 -0000 1.32 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-util/cppcheck |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.31 2012/04/20 10:02:48 xmw Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.32 2012/07/05 12:44:26 xmw Exp $ |
30 | + |
31 | +*cppcheck-1.55 (05 Jul 2012) |
32 | + |
33 | + 05 Jul 2012; Michael Weber <xmw@g.o> +cppcheck-1.55.ebuild: |
34 | + Version bump (thanks David J Cozatt, bug 424814) |
35 | |
36 | *cppcheck-1.54 (20 Apr 2012) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-util/cppcheck/cppcheck-1.55.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppcheck/cppcheck-1.55.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppcheck/cppcheck-1.55.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: cppcheck-1.55.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/cppcheck-1.55.ebuild,v 1.1 2012/07/05 12:44:26 xmw Exp $ |
51 | |
52 | EAPI="3" |
53 | PYTHON_DEPEND="htmlreport? 2" |
54 | |
55 | inherit distutils eutils qt4-r2 toolchain-funcs |
56 | |
57 | DESCRIPTION="static analyzer of C/C++ code" |
58 | HOMEPAGE="http://apps.sourceforge.net/trac/cppcheck/" |
59 | SRC_URI="mirror://sourceforge/cppcheck/${P}.tar.bz2" |
60 | |
61 | LICENSE="GPL-3" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~x86" |
64 | IUSE="htmlreport qt4" |
65 | |
66 | DEPEND="htmlreport? ( dev-python/pygments ) |
67 | qt4? ( x11-libs/qt-gui:4 |
68 | x11-libs/qt-assistant:4 )" |
69 | RDEPEND="${DEPEND}" |
70 | |
71 | DISTUTILS_SETUP_FILES=("htmlreport|setup.py") |
72 | |
73 | pkg_setup() { |
74 | if use htmlreport ; then |
75 | python_set_active_version 2 |
76 | python_pkg_setup |
77 | fi |
78 | } |
79 | |
80 | src_prepare() { |
81 | if use htmlreport ; then |
82 | pushd htmlreport |
83 | python_convert_shebangs -r 2 . |
84 | distutils_src_prepare |
85 | popd |
86 | fi |
87 | } |
88 | |
89 | src_configure() { |
90 | tc-export CXX |
91 | if use qt4 ; then |
92 | pushd gui |
93 | qt4-r2_src_configure |
94 | popd |
95 | fi |
96 | } |
97 | |
98 | src_compile() { |
99 | emake || die |
100 | if use qt4 ; then |
101 | pushd gui |
102 | qt4-r2_src_compile |
103 | popd |
104 | fi |
105 | use htmlreport && distutils_src_compile |
106 | } |
107 | |
108 | src_install() { |
109 | emake install DESTDIR="${D}" || die |
110 | dodoc readme.txt || die |
111 | if use qt4 ; then |
112 | dobin gui/${PN}-gui || die |
113 | dodoc readme_gui.txt gui/{projectfile.txt,gui.cppcheck} || die |
114 | fi |
115 | use htmlreport && distutils_src_install |
116 | } |
117 | |
118 | pkg_postinst() { |
119 | use htmlreport && distutils_pkg_postinst |
120 | } |
121 | |
122 | pkg_postrm() { |
123 | use htmlreport && distutils_pkg_postrm |
124 | } |