summaryrefslogtreecommitdiff
path: root/app-text/asciidoc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-10 00:43:02 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-10 00:43:02 +0000
commita5332b59346f7cbf0fdbd148b54aa8a84aaf8190 (patch)
treee6d8d3589fcd01fbc3f1286185639163daa81424 /app-text/asciidoc
parentfceeaf01a28ee71065cf3798b70b77d3bc4ef199 (diff)
gentoo resync : 10.11.2017
Diffstat (limited to 'app-text/asciidoc')
-rw-r--r--app-text/asciidoc/Manifest3
-rw-r--r--app-text/asciidoc/asciidoc-8.6.10.ebuild (renamed from app-text/asciidoc/asciidoc-8.6.9-r3.ebuild)77
2 files changed, 45 insertions, 35 deletions
diff --git a/app-text/asciidoc/Manifest b/app-text/asciidoc/Manifest
index 0ef5dea66989..c1159556297d 100644
--- a/app-text/asciidoc/Manifest
+++ b/app-text/asciidoc/Manifest
@@ -1,6 +1,7 @@
+DIST asciidoc-8.6.10.tar.gz 577208 SHA256 9e52f8578d891beaef25730a92a6e723596ddbd07bfe0d2a56486fcf63a0b983 SHA512 6ecc86977baaf1c756691e3f661e43ef2bb24e606898f6075bfa6f174d1fdc5e77d00853ffe014847e295364349d6ad34f3b8209cb97870e0233012fc38a281a WHIRLPOOL 36c097befed3befb901ceb0c42079488462c31acb92719f22da88a76804a692463c4ee37872c4b5e8c15711ed26734659cb52e61cd483b2062f0109a16c6af47
DIST asciidoc-8.6.9.tar.gz 907253 SHA256 78db9d0567c8ab6570a6eff7ffdf84eadd91f2dfc0a92a2d0105d323cab4e1f0 SHA512 1984482010dbd35c3a1def67f4915ce83ecfc29a7463f84aa312107d7a9ff647978f57615462c65e885bea424eed89a212df728cc3acd3c63df1c763dfa5e955 WHIRLPOOL dbd576ed3b7bcaf46afd33d9aae7a94f82fb171fa73f0b99f737b6934f62927ea11e1290aeac141ce5de27f66a56d7ed2d110f2b0d84e0598e858eac0e52b35d
+EBUILD asciidoc-8.6.10.ebuild 2448 SHA256 2e0e435dba6edb83ab3364a863ee1a1fe1ab20c07a57cba4984b220ca81a7276 SHA512 1b9c5f396009c6c19353a9bcd63210f7bff6bbeabbc8084e0ee6e26d441d83ded8f6fa94ae8caf6a216f255f05eaed1789f240ac8cf02484b1e68b16a0fe4da5 WHIRLPOOL 89606c4c838634625bd0b35522d931ed735397aeaf8b763ca803c9ea3676b0dcbf770b3527ac934b70b1557fa95648152100e8e370d19a3cd8922f819cb80c3a
EBUILD asciidoc-8.6.9-r2.ebuild 2194 SHA256 835d09e0de77cd9c3c7d11ff4f5452a0a94aa18b1dbfd728fc63919d82fc15fe SHA512 8800a9c0a0ffc8105315d468194b8c6aa0a23d2345b1a5aa4ba5950c3d2daca94f28ffd81f40e52c10d8de94d9f67306d69a3c00acf4008821ffb4c21625f190 WHIRLPOOL 13ce366a6bf41a82d7f95918d90b3fecd08be57132ca1bc3186865c8771886126a831a2bf417912590653e91035c7ba5ebf57146bda701444c0a44e5320976cb
-EBUILD asciidoc-8.6.9-r3.ebuild 2303 SHA256 e96f7fd6da782041c1e713215eec7e8e23be2dccf27b25ff424f2b17b58e57fa SHA512 2bec7c7ea7c879fd756ea4f47e375a52840f6f000047736a58a2f1df172ab46810263ad8e88cf3d7fbcfab18ed2be5927fb0fb39360d65bfc221df7aff010c46 WHIRLPOOL 8cace39c0d67dd076251b198e10faaea1317d803a7da8215bc401f98c1bf92c0d8360953c178b94077aa5d7c0de1aefb95120ebe21dad617791043f1e2b14445
EBUILD asciidoc-8.6.9-r6.ebuild 2393 SHA256 7e0acb328c4862788ddddf78ee2b1ec648e72e8b9806bea687b4db78a7e25f25 SHA512 ef5cd7559f8c7a1a3de05a6ec2b81647b8b2bdb22efe6112d5136a36f83e32071a09febfe9a4310e437fdfa92b1e752bf0744010218653758fff5d39677a7e66 WHIRLPOOL e4daf52c05d9a81058b560d13f50bdb3bfecb95a419c3cf4f15e711013753304336e5e9659d23e243b3ba761590edc4256210c8c22493d259d32252970fd3a2b
EBUILD asciidoc-9999.ebuild 3024 SHA256 63468200330bd85009b3a9e4a8028dd72b204f27faf21e33301f72c032d97d5a SHA512 a4f71cee5bdd91630d0e3be403666c0bd250f3425a15cdd863da3a429d8cab36304f07b463b2353c1296f8e89ddc28f5ce1e9e6aa0922577659c158f168e805d WHIRLPOOL d862ff60c6c4d956af1fc975dd9c7637eefc8bb99304570057fccfffcc0a137654250d76486e1b644abd4a6c281bb1fcd8e2a12b32ed0e5bc52b2bc9cb05acb5
MISC ChangeLog 8762 SHA256 a65df8bab04bd07e80c0eecf86081fa5a7061daec43c4d1238143565f8391bca SHA512 a2a2f2961b82d23f1459c508af6aec923eef71d7408653f025a6beac20b9376b2d92774910276b123301e70f2f30d802cf03ddeb5869ef0a2cdccb4903299a0f WHIRLPOOL bf34214d3f4ef42e5156eeb7b0da45c5432be35654884dca44e459dd9dc91e6f496acb4af8a9c116d7d54c21cca30cccaebdb3f7470c78bb6c25f6a0c2ea486f
diff --git a/app-text/asciidoc/asciidoc-8.6.9-r3.ebuild b/app-text/asciidoc/asciidoc-8.6.10.ebuild
index afdfacf6638b..7bd3987cf6e3 100644
--- a/app-text/asciidoc/asciidoc-8.6.9-r3.ebuild
+++ b/app-text/asciidoc/asciidoc-8.6.10.ebuild
@@ -1,40 +1,45 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 pypy )
-inherit readme.gentoo-r1 python-single-r1
+
+inherit autotools python-single-r1 readme.gentoo-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"
+SRC_URI="https://github.com/asciidoc/asciidoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
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"
LICENSE="GPL-2"
SLOT="0"
IUSE="examples graphviz highlight test"
-
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RDEPEND=">=app-text/docbook-xsl-stylesheets-1.75
- dev-libs/libxslt
- graphviz? ( media-gfx/graphviz )
- app-text/docbook-xml-dtd:4.5
- highlight? ( || ( dev-util/source-highlight \
- dev-python/pygments[${PYTHON_USEDEP}] \
- app-text/highlight )
+RDEPEND="
+ app-text/docbook-xml-dtd:4.5
+ >=app-text/docbook-xsl-stylesheets-1.75
+ dev-libs/libxslt
+ ${PYTHON_DEPS}
+ graphviz? ( media-gfx/graphviz )
+ highlight? (
+ || (
+ dev-util/source-highlight
+ dev-python/pygments[${PYTHON_USEDEP}]
+ app-text/highlight
)
+ )"
+DEPEND="
+ test? (
+ app-text/dvipng
+ dev-texlive/texlive-latex
+ dev-util/source-highlight
+ media-gfx/graphviz
+ media-gfx/imagemagick
+ media-sound/lilypond
${PYTHON_DEPS}
-"
-DEPEND="test? ( dev-util/source-highlight
- media-sound/lilypond
- media-gfx/imagemagick
- dev-texlive/texlive-latex
- app-text/dvipng
- media-gfx/graphviz
- ${PYTHON_DEPS} )
-"
+ )"
DOC_CONTENTS="
If you are going to use a2x, please also look at a2x(1) under
@@ -42,38 +47,42 @@ REQUISITES for a list of runtime dependencies.
"
src_prepare() {
+ default
# Only needed for prefix - harmless (does nothing) otherwise
sed -i -e "s:^CONF_DIR=.*:CONF_DIR='${EPREFIX}/etc/asciidoc':" \
"${S}/asciidoc.py" || die
+
+ eautoreconf
}
src_configure() {
econf --sysconfdir="${EPREFIX}"/usr/share
}
-src_install() {
- emake DESTDIR="${D}" install
+src_test() {
+ local -x ASCIIDOC_PY=asciidoc.py
+ "${EPYTHON}" tests/test${PN}.py update || die
+ "${EPYTHON}" tests/test${PN}.py run || die
+}
- python_fix_shebang "${ED}"/usr/bin/*.py
+src_install() {
+ default
+ 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
+ dodoc BUGS.txt CHANGELOG.txt README.asciidoc docbook-xsl/asciidoc-docbook-xsl.txt \
+ dblatex/dblatex-readme.txt filters/code/code-filter-readme.txt
- # Below results in some files being installed twice in different locations, but they are in the right place,
- # uncompressed, and there won't be any broken links. See bug #483336.
+ # Below results in some files being installed twice in different locations, but they are
+ # in the right place, uncompressed, and there won't be any broken links. See bug #483336
if use examples; then
- cp -rL examples/website "${D}"/usr/share/doc/${PF}/examples || die
+ # examples/website is full of relative symlinks,
+ # deref them for copying, which dodoc doesn't do
+ cp -rL examples/website "${ED%/}"/usr/share/doc/${PF}/examples || die
docompress -x /usr/share/doc/${PF}/examples
fi
}
-src_test() {
- local -x ASCIIDOC_PY=asciidoc.py
- "${PYTHON}" tests/test${PN}.py update || die
- "${PYTHON}" tests/test${PN}.py run || die
-}
-
pkg_postinst() {
readme.gentoo_print_elog
}