diff options
author | Marc Joliet <marcec@gmx.de> | 2016-12-12 13:40:53 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-12-12 17:27:26 +0100 |
commit | cd044c4ceabe5120631e601161feb0c545b17f3f (patch) | |
tree | d0806b5c21ee52f859809a28580cfe34633448b1 /app-text/asciidoc | |
parent | app-text/asciidoc-9999: switch to EAPI 6 (diff) | |
download | gentoo-cd044c4ceabe5120631e601161feb0c545b17f3f.tar.gz gentoo-cd044c4ceabe5120631e601161feb0c545b17f3f.tar.bz2 gentoo-cd044c4ceabe5120631e601161feb0c545b17f3f.zip |
app-text/asciidoc-9999: remove dep on dev-util/aap
Remove the dependency on dev-util/aap, which was only used to build three
documentation files. Instead, asciidoc is called directly now.
Closes: https://github.com/gentoo/gentoo/pull/3082
Package-Manager: portage-2.3.0
Signed-off-by: Marc Joliet <marcec@gmx.de>
Diffstat (limited to 'app-text/asciidoc')
-rw-r--r-- | app-text/asciidoc/asciidoc-9999.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app-text/asciidoc/asciidoc-9999.ebuild b/app-text/asciidoc/asciidoc-9999.ebuild index 521f401bb536..9ad7879367eb 100644 --- a/app-text/asciidoc/asciidoc-9999.ebuild +++ b/app-text/asciidoc/asciidoc-9999.ebuild @@ -52,7 +52,6 @@ REQUISITES for a list of runtime dependencies. if [ "$PV" == "9999" ]; then DEPEND="${DEPEND} - dev-util/aap www-client/lynx dev-util/source-highlight" fi @@ -75,8 +74,12 @@ src_compile() { default if [ "$PV" == "9999" ]; then - cd doc || die - aap -f main.aap ../{CHANGELOG,README,BUGS} || die + # replicate build rules from doc/main.aap; this avoids a dependency on + # the A-A-P build tool + for f in CHANGELOG.txt BUGS.txt README.asciidoc; do + ${PYTHON} asciidoc.py -f text.conf -n -b html4 -o - "$f" | \ + lynx -dump -stdin > "${f%.*}" || die + done fi } |