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: Tue, 27 Jun 2017 12:30:46
Message-Id: 1498566631.3f77a982c593c8647dadecece4bef82f02581ffa.kensington@gentoo
1 commit: 3f77a982c593c8647dadecece4bef82f02581ffa
2 Author: Marc Joliet <marcec <AT> gmx <DOT> de>
3 AuthorDate: Thu Jun 22 18:02:37 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 27 12:30:31 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f77a982
7
8 app-text/asciidoc: remove old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 app-text/asciidoc/asciidoc-8.6.9-r1.ebuild | 79 ------------------------------
13 1 file changed, 79 deletions(-)
14
15 diff --git a/app-text/asciidoc/asciidoc-8.6.9-r1.ebuild b/app-text/asciidoc/asciidoc-8.6.9-r1.ebuild
16 deleted file mode 100644
17 index 2427f53e2a4..00000000000
18 --- a/app-text/asciidoc/asciidoc-8.6.9-r1.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 -
28 -inherit python-single-r1
29 -
30 -DESCRIPTION="AsciiDoc is a plain text human readable/writable document format"
31 -HOMEPAGE="http://asciidoc.org/"
32 -SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
33 -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 ~x86-macos ~x86-solaris"
34 -
35 -LICENSE="GPL-2"
36 -SLOT="0"
37 -IUSE="examples graphviz highlight test vim-syntax"
38 -
39 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
40 -
41 -RDEPEND=">=app-text/docbook-xsl-stylesheets-1.75
42 - dev-libs/libxslt
43 - graphviz? ( media-gfx/graphviz )
44 - app-text/docbook-xml-dtd:4.5
45 - highlight? ( || ( dev-python/pygments[${PYTHON_USEDEP}] dev-util/source-highlight ) )
46 - ${PYTHON_DEPS}
47 -"
48 -DEPEND="test? ( dev-util/source-highlight
49 - media-sound/lilypond
50 - media-gfx/imagemagick
51 - dev-texlive/texlive-latex
52 - app-text/dvipng
53 - media-gfx/graphviz
54 - ${PYTHON_DEPS} )
55 -"
56 -
57 -src_prepare() {
58 - if ! use vim-syntax; then
59 - sed -i -e '/^install/s/install-vim//' Makefile.in || die
60 - else
61 - sed -i\
62 - -e "/^vimdir/s:@sysconfdir@/vim:${EPREFIX}/usr/share/vim/vimfiles:" \
63 - -e 's:/etc/vim::' \
64 - Makefile.in || die
65 - fi
66 -
67 - # Only needed for prefix - harmless (does nothing) otherwise
68 - sed -i -e "s:^CONF_DIR=.*:CONF_DIR='${EPREFIX}/etc/asciidoc':" \
69 - "${S}/asciidoc.py" || die
70 -}
71 -
72 -src_configure() {
73 - econf --sysconfdir="${EPREFIX}"/usr/share
74 -}
75 -
76 -src_install() {
77 - use vim-syntax && dodir /usr/share/vim/vimfiles
78 -
79 - emake DESTDIR="${D}" install
80 -
81 - python_fix_shebang "${ED}"/usr/bin/*.py
82 -
83 - dodoc BUGS CHANGELOG README docbook-xsl/asciidoc-docbook-xsl.txt \
84 - dblatex/dblatex-readme.txt filters/code/code-filter-readme.txt
85 -
86 - # Below results in some files being installed twice in different locations, but they are in the right place,
87 - # uncompressed, and there won't be any broken links. See bug #483336.
88 - if use examples; then
89 - cp -rL examples/website "${D}"/usr/share/doc/${PF}/examples || die
90 - fi
91 - docompress -x /usr/share/doc/${PF}/examples
92 -}
93 -
94 -src_test() {
95 - cd tests || die
96 - local -x ASCIIDOC_PY=../asciidoc.py
97 - "${PYTHON}" test${PN}.py update || die
98 - "${PYTHON}" test${PN}.py run || die
99 -}