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 A42B1138334 for ; Wed, 11 Sep 2019 17:58:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7ED92E0ADA; Wed, 11 Sep 2019 17:58:13 +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 40025E0ACF for ; Wed, 11 Sep 2019 17:58:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 44CA434B0EB for ; Wed, 11 Sep 2019 17:58:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 08B3B802 for ; Wed, 11 Sep 2019 17:58:08 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1568224661.6176c3c3dc00d362bb121e1d41521d3d7d0eed07.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/docbook-sgml-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r3.ebuild X-VCS-Directories: app-text/docbook-sgml-utils/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6176c3c3dc00d362bb121e1d41521d3d7d0eed07 X-VCS-Branch: master Date: Wed, 11 Sep 2019 17:58:08 +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: e1ca4ed6-1c00-4018-99a0-6eabf53e7efa X-Archives-Hash: d7ade8a98ffefee74e3b068d2523034d commit: 6176c3c3dc00d362bb121e1d41521d3d7d0eed07 Author: Michał Górny gentoo org> AuthorDate: Wed Sep 4 16:57:51 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Sep 11 17:57:41 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6176c3c3 app-text/docbook-sgml-utils: Bump to EAPI 7 Signed-off-by: Michał Górny gentoo.org> .../docbook-sgml-utils-0.6.14-r3.ebuild | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r3.ebuild b/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r3.ebuild new file mode 100644 index 00000000000..16dc32cb7b0 --- /dev/null +++ b/app-text/docbook-sgml-utils/docbook-sgml-utils-0.6.14-r3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools prefix + +MY_P=${PN/-sgml/}-${PV} +DESCRIPTION="Shell scripts to manage DocBook documents" +HOMEPAGE="https://sourceware.org/docbook-tools/" +SRC_URI="https://sourceware.org/pub/docbook-tools/new-trials/SOURCES/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="jadetex" + +DEPEND=">=dev-lang/perl-5 + app-text/docbook-dsssl-stylesheets + app-text/openjade + dev-perl/SGMLSpm + ~app-text/docbook-xml-simple-dtd-4.1.2.4 + ~app-text/docbook-xml-simple-dtd-1.0 + app-text/docbook-xml-dtd + ~app-text/docbook-sgml-dtd-3.0 + ~app-text/docbook-sgml-dtd-3.1 + ~app-text/docbook-sgml-dtd-4.0 + ~app-text/docbook-sgml-dtd-4.1 + ~app-text/docbook-sgml-dtd-4.2 + ~app-text/docbook-sgml-dtd-4.4 + jadetex? ( app-text/jadetex ) + userland_GNU? ( sys-apps/which ) + || ( + www-client/lynx + www-client/links + www-client/elinks + virtual/w3m + )" +RDEPEND="${DEPEND}" + +# including both xml-simple-dtd 4.1.2.4 and 1.0, to ease +# transition to simple-dtd 1.0, + +src_prepare() { + default + eapply "${FILESDIR}"/${MY_P}-elinks.patch + eapply "${FILESDIR}"/${P}-grep-2.7.patch + if use prefix; then + eapply "${FILESDIR}"/${MY_P}-prefix.patch + eprefixify doc/{man,HTML}/Makefile.am bin/jw.in backends/txt configure.in + eautoreconf + fi +} + +src_install() { + make DESTDIR="${D}" \ + htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ + install + + if ! use jadetex; then + local i + for i in dvi pdf ps; do + rm "${ED}"/usr/bin/docbook2${i} || die + rm "${ED}"/usr/share/sgml/docbook/utils-${PV}/backends/${i} || die + rm "${ED}"/usr/share/man/man1/docbook2${i}.1 || die + done + fi + einstalldocs +}