Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/asciidoc/
Date: Sun, 20 Feb 2022 23:33:18
Message-Id: 1645399873.b227f966da1ea4bec531ad5efbcd099baa3e7b28.sam@gentoo
1 commit: b227f966da1ea4bec531ad5efbcd099baa3e7b28
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 20 23:31:13 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 23:31:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b227f966
7
8 app-text/asciidoc: add 10.1.3
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 app-text/asciidoc/Manifest | 1 +
13 app-text/asciidoc/asciidoc-10.1.3.ebuild | 48 ++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/app-text/asciidoc/Manifest b/app-text/asciidoc/Manifest
17 index 53b283e93809..9f8df36dc7ed 100644
18 --- a/app-text/asciidoc/Manifest
19 +++ b/app-text/asciidoc/Manifest
20 @@ -1,4 +1,5 @@
21 DIST asciidoc-10.1.1.tar.gz 214619 BLAKE2B b7dc12d57cc3ad72301335ea84aea45db1a1e98f13aebf17fac6cf86657c509daa48ce1755817076c1c82f0a61c68fa7b178bc78bc6fda7274708bfde619491a SHA512 7b2b1ed9ea32b7336c271faf1e40e3a24d3b3af803c87f9d5d32c2b40cadaed682fbbedc6ec67bbe5a51377812d18180128c27779d7190898446266adee92842
22 +DIST asciidoc-10.1.3.tar.gz 215537 BLAKE2B 61613ded3f0b6b08b097534d88a14ff4b3820077dac14d9136462fe01727ea3134f05b0ddd3d81b31f9a6c2654cc8b775d6e4eb85b9edf8812a16191a43f587f SHA512 b060cb547e008dc2d4ca4646826c0968a0907ac0a2c13d8503e68be69e0ecef12d9a2f742e4614411202b6ea5fff6975bed0dbc07931b0b07a1462841d19c9ab
23 DIST asciidoc-9.0.5.new.tar.gz 1225334 BLAKE2B c3e428098dc4d71704ed13b54fd5f640b9de81d12939facb5faaf38a3123794e57201ecd9c312a22c220a2ec6b06c88a76ab47f05ffa972fc8751089b3471cfc SHA512 9125631fdee464f96f7e3c76a60fe37331905e9e55a81db27aece4065b246dc05a35db4c157dc7dbb2345eb95c153b474251d6a447d65774bf1b3f57e1883895
24 DIST asciidoc-9.1.0.new.tar.gz 1249958 BLAKE2B 0a98f58f7604f84d704092313c38563634bad5d697d60d02760f3be1d2a78a97ee2488dda3a9918b02e0062710175c6513d600f3fbd850fe700bf3fa917a3980 SHA512 c30854a936228fe5bcf2f9305741fbc4b17ef088b2fa637d5f3b19c7803306085634fb71146f0b089c2fad01f986da71a4fae364139f520c0906525317c0c4a6
25 DIST asciidoc-9.1.1.new.tar.gz 1259206 BLAKE2B da274d3a9389ee2e42ad1be70467f11d0164df3e6f9102e6ef1be6a802dbeb12898786fa1fe37a95755d0db8c9df5d5dd3faf000dfb73b701a83af3cc0261606 SHA512 74b83e8c8904fd761783c2f572d353656fc0794c6cb427f61e9179c9f80b6fc3b3ee8d028baba4e25eafe5f8cf5318f9984a5828849a793a7520f83e6fe50d66
26
27 diff --git a/app-text/asciidoc/asciidoc-10.1.3.ebuild b/app-text/asciidoc/asciidoc-10.1.3.ebuild
28 new file mode 100644
29 index 000000000000..705aa07cc25d
30 --- /dev/null
31 +++ b/app-text/asciidoc/asciidoc-10.1.3.ebuild
32 @@ -0,0 +1,48 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DISTUTILS_SINGLE_IMPL=1
39 +DISTUTILS_USE_PEP517=setuptools
40 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
41 +inherit distutils-r1 optfeature readme.gentoo-r1
42 +
43 +DESCRIPTION="A plain text human readable/writable document format"
44 +HOMEPAGE="https://asciidoc.org/ https://github.com/asciidoc-py/asciidoc-py/"
45 +# Could use the github tarball but we need autotools then
46 +#SRC_URI="https://github.com/asciidoc-py/asciidoc-py/releases/download/${PV}/${P}.tar.gz"
47 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
52 +
53 +RDEPEND="app-text/docbook-xml-dtd:4.5
54 + >=app-text/docbook-xsl-stylesheets-1.75
55 + dev-libs/libxslt
56 + dev-libs/libxml2:2"
57 +
58 +DOC_CONTENTS="
59 +If you are going to use a2x, please also look at a2x(1) under
60 +REQUISITES for a list of runtime dependencies.
61 +"
62 +
63 +src_install() {
64 + distutils-r1_src_install
65 +
66 + # TODO: Consider using Debian patch to allow /usr/share?
67 + insinto /usr/share/asciidoc
68 + doins -r asciidoc/resources/.
69 +
70 + readme.gentoo_create_doc
71 +}
72 +
73 +pkg_postinst() {
74 + readme.gentoo_print_elog
75 +
76 + optfeature "music filter support" "media-sound/lilypond virtual/imagemagick-tools"
77 + optfeature "source filter support" "dev-util/source-highlight dev-python/pygments app-text/highlight"
78 + optfeature "latex filter support" "dev-texlive/texlive-latex app-text/dvipng" "dev-texlive/texlive-latex app-text/dvisvgm"
79 + optfeature "graphviz filter support" "media-gfx/graphviz"
80 +}