From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CBA241384B4 for ; Tue, 17 Nov 2015 10:29:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6EC9EE01B5; Tue, 17 Nov 2015 10:29:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1BE1E01B5 for ; Tue, 17 Nov 2015 10:29:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1AE6E340666 for ; Tue, 17 Nov 2015 10:29:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C14E6702 for ; Tue, 17 Nov 2015 10:29:46 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1447674781.7672a28aa4458c0dd1481bbcdc60642040acb337.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/asciidoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/asciidoc/asciidoc-8.6.9-r2.ebuild app-text/asciidoc/asciidoc-9999.ebuild X-VCS-Directories: app-text/asciidoc/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 7672a28aa4458c0dd1481bbcdc60642040acb337 X-VCS-Branch: master Date: Tue, 17 Nov 2015 10:29:46 +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-Archives-Salt: 705337df-e850-4c88-97a2-ebd8fc1147e5 X-Archives-Hash: 89316aa6fb39868830f6ce2255ac7caa commit: 7672a28aa4458c0dd1481bbcdc60642040acb337 Author: Marc Joliet gmx de> AuthorDate: Mon Nov 16 11:12:21 2015 +0000 Commit: Patrice Clement gentoo org> CommitDate: Mon Nov 16 11:53:01 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7672a28a app-text/asciidoc: use readme.gentoo for some deps Use readme.gentoo to refer to the a2x(1) man page for a list of runtime dependencies instead of forcing the app-text/dblatex and lynx/w3m dependencies. Since this commit removes the direct dependency on app-text/dblatex, it also restores previously dropped KEYWORDS to ~arch. Gentoo-bug: 565844 Signed-off-by: Marc Joliet gmx.de> app-text/asciidoc/asciidoc-8.6.9-r2.ebuild | 12 ++++++++---- app-text/asciidoc/asciidoc-9999.ebuild | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/app-text/asciidoc/asciidoc-8.6.9-r2.ebuild b/app-text/asciidoc/asciidoc-8.6.9-r2.ebuild index c4347b3..e329c8e 100644 --- a/app-text/asciidoc/asciidoc-8.6.9-r2.ebuild +++ b/app-text/asciidoc/asciidoc-8.6.9-r2.ebuild @@ -6,12 +6,12 @@ EAPI=5 PYTHON_COMPAT=( python2_7 pypy ) -inherit python-single-r1 +inherit readme.gentoo python-single-r1 DESCRIPTION="AsciiDoc is a plain text human readable/writable document format" HOMEPAGE="http://asciidoc.org/" SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" LICENSE="GPL-2" SLOT="0" @@ -23,8 +23,6 @@ RDEPEND=">=app-text/docbook-xsl-stylesheets-1.75 dev-libs/libxslt graphviz? ( media-gfx/graphviz ) app-text/docbook-xml-dtd:4.5 - app-text/dblatex - || ( www-client/w3m www-client/lynx ) highlight? ( || ( dev-util/source-highlight \ dev-python/pygments[${PYTHON_USEDEP}] \ app-text/highlight ) @@ -40,6 +38,11 @@ DEPEND="test? ( dev-util/source-highlight ${PYTHON_DEPS} ) " +DOC_CONTENTS=" +If you are going to use a2x, please also look at a2x(1) under +REQUISITES for a list of runtime dependencies. +" + src_prepare() { if ! use vim-syntax; then sed -i -e '/^install/s/install-vim//' Makefile.in || die @@ -66,6 +69,7 @@ src_install() { python_fix_shebang "${ED}"/usr/bin/*.py + readme.gentoo_create_doc dodoc BUGS CHANGELOG README docbook-xsl/asciidoc-docbook-xsl.txt \ dblatex/dblatex-readme.txt filters/code/code-filter-readme.txt diff --git a/app-text/asciidoc/asciidoc-9999.ebuild b/app-text/asciidoc/asciidoc-9999.ebuild index 3e19725..0a4f1a9 100644 --- a/app-text/asciidoc/asciidoc-9999.ebuild +++ b/app-text/asciidoc/asciidoc-9999.ebuild @@ -7,7 +7,7 @@ EAPI=5 PYTHON_COMPAT=( python2_7 pypy ) [ "$PV" == "9999" ] && inherit mercurial autotools -inherit python-single-r1 +inherit readme.gentoo python-single-r1 DESCRIPTION="AsciiDoc is a plain text human readable/writable document format" HOMEPAGE="http://www.methods.co.nz/asciidoc/" @@ -17,7 +17,7 @@ if [ "$PV" == "9999" ]; then KEYWORDS="" else SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" fi LICENSE="GPL-2" @@ -30,8 +30,6 @@ RDEPEND=">=app-text/docbook-xsl-stylesheets-1.75 dev-libs/libxslt graphviz? ( media-gfx/graphviz ) app-text/docbook-xml-dtd:4.5 - app-text/dblatex - || ( www-client/w3m www-client/lynx ) highlight? ( || ( dev-util/source-highlight \ dev-python/pygments[${PYTHON_USEDEP}] \ app-text/highlight ) @@ -47,6 +45,11 @@ DEPEND="test? ( dev-util/source-highlight ${PYTHON_DEPS} ) " +DOC_CONTENTS=" +If you are going to use a2x, please also look at a2x(1) under +REQUISITES for a list of runtime dependencies. +" + if [ "$PV" == "9999" ]; then DEPEND="${DEPEND} dev-util/aap @@ -100,6 +103,7 @@ src_install() { dosym ../../../asciidoc/images /usr/share/doc/${PF}/examples fi + readme.gentoo.create_doc dodoc BUGS CHANGELOG README docbook-xsl/asciidoc-docbook-xsl.txt \ dblatex/dblatex-readme.txt filters/code/code-filter-readme.txt }