[weasel-commit] Source: chktex=1.6.4-2

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Tue, 01 Jun 2010 20:05:13 -0400

================================
chktex:source=1.6.4-2 (previous: 1.6.4-1)
cvc rdiff chktex -1 /weasel.rpath.org@wgl:3-devel/1.6.4-2
================================
1.6.4-2 Filip Brcic (brcha@xxxxxxxxxxxx) Tue Jun  1 20:04:51 2010
    chktex 1.6.4

chktex.recipe: changed
Index: chktex.recipe
====================================================================
contents(size sha1)
inode(mtime)
--- chktex.recipe /weasel.rpath.org@wgl:3-devel/1.6.4-1
+++ chktex.recipe /weasel.rpath.org@wgl:3-devel/1.6.4-2
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2009 Filip Brcic <brcha@xxxxxxx>
+# Copyright (c) 2009-2010 Filip Brcic <brcha@xxxxxxx>
 # Distributed under the terms of the GNU General Public License v3
 #
 
@@ -9,14 +9,27 @@
     version = '1.6.4'
 
     buildRequires = [
-        'groff:runtime', 'ncurses:devel', 'perl:devel',
+        'groff:runtime', 'ncurses:devel', 'perl:devellib',
         ]
 
+    if Use.builddocs:
+        buildRequires.extend(['latex2html:runtime'])
+
     shortDesc  = 'Checks latex source for common mistakes'
-    longDesc   = 'Checks latex source for common mistakes'
+    longDesc   = """
+This program has been written in frustration because some constructs
+in LaTeX are sometimes non-intuitive, and easy to forget. It is _not_
+a replacement for the built-in checker in LaTeX; however it catches
+some typographic errors LaTeX oversees. In other words, it is Lint for
+LaTeX. Filters are also provided for checking the LaTeX parts of CWEB
+documents. The program also supports output formats suitable for
+further processing by editors or other programs, making errors easy to
+cycle through. Software is provided for beautifully interfacing
+against the AUC-TeX Emacs mode. It is known to interface with LyX.
+"""
     url        = 'http://baruch.ev-en.org/proj/chktex/'
     licenses   = [ 'GPL-2' ]
-    categories = [ 'TeX/LaTeX' ]
+    categories = [ 'Development/TeX' ]
 
     def unpack(r):
         r.addArchive('http://baruch.ev-en.org/proj/chktex/')
@@ -24,12 +37,18 @@
     def compile(r):
         r.Configure()
         r.Make()
-#        r.Make('html') # when latex2html is compiled
+        if Use.builddocs:
+            r.Make('html')
 
     def install(r):
         r.MakeInstall()
 
-#        r.Doc('HTML/ChkTeX/*', dir='html')
-#        r.Doc('HTML/ChkTeX.tex')
+        if Use.builddocs:
+            r.Doc('HTML/ChkTeX/*', dir='html')
+            r.Doc('HTML/ChkTeX.tex')
 
         r.Install('*.1', '%(mandir)s/man1/')
+
+    def policy(r):
+        r.Requires('texlive-latexrecommended:runtime', '%(bindir)s/')
+        r.Requires('groff:runtime', '%(bindir)s/')



Committed by: brcha

Other related posts: