Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tex/chktex: ChangeLog chktex-1.7.0.ebuild
Date: Fri, 22 Jun 2012 15:41:46
Message-Id: 20120622154131.7F0D02004B@flycatcher.gentoo.org
1 aballier 12/06/22 15:41:31
2
3 Modified: ChangeLog
4 Added: chktex-1.7.0.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.41 dev-tex/chktex/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/chktex/ChangeLog?rev=1.41&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/chktex/ChangeLog?rev=1.41&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/chktex/ChangeLog?r1=1.40&r2=1.41
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-tex/chktex/ChangeLog,v
20 retrieving revision 1.40
21 retrieving revision 1.41
22 diff -u -r1.40 -r1.41
23 --- ChangeLog 9 May 2012 17:13:07 -0000 1.40
24 +++ ChangeLog 22 Jun 2012 15:41:31 -0000 1.41
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-tex/chktex
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/chktex/ChangeLog,v 1.40 2012/05/09 17:13:07 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/chktex/ChangeLog,v 1.41 2012/06/22 15:41:31 aballier Exp $
30 +
31 +*chktex-1.7.0 (22 Jun 2012)
32 +
33 + 22 Jun 2012; Alexis Ballier <aballier@g.o> +chktex-1.7.0.ebuild,
34 + +files/chktex-1.7.0-asneeded.patch:
35 + version bump
36
37 09 May 2012; Alexis Ballier <aballier@g.o> chktex-1.6.6.ebuild:
38 keyword ~amd64-fbsd
39
40
41
42 1.1 dev-tex/chktex/chktex-1.7.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/chktex/chktex-1.7.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/chktex/chktex-1.7.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: chktex-1.7.0.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-tex/chktex/chktex-1.7.0.ebuild,v 1.1 2012/06/22 15:41:31 aballier Exp $
52
53 EAPI=4
54 AUTOTOOLS_AUTORECONF=true
55
56 inherit autotools-utils
57
58 DESCRIPTION="Checks latex source for common mistakes"
59 HOMEPAGE="http://www.nongnu.org/chktex/"
60 SRC_URI="http://download.savannah.gnu.org/releases/chktex/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
65 IUSE="debug doc +pcre test"
66 # Tests fail without pcre. Enable pcre by default and make tests depend on it.
67 REQUIRED_USE="test? ( pcre )"
68
69 RDEPEND="virtual/latex-base
70 pcre? ( dev-libs/libpcre )"
71 DEPEND="${RDEPEND}
72 dev-lang/perl
73 sys-apps/groff
74 doc? ( dev-tex/latex2html )"
75
76 PATCHES=( "${FILESDIR}/${P}-asneeded.patch" )
77 DOCS=( NEWS )
78
79 src_configure() {
80 local myeconfargs=(
81 $(use_enable debug debug-info)
82 $(use_enable pcre)
83 )
84 autotools-utils_src_configure
85 }
86
87 src_compile() {
88 autotools-utils_src_compile
89 use doc && autotools-utils_src_compile html
90 }
91
92 src_install() {
93 if use doc ; then
94 HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/HTML/ChkTeX/")
95 DOCS+=("${AUTOTOOLS_BUILD_DIR}/HTML/ChkTeX.tex")
96 fi
97 autotools-utils_src_install
98 doman *.1
99 }