public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/chktex/
Date: Sun, 15 Dec 2019 09:59:14 +0000 (UTC)	[thread overview]
Message-ID: <1576403955.edc8f4d101689b487497bc8512e03feab03fc7f1.zlogene@gentoo> (raw)

commit:     edc8f4d101689b487497bc8512e03feab03fc7f1
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 15 09:39:27 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> 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 <zlogene <AT> 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
 }


             reply	other threads:[~2019-12-15  9:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-15  9:59 Mikle Kolyada [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-04-05 19:01 [gentoo-commits] repo/gentoo:master commit in: dev-tex/chktex/ Sergei Trofimovich
2019-12-15 13:24 Sergei Trofimovich
2019-12-15 10:30 Mikle Kolyada
2019-12-15 10:01 Mikle Kolyada
2019-12-15 10:01 Mikle Kolyada
2019-06-05 16:50 Mikle Kolyada
2017-06-17 11:11 Alexis Ballier
2016-09-14 16:55 Alexis Ballier
2016-08-03 10:42 Alexis Ballier
2016-08-03 10:40 Alexis Ballier
2016-08-02  8:42 Alexis Ballier
2015-12-15  9:41 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1576403955.edc8f4d101689b487497bc8512e03feab03fc7f1.zlogene@gentoo \
    --to=zlogene@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox