From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 51A80138239 for ; Sun, 15 Dec 2019 09:59:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D05FE087E; Sun, 15 Dec 2019 09:59:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 73E71E087E for ; Sun, 15 Dec 2019 09:59:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2668D34D748 for ; Sun, 15 Dec 2019 09:59:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C50C0A8 for ; Sun, 15 Dec 2019 09:59:14 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1576403955.edc8f4d101689b487497bc8512e03feab03fc7f1.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/chktex/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tex/chktex/chktex-1.7.6.ebuild X-VCS-Directories: dev-tex/chktex/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: edc8f4d101689b487497bc8512e03feab03fc7f1 X-VCS-Branch: master Date: Sun, 15 Dec 2019 09:59:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8fb1c77b-96ee-4444-88ca-a1cf30eb43e0 X-Archives-Hash: ee63d750196333c086358dcaacd110fc commit: edc8f4d101689b487497bc8512e03feab03fc7f1 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Dec 15 09:39:27 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Sun Dec 15 09:59:15 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc8f4d1 dev-tex/chktex: port to EAPI=7 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> dev-tex/chktex/chktex-1.7.6.ebuild | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/dev-tex/chktex/chktex-1.7.6.ebuild b/dev-tex/chktex/chktex-1.7.6.ebuild index 4f066f5c4ca..4481fd8c9e6 100644 --- a/dev-tex/chktex/chktex-1.7.6.ebuild +++ b/dev-tex/chktex/chktex-1.7.6.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -AUTOTOOLS_AUTORECONF=true +EAPI=7 -inherit autotools-utils +inherit autotools latex-package DESCRIPTION="Checks latex source for common mistakes" HOMEPAGE="http://www.nongnu.org/chktex/" @@ -18,17 +17,19 @@ RESTRICT="!test? ( 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 )" +RDEPEND="pcre? ( dev-libs/libpcre )" + DEPEND="${RDEPEND} sys-apps/groff dev-texlive/texlive-fontsrecommended doc? ( dev-tex/latex2html )" +BDEPEND="virtual/latex-base + dev-lang/perl:=" + PATCHES=( "${FILESDIR}/${PN}-1.7.1-asneeded.patch" "${FILESDIR}/tex-inputenc.patch" ) -DOCS=( NEWS ) + AT_M4DIR="${S}/m4" src_configure() { @@ -38,21 +39,20 @@ src_configure() { $(use_enable debug debug-info) $(use_enable pcre) ) - autotools-utils_src_configure + econf ${myconfargs[@]} } src_compile() { - autotools-utils_src_compile - autotools-utils_src_compile ChkTeX.dvi - use doc && autotools-utils_src_compile html + default + emake ChkTeX.dvi + use doc && emake html } src_install() { + default if use doc ; then - HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/HTML/ChkTeX/") - DOCS+=("${AUTOTOOLS_BUILD_DIR}/HTML/ChkTeX.tex") + dodoc HTML/ChkTeX.tex fi - DOCS+=("${AUTOTOOLS_BUILD_DIR}/ChkTeX.dvi") - autotools-utils_src_install + dodoc ChkTeX.dvi NEWS doman *.1 }