Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/asciidoc/
Date: Tue, 09 Jan 2018 02:01:19
Message-Id: 1515429322.159b58bfd0c702584786dafa5fcb96d2c1e7618c.monsieurp@gentoo
1 commit: 159b58bfd0c702584786dafa5fcb96d2c1e7618c
2 Author: Marc Joliet <marcec <AT> gmx <DOT> de>
3 AuthorDate: Mon Jan 1 12:28:44 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 8 16:35:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=159b58bf
7
8 app-text/asciidoc: remove live version.
9
10 Remove the live version of app-text/asciidoc in light of the fact that
11 nothing much happens upstream these days. As such, the live ebuild
12 doesn't help with maintaining asciidoc anymore.
13
14 Package-Manager: Portage-2.3.13, Repoman-2.3.3
15 Closes: https://github.com/gentoo/gentoo/pull/6721
16
17 app-text/asciidoc/asciidoc-9999.ebuild | 114 ---------------------------------
18 1 file changed, 114 deletions(-)
19
20 diff --git a/app-text/asciidoc/asciidoc-9999.ebuild b/app-text/asciidoc/asciidoc-9999.ebuild
21 deleted file mode 100644
22 index 8577a4a0e1a..00000000000
23 --- a/app-text/asciidoc/asciidoc-9999.ebuild
24 +++ /dev/null
25 @@ -1,114 +0,0 @@
26 -# Copyright 1999-2017 Gentoo Foundation
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -EAPI=6
30 -
31 -PYTHON_COMPAT=( python2_7 pypy )
32 -
33 -[ "$PV" == "9999" ] && inherit git-r3 autotools
34 -inherit python-single-r1 readme.gentoo-r1
35 -
36 -DESCRIPTION="AsciiDoc is a plain text human readable/writable document format"
37 -HOMEPAGE="http://asciidoc.org/"
38 -if [ "$PV" == "9999" ]; then
39 - EGIT_REPO_URI="https://github.com/asciidoc/asciidoc.git"
40 - SRC_URI=""
41 - KEYWORDS=""
42 -else
43 - SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
44 - 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"
45 -fi
46 -
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -IUSE="examples graphviz highlight test"
50 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 -
52 -RDEPEND="
53 - app-text/docbook-xml-dtd:4.5
54 - >=app-text/docbook-xsl-stylesheets-1.75
55 - dev-libs/libxslt
56 - ${PYTHON_DEPS}
57 - graphviz? ( media-gfx/graphviz )
58 - highlight? (
59 - || (
60 - dev-util/source-highlight
61 - dev-python/pygments[${PYTHON_USEDEP}]
62 - app-text/highlight
63 - )
64 - )"
65 -DEPEND="
66 - test? (
67 - app-text/dvipng
68 - dev-texlive/texlive-latex
69 - dev-util/source-highlight
70 - media-gfx/graphviz
71 - media-gfx/imagemagick
72 - media-sound/lilypond
73 - ${PYTHON_DEPS}
74 - )"
75 -
76 -DOC_CONTENTS="
77 -If you are going to use a2x, please also look at a2x(1) under
78 -REQUISITES for a list of runtime dependencies.
79 -"
80 -
81 -if [ "$PV" == "9999" ]; then
82 - DEPEND="${DEPEND}
83 - dev-util/source-highlight
84 - www-client/lynx"
85 -fi
86 -
87 -src_prepare() {
88 - default
89 - # Only needed for prefix - harmless (does nothing) otherwise
90 - sed -i -e "s:^CONF_DIR=.*:CONF_DIR='${EPREFIX}/etc/asciidoc':" \
91 - "${S}/asciidoc.py" || die
92 -
93 - [ "$PV" == "9999" ] && eautoconf
94 -}
95 -
96 -src_configure() {
97 - econf --sysconfdir="${EPREFIX}"/usr/share
98 -}
99 -
100 -src_compile() {
101 - default
102 -
103 - if [ "$PV" == "9999" ]; then
104 - # replicate build rules from doc/main.aap; this avoids a dependency on
105 - # the A-A-P build tool
106 - for f in CHANGELOG.txt BUGS.txt README.asciidoc; do
107 - ${PYTHON} asciidoc.py -f text.conf -n -b html4 -o - "$f" | \
108 - lynx -dump -stdin > "${f%.*}" || die
109 - done
110 - fi
111 -}
112 -
113 -src_test() {
114 - local -x ASCIIDOC_PY=asciidoc.py
115 - "${EPYTHON}" tests/test${PN}.py update || die
116 - "${EPYTHON}" tests/test${PN}.py run || die
117 -}
118 -
119 -src_install() {
120 - default
121 - python_fix_shebang "${ED%/}"/usr/bin/*.py
122 -
123 - readme.gentoo_create_doc
124 - dodoc BUGS CHANGELOG README docbook-xsl/asciidoc-docbook-xsl.txt \
125 - dblatex/dblatex-readme.txt filters/code/code-filter-readme.txt
126 -
127 - # Below results in some files being installed twice in different locations, but they are
128 - # in the right place, uncompressed, and there won't be any broken links. See bug #483336
129 - if use examples; then
130 - # examples/website is full of relative symlinks,
131 - # deref them for copying, which dodoc doesn't do
132 - cp -rL examples/website "${ED%/}"/usr/share/doc/${PF}/examples || die
133 - docompress -x /usr/share/doc/${PF}/examples
134 - fi
135 -}
136 -
137 -pkg_postinst() {
138 - readme.gentoo_print_elog
139 -}