From b7ebc951da8800f711142f69d9d958bde67a112d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 28 Apr 2019 09:54:45 +0100 Subject: gentoo resync : 28.04.2019 --- app-text/asciidoc/Manifest | 4 +- app-text/asciidoc/asciidoc-8.6.10.ebuild | 4 +- app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild | 92 ++++++++++++++++++++++ 3 files changed, 97 insertions(+), 3 deletions(-) create mode 100644 app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild (limited to 'app-text/asciidoc') diff --git a/app-text/asciidoc/Manifest b/app-text/asciidoc/Manifest index f65194d28bdb..9409a00ac4d9 100644 --- a/app-text/asciidoc/Manifest +++ b/app-text/asciidoc/Manifest @@ -1,6 +1,8 @@ DIST asciidoc-8.6.10.tar.gz 577208 BLAKE2B 320724c3e2306e14212a4e32f09fb735861f9b0126ce86695c6b5840b69f94d0e5befbbfc355006a10d13d34e8ed3582f0bfb678744654a7d2040555016b1681 SHA512 6ecc86977baaf1c756691e3f661e43ef2bb24e606898f6075bfa6f174d1fdc5e77d00853ffe014847e295364349d6ad34f3b8209cb97870e0233012fc38a281a +DIST asciidoc-8.6.10_p20181016.tar.gz 576694 BLAKE2B 4d255606675346d00ab03398bf48cb30d357f9f9366944e4faf66ae4c96dafce49acdd930fc848f3dbb2d704a004bb5815d17b53416a76c8368a92e4716328b2 SHA512 801f360b0c444e932f1c50897d446de0ec3f0fb2206080b5aa6dda396fede96065f7bb629a84c8a8e40c5d8897f305fdb1877512f04ae757f3b142fd3a7305d0 DIST asciidoc-8.6.9.tar.gz 907253 BLAKE2B 45db42abd9ec73f6d3b20fc755bdd501eab1503bd8d5d6bb6b7d66c442cf8bcd47ee4325dbb572bdcfd01168ef1bccc3430ee7c545e7b3a6715b8ebf09516ad9 SHA512 1984482010dbd35c3a1def67f4915ce83ecfc29a7463f84aa312107d7a9ff647978f57615462c65e885bea424eed89a212df728cc3acd3c63df1c763dfa5e955 -EBUILD asciidoc-8.6.10.ebuild 2417 BLAKE2B 05f2b65bc56930aa35a7b65162cacd357e609fe210f3433e42d63e2916a022dbd70961277a176a6ba33bd73e3a1d4a4f9d2b4e572a9f69d4bd9e7ca46e857316 SHA512 58b8bf69bfbac965e5ae33fd6e45da0680c68df64debc8940f7453b100481804778bc61b186cc09d85a2fd0b7a16933d6ab7b02652e590c1a3e5e9a0fcca7a48 +EBUILD asciidoc-8.6.10.ebuild 2412 BLAKE2B f86913608e5f13ea9509ba5432b0d1f9ec49c334fad7de9ba74989e01253d005c779a4cbc86f9887461f85b574a22f37002664cec814fed506890070870bca2a SHA512 67215f01089a47910b681de8f90fa99bd02514c0de6c98834a445b0cc39c3866b6f6cfebd0af933d96d96d2e80f32a6b2705cf1aea44a4ac6eca7c8624ab9190 +EBUILD asciidoc-8.6.10_p20181016.ebuild 2584 BLAKE2B 3d6b1a45cafe3bff679e08ab3527c80e0cf9b6765a3bf58b82153c653f0bef90911cb07eac6d389b04e8c022133db47268ab49d8ba28e6363236444f51e6b2bb SHA512 4d881457521fa12086124df79aa835210bbee9d6d7791489ddf83ac7a2032c8a1bf3ee21643a0a4be5b1ef836e8fb59f1e70bb53197ccf5bc0ad95b20c825617 EBUILD asciidoc-8.6.9-r2.ebuild 2171 BLAKE2B 76606035ddef0bd31709a24a1b9896dda55ee1c299a043b46724da1a3d21565eddbd484ec0fd80db320c6db7aaaba1b340d6e1aac4bed7416724b9cd421791a8 SHA512 5a5bb301dab871ca93c282892c0e7a9421dad343dd529670385231397cfb96bdc01a483ce23fe86348c4af7ff2f00185006cb498e65b0eb5718e34c2fa7a3883 EBUILD asciidoc-8.6.9-r6.ebuild 2370 BLAKE2B ffa3b9a29ff82b63eeb56d4af3c527ec62d19034086a40569116c8949fbb8bde289273f006f6f707cfed75d3f5302a8da7d09b01e998b58268aa83925eb39d31 SHA512 f953144beb29005d3a0027a644f3a1d68fbe54dafeeb2f22d176ef2a28fe92e7dc6b315c47d49e7d6132cefdef8f623e2b1c90f30337324fa90a418e6e29e39d 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 index b7b019cda57b..20e0726b1441 100644 --- a/app-text/asciidoc/asciidoc-8.6.10.ebuild +++ b/app-text/asciidoc/asciidoc-8.6.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ 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 ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" LICENSE="GPL-2" SLOT="0" diff --git a/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild b/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild new file mode 100644 index 000000000000..bd7dd809d779 --- /dev/null +++ b/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} pypy3 ) + +inherit autotools python-single-r1 readme.gentoo-r1 + +DESCRIPTION="A plain text human readable/writable document format" +HOMEPAGE="http://asciidoc.org/ https://github.com/asciidoc/asciidoc-py3/" +MY_COMMIT="618f6e6f6b558ed1e5f2588cd60a5a6b4f881ca0" +SRC_URI="https://github.com/${PN}/${PN}-py3/archive/${MY_COMMIT}.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 ~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 + dev-libs/libxml2 + ${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. +" + +S="${WORKDIR}/${PN}-py3-${MY_COMMIT}" + +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 +} -- cgit v1.2.3