From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- app-text/asciidoc/Manifest | 2 +- .../asciidoc/asciidoc-8.6.10_p20181016-r1.ebuild | 95 ++++++++++++++++++++++ app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild | 93 --------------------- 3 files changed, 96 insertions(+), 94 deletions(-) create mode 100644 app-text/asciidoc/asciidoc-8.6.10_p20181016-r1.ebuild delete 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 0a12099dee72..90b47eb07a80 100644 --- a/app-text/asciidoc/Manifest +++ b/app-text/asciidoc/Manifest @@ -1,3 +1,3 @@ DIST asciidoc-8.6.10_p20181016.tar.gz 576694 BLAKE2B 4d255606675346d00ab03398bf48cb30d357f9f9366944e4faf66ae4c96dafce49acdd930fc848f3dbb2d704a004bb5815d17b53416a76c8368a92e4716328b2 SHA512 801f360b0c444e932f1c50897d446de0ec3f0fb2206080b5aa6dda396fede96065f7bb629a84c8a8e40c5d8897f305fdb1877512f04ae757f3b142fd3a7305d0 -EBUILD asciidoc-8.6.10_p20181016.ebuild 2580 BLAKE2B 05f5a6ca1c08d08837e0be753ec5f15d2e0e5632e4de5d62b359a8054b4c371e5ab0d0bca8755461cf1cc37f92034f0b848fa1fc7a975164aea6b896225137f4 SHA512 9005a49fcf9e12e89ef5de448f7f70e9d33b0c74abdd62b41bcd9929cafaf302bf78c2e06b301d7f2ad8c32841a199f9bc982f0bccd92cd1a8587bdee53b5dc0 +EBUILD asciidoc-8.6.10_p20181016-r1.ebuild 2620 BLAKE2B 4ae19fa2b8362818e9b5a04226aa7c4b57dd027efab22b0c9881ee3c3ce0d6b4d5ed903f03e0a26962d93ccdb125d73b1ef9e0a22178fb54fe28ef186b42ae2e SHA512 b01efd0d8d1b03de83bd39b37fee70645812795dba6136ea0410258793f4775e41a7ec9392e4b572dfb2db6bd76582de0a605704bb0dc026025044f5e971fdf6 MISC metadata.xml 514 BLAKE2B 89fefee3e8081fc45a8251255bf365f58eba6aa9eef92a23bd8f234703b7062b1dd2a415260fcda1b799cffa4b46d0da22b153ba8de6b77cb6076666ff43ccb7 SHA512 2587ac6d8c24ceca295eef2dc6e0735461dd09864d6a1f282d67fc3c58cd18aa565099a2c280edec143024295b74a251152918932c37d3be450aef68d367ca70 diff --git a/app-text/asciidoc/asciidoc-8.6.10_p20181016-r1.ebuild b/app-text/asciidoc/asciidoc-8.6.10_p20181016-r1.ebuild new file mode 100644 index 000000000000..efbd0590a066 --- /dev/null +++ b/app-text/asciidoc/asciidoc-8.6.10_p20181016-r1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{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 ~riscv s390 sh sparc x86 ~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" +RESTRICT="!test? ( 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 + $(python_gen_cond_dep ' + dev-python/pygments[${PYTHON_MULTI_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 +} diff --git a/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild b/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild deleted file mode 100644 index 5f5423e5152c..000000000000 --- a/app-text/asciidoc/asciidoc-8.6.10_p20181016.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{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 ~riscv s390 sh sparc x86 ~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" -RESTRICT="!test? ( 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