Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/wiki2beamer/
Date: Wed, 25 May 2022 19:48:12
Message-Id: 1653508015.8a547b5f619651a9192e633743058e6528c396a3.sping@gentoo
1 commit: 8a547b5f619651a9192e633743058e6528c396a3
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 25 19:46:55 2022 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Wed May 25 19:46:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a547b5f
7
8 app-text/wiki2beamer: Python 3.10 + EAPI 8
9
10 Closes: https://bugs.gentoo.org/845609
11 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
12 Package-Manager: Portage-3.0.30, Repoman-3.0.3
13
14 app-text/wiki2beamer/wiki2beamer-0.10.0-r1.ebuild | 44 +++++++++++++++++++++++
15 1 file changed, 44 insertions(+)
16
17 diff --git a/app-text/wiki2beamer/wiki2beamer-0.10.0-r1.ebuild b/app-text/wiki2beamer/wiki2beamer-0.10.0-r1.ebuild
18 new file mode 100644
19 index 000000000000..8c2706adfa50
20 --- /dev/null
21 +++ b/app-text/wiki2beamer/wiki2beamer-0.10.0-r1.ebuild
22 @@ -0,0 +1,44 @@
23 +# Copyright 1999-2022 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=8
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit python-single-r1
30 +
31 +DESCRIPTION="Tool to produce LaTeX Beamer code from wiki-like input"
32 +
33 +MY_P=wiki2beamer-v${PV}
34 +HOMEPAGE="https://wiki2beamer.github.io/"
35 +SRC_URI="https://github.com/wiki2beamer/wiki2beamer/archive/${MY_P}.tar.gz"
36 +
37 +LICENSE="GPL-2+ FDL-1.3"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 +IUSE="doc +examples"
41 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
42 +
43 +RDEPEND="${PYTHON_DEPS}"
44 +DEPEND="${RDEPEND}
45 + app-arch/unzip
46 + doc? ( dev-ruby/asciidoctor )"
47 +
48 +S="${WORKDIR}/wiki2beamer-${MY_P}"
49 +
50 +PATCHES=(
51 + "${FILESDIR}"/${P}-doc-examples-makefile.patch
52 + "${FILESDIR}"/${P}-doc-man-makefile.patch
53 +)
54 +
55 +src_compile() {
56 + use doc && emake -C doc/man/ wiki2beamer.1
57 +}
58 +
59 +src_install() {
60 + use examples && dodoc -r doc/examples
61 +
62 + use doc && doman doc/man/${PN}.1
63 + dodoc ChangeLog README.md
64 +
65 + python_doscript code/${PN}
66 +}