From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-text/asciidoc/Manifest | 6 ++ app-text/asciidoc/asciidoc-8.6.10.ebuild | 88 ++++++++++++++++++++++++++++++ app-text/asciidoc/asciidoc-8.6.9-r2.ebuild | 77 ++++++++++++++++++++++++++ app-text/asciidoc/asciidoc-8.6.9-r6.ebuild | 86 +++++++++++++++++++++++++++++ app-text/asciidoc/metadata.xml | 18 ++++++ 5 files changed, 275 insertions(+) create mode 100644 app-text/asciidoc/Manifest create mode 100644 app-text/asciidoc/asciidoc-8.6.10.ebuild create mode 100644 app-text/asciidoc/asciidoc-8.6.9-r2.ebuild create mode 100644 app-text/asciidoc/asciidoc-8.6.9-r6.ebuild create mode 100644 app-text/asciidoc/metadata.xml (limited to 'app-text/asciidoc') diff --git a/app-text/asciidoc/Manifest b/app-text/asciidoc/Manifest new file mode 100644 index 000000000000..53e9087d6abc --- /dev/null +++ b/app-text/asciidoc/Manifest @@ -0,0 +1,6 @@ +DIST asciidoc-8.6.10.tar.gz 577208 BLAKE2B 320724c3e2306e14212a4e32f09fb735861f9b0126ce86695c6b5840b69f94d0e5befbbfc355006a10d13d34e8ed3582f0bfb678744654a7d2040555016b1681 SHA512 6ecc86977baaf1c756691e3f661e43ef2bb24e606898f6075bfa6f174d1fdc5e77d00853ffe014847e295364349d6ad34f3b8209cb97870e0233012fc38a281a +DIST asciidoc-8.6.9.tar.gz 907253 BLAKE2B 45db42abd9ec73f6d3b20fc755bdd501eab1503bd8d5d6bb6b7d66c442cf8bcd47ee4325dbb572bdcfd01168ef1bccc3430ee7c545e7b3a6715b8ebf09516ad9 SHA512 1984482010dbd35c3a1def67f4915ce83ecfc29a7463f84aa312107d7a9ff647978f57615462c65e885bea424eed89a212df728cc3acd3c63df1c763dfa5e955 +EBUILD asciidoc-8.6.10.ebuild 2428 BLAKE2B 0684c4781333547a21565dd3c0c04415ff71b424793dc3e6263b210af63e87bd4af15853ab8ce2e0d62ab9e63ac80320012b692fabb4f87ab2b292434a869fdf SHA512 2e13bcb6df18d5ae9a785d1f0498617a5a8bc38e94775eef48d7902313b8f9b6f964dfaad868310073d681bbf94181c851dac5066f4b856cad36076b07dc9785 +EBUILD asciidoc-8.6.9-r2.ebuild 2182 BLAKE2B 9afcba8c17bdc898a80a57fd660bf0615d10a0757a12707b85b4f4d177e8782abc08476dd210329a522a809015353b4a4e8be1311deed0a54f39b4691a5e0aa1 SHA512 17bbf46f4f39ac05e83017e18997908a52dedbf624dcaf0e6c62506a683fc88917f2b042988a1e36cd43c71eab86001959e65c36bd92af40b45bc0a993ab0df7 +EBUILD asciidoc-8.6.9-r6.ebuild 2381 BLAKE2B 3f10a76d93d77748c69ed6655ae7bfe1cabc0c167af6132fc1f3a1ff3e527df9e61b3f69cec32a6fdc7821fb8e8d044877498f1e66e97f71e046c564694002ad SHA512 43f555c2811a278b8226941936ed8da27ea05a6daf244bd1fb62952f8941bb504f4614e8796d675849f28c8aebb1b2303a83b72d64d6e1d3402be0c3ed2f7018 +MISC metadata.xml 514 BLAKE2B 89fefee3e8081fc45a8251255bf365f58eba6aa9eef92a23bd8f234703b7062b1dd2a415260fcda1b799cffa4b46d0da22b153ba8de6b77cb6076666ff43ccb7 SHA512 2587ac6d8c24ceca295eef2dc6e0735461dd09864d6a1f282d67fc3c58cd18aa565099a2c280edec143024295b74a251152918932c37d3be450aef68d367ca70 diff --git a/app-text/asciidoc/asciidoc-8.6.10.ebuild b/app-text/asciidoc/asciidoc-8.6.10.ebuild new file mode 100644 index 000000000000..79a10d61469a --- /dev/null +++ b/app-text/asciidoc/asciidoc-8.6.10.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 pypy ) + +inherit autotools python-single-r1 readme.gentoo-r1 + +DESCRIPTION="A plain text human readable/writable document format" +HOMEPAGE="http://asciidoc.org/" +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-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} + )" + +DOC_CONTENTS=" +If you are going to use a2x, please also look at a2x(1) under +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_test() { + local -x ASCIIDOC_PY=asciidoc.py + "${EPYTHON}" tests/test${PN}.py update || die + "${EPYTHON}" tests/test${PN}.py run || die +} + +src_install() { + default + python_fix_shebang "${ED%/}"/usr/bin/*.py + + readme.gentoo_create_doc + 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 + if use examples; then + # 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 +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/app-text/asciidoc/asciidoc-8.6.9-r2.ebuild b/app-text/asciidoc/asciidoc-8.6.9-r2.ebuild new file mode 100644 index 000000000000..cded88810c54 --- /dev/null +++ b/app-text/asciidoc/asciidoc-8.6.9-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 pypy ) + +inherit readme.gentoo python-single-r1 + +DESCRIPTION="A plain text human readable/writable document format" +HOMEPAGE="http://asciidoc.org/" +SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${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 ~x86-macos ~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 ) + ) + ${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 +REQUISITES for a list of runtime dependencies. +" + +src_prepare() { + # Only needed for prefix - harmless (does nothing) otherwise + sed -i -e "s:^CONF_DIR=.*:CONF_DIR='${EPREFIX}/etc/asciidoc':" \ + "${S}/asciidoc.py" || die +} + +src_configure() { + econf --sysconfdir="${EPREFIX}"/usr/share +} + +src_install() { + emake DESTDIR="${D}" install + + 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 + + # 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 + docompress -x /usr/share/doc/${PF}/examples + fi +} + +src_test() { + cd tests || die + local -x ASCIIDOC_PY=../asciidoc.py + "${PYTHON}" test${PN}.py update || die + "${PYTHON}" test${PN}.py run || die +} diff --git a/app-text/asciidoc/asciidoc-8.6.9-r6.ebuild b/app-text/asciidoc/asciidoc-8.6.9-r6.ebuild new file mode 100644 index 000000000000..7be61c90a3f0 --- /dev/null +++ b/app-text/asciidoc/asciidoc-8.6.9-r6.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 pypy ) + +inherit python-single-r1 readme.gentoo-r1 + +DESCRIPTION="A plain text human readable/writable document format" +HOMEPAGE="http://asciidoc.org/" +SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${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-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} + )" + +DOC_CONTENTS=" +If you are going to use a2x, please also look at a2x(1) under +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 +} + +src_configure() { + econf --sysconfdir="${EPREFIX}"/usr/share +} + +src_test() { + local -x ASCIIDOC_PY=asciidoc.py + "${EPYTHON}" tests/test${PN}.py update || die + "${EPYTHON}" tests/test${PN}.py run || die +} + +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 + + # 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 + # 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 +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/app-text/asciidoc/metadata.xml b/app-text/asciidoc/metadata.xml new file mode 100644 index 000000000000..33454ff9d090 --- /dev/null +++ b/app-text/asciidoc/metadata.xml @@ -0,0 +1,18 @@ + + + + + marcec@gmx.de + Marc Joliet + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Enable source code highlighting + + + asciidoc + + -- cgit v1.2.3