Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/asciidoc/
Date: Sat, 04 Nov 2017 07:42:31
Message-Id: 1509781337.94efef0d974492a69b98bd7b66f4a7377bc0f420.kensington@gentoo
1 commit: 94efef0d974492a69b98bd7b66f4a7377bc0f420
2 Author: Marc Joliet <marcec <AT> gmx <DOT> de>
3 AuthorDate: Mon Oct 30 19:07:56 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 4 07:42:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94efef0d
7
8 app-text/asciidoc: remove old
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 app-text/asciidoc/asciidoc-8.6.9-r3.ebuild | 79 ------------------------------
13 1 file changed, 79 deletions(-)
14
15 diff --git a/app-text/asciidoc/asciidoc-8.6.9-r3.ebuild b/app-text/asciidoc/asciidoc-8.6.9-r3.ebuild
16 deleted file mode 100644
17 index afdfacf6638..00000000000
18 --- a/app-text/asciidoc/asciidoc-8.6.9-r3.ebuild
19 +++ /dev/null
20 @@ -1,79 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -
26 -PYTHON_COMPAT=( python2_7 pypy )
27 -inherit readme.gentoo-r1 python-single-r1
28 -
29 -DESCRIPTION="AsciiDoc is a plain text human readable/writable document format"
30 -HOMEPAGE="http://asciidoc.org/"
31 -SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
32 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
33 -
34 -LICENSE="GPL-2"
35 -SLOT="0"
36 -IUSE="examples graphviz highlight test"
37 -
38 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
39 -
40 -RDEPEND=">=app-text/docbook-xsl-stylesheets-1.75
41 - dev-libs/libxslt
42 - graphviz? ( media-gfx/graphviz )
43 - app-text/docbook-xml-dtd:4.5
44 - highlight? ( || ( dev-util/source-highlight \
45 - dev-python/pygments[${PYTHON_USEDEP}] \
46 - app-text/highlight )
47 - )
48 - ${PYTHON_DEPS}
49 -"
50 -DEPEND="test? ( dev-util/source-highlight
51 - media-sound/lilypond
52 - media-gfx/imagemagick
53 - dev-texlive/texlive-latex
54 - app-text/dvipng
55 - media-gfx/graphviz
56 - ${PYTHON_DEPS} )
57 -"
58 -
59 -DOC_CONTENTS="
60 -If you are going to use a2x, please also look at a2x(1) under
61 -REQUISITES for a list of runtime dependencies.
62 -"
63 -
64 -src_prepare() {
65 - # Only needed for prefix - harmless (does nothing) otherwise
66 - sed -i -e "s:^CONF_DIR=.*:CONF_DIR='${EPREFIX}/etc/asciidoc':" \
67 - "${S}/asciidoc.py" || die
68 -}
69 -
70 -src_configure() {
71 - econf --sysconfdir="${EPREFIX}"/usr/share
72 -}
73 -
74 -src_install() {
75 - emake DESTDIR="${D}" install
76 -
77 - python_fix_shebang "${ED}"/usr/bin/*.py
78 -
79 - readme.gentoo_create_doc
80 - dodoc BUGS CHANGELOG README docbook-xsl/asciidoc-docbook-xsl.txt \
81 - dblatex/dblatex-readme.txt filters/code/code-filter-readme.txt
82 -
83 - # Below results in some files being installed twice in different locations, but they are in the right place,
84 - # uncompressed, and there won't be any broken links. See bug #483336.
85 - if use examples; then
86 - cp -rL examples/website "${D}"/usr/share/doc/${PF}/examples || die
87 - docompress -x /usr/share/doc/${PF}/examples
88 - fi
89 -}
90 -
91 -src_test() {
92 - local -x ASCIIDOC_PY=asciidoc.py
93 - "${PYTHON}" tests/test${PN}.py update || die
94 - "${PYTHON}" tests/test${PN}.py run || die
95 -}
96 -
97 -pkg_postinst() {
98 - readme.gentoo_print_elog
99 -}