Skip to content

Commit

Permalink
dev-tex/chktex: bump to 1.7.5
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
Signed-off-by: Alexis Ballier <[email protected]>
  • Loading branch information
aballier committed Dec 15, 2015
1 parent 3ac17ab commit e5fcfc1
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-tex/chktex/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ DIST chktex-1.7.1.tar.gz 349551 SHA256 be01222e819c00bdf0fb411c232e585fd6a116adc
DIST chktex-1.7.2.tar.gz 356981 SHA256 d7f37985e3a122990f2a29fe7cac5d1f31acb1e50035457ef7ceb07c30550158 SHA512 f0ac3ed74471d33da55591e6ca2a4b6847340540ef1911eef37bfad38ffc7c64ca4709966d52a22f871268edf893bf360c8429e1be7f62157d2fac9e58ea40af WHIRLPOOL b32e1927734ee1ba6af77bbe2a0e64ec640718ea26ebcd89a54c06555ec3b0c275fee3e81809b846b25f440f32397536d12eb85b3dde49bf55a7def09a19658a
DIST chktex-1.7.3.tar.gz 150801 SHA256 22a2a1af8d6c8b901a66b3729c114080f722b3ba59a73ca000035686590c98dd SHA512 29018229176d3bfd7bff92e68739d32262b01414d7df3d379ef1604abcd28c28abdeb83a2513f6d439e5c888a05e5a636e4a7ab34275d40d20fc63a275985c4a WHIRLPOOL 6fcb533ce1bf0f5dede29825a6477f8961e08fe0e03a596fab76492fd97b5a5179bffc70bf7fdf3e8caffa15b2722ec1be46d58f304000760f4c9f3a6871d82b
DIST chktex-1.7.4.tar.gz 150839 SHA256 77ed995eabe7088dacf53761933da23e6bf8be14d461f364bd06e090978bf6d2 SHA512 d5bf056f67ca520d9df95237b777380d9b98c792d5e20c16bcec2d78a4c68ec3c35308e4525eab33efa2abaf8f2d67ad62e65988b8885f30d1a3f29d27975a1f WHIRLPOOL e0cba6f01526d97304bd27804508c38a2ea1ca843f459d6e88dd7db84ba1745e8f37372f1b8aa393dbbe5fa1a62a71956849b2222859b36e125f24cdbc5333f3
DIST chktex-1.7.5.tar.gz 151833 SHA256 4b5cfcf8430642e0fce925b2fd62e141d179cb71010565056f7cf40ba2770331 SHA512 035bd6af4d946464fc1d14bc5556a45f5a9aee8af18a50b300d3d797b91a36b9089e95c60f519aa95d8c21a75e102e950c88b97a52d4fe9e53243ab8484239dc WHIRLPOOL 9921dcb72c58b80f91b230d436cabf58dc25aa4711783b240844bdc5724a2f2ee5089a99e3827afe70425686f201cfd59dd4198f945d6811857b5daf1588e00c
53 changes: 53 additions & 0 deletions dev-tex/chktex/chktex-1.7.5.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=4
AUTOTOOLS_AUTORECONF=true

inherit autotools-utils

DESCRIPTION="Checks latex source for common mistakes"
HOMEPAGE="http://www.nongnu.org/chktex/"
SRC_URI="http://download.savannah.gnu.org/releases/chktex/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
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"
IUSE="debug doc +pcre test"
# Tests fail without pcre. Enable pcre by default and make tests depend on it.
REQUIRED_USE="test? ( pcre )"

RDEPEND="virtual/latex-base
dev-lang/perl
pcre? ( dev-libs/libpcre )"
DEPEND="${RDEPEND}
sys-apps/groff
doc? ( dev-tex/latex2html )"

PATCHES=( "${FILESDIR}/${PN}-1.7.1-asneeded.patch" )
DOCS=( NEWS )

src_configure() {
export VARTEXFONTS="${T}/fonts" #538672

local myeconfargs=(
$(use_enable debug debug-info)
$(use_enable pcre)
)
autotools-utils_src_configure
}

src_compile() {
autotools-utils_src_compile
use doc && autotools-utils_src_compile html
}

src_install() {
if use doc ; then
HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/HTML/ChkTeX/")
DOCS+=("${AUTOTOOLS_BUILD_DIR}/HTML/ChkTeX.tex")
fi
autotools-utils_src_install
doman *.1
}

0 comments on commit e5fcfc1

Please sign in to comment.