1 |
commit: f32ec8b076221a747a89843b9073cac4026981f1 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 28 21:28:46 2022 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 28 21:28:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f32ec8b0 |
7 |
|
8 |
app-text/wiki2beamer: Python 3.11 + MissingRemoteId |
9 |
|
10 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
11 |
|
12 |
app-text/wiki2beamer/metadata.xml | 1 + |
13 |
app-text/wiki2beamer/wiki2beamer-0.10.0-r2.ebuild | 44 +++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/app-text/wiki2beamer/metadata.xml b/app-text/wiki2beamer/metadata.xml |
17 |
index d20f47202bfa..4a0c808679e4 100644 |
18 |
--- a/app-text/wiki2beamer/metadata.xml |
19 |
+++ b/app-text/wiki2beamer/metadata.xml |
20 |
@@ -6,6 +6,7 @@ |
21 |
<name>Sebastian Pipping</name> |
22 |
</maintainer> |
23 |
<upstream> |
24 |
+ <remote-id type="github">wiki2beamer/wiki2beamer</remote-id> |
25 |
<remote-id type="sourceforge">wiki2beamer</remote-id> |
26 |
</upstream> |
27 |
</pkgmetadata> |
28 |
|
29 |
diff --git a/app-text/wiki2beamer/wiki2beamer-0.10.0-r2.ebuild b/app-text/wiki2beamer/wiki2beamer-0.10.0-r2.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..1926b27aecc7 |
32 |
--- /dev/null |
33 |
+++ b/app-text/wiki2beamer/wiki2beamer-0.10.0-r2.ebuild |
34 |
@@ -0,0 +1,44 @@ |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+PYTHON_COMPAT=( python3_{8..11} ) |
40 |
+ |
41 |
+inherit python-single-r1 |
42 |
+ |
43 |
+DESCRIPTION="Tool to produce LaTeX Beamer code from wiki-like input" |
44 |
+ |
45 |
+MY_P=wiki2beamer-v${PV} |
46 |
+HOMEPAGE="https://wiki2beamer.github.io/" |
47 |
+SRC_URI="https://github.com/wiki2beamer/wiki2beamer/archive/${MY_P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="GPL-2+ FDL-1.3" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="doc +examples" |
53 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
54 |
+ |
55 |
+RDEPEND="${PYTHON_DEPS}" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ app-arch/unzip |
58 |
+ doc? ( dev-ruby/asciidoctor )" |
59 |
+ |
60 |
+S="${WORKDIR}/wiki2beamer-${MY_P}" |
61 |
+ |
62 |
+PATCHES=( |
63 |
+ "${FILESDIR}"/${P}-doc-examples-makefile.patch |
64 |
+ "${FILESDIR}"/${P}-doc-man-makefile.patch |
65 |
+) |
66 |
+ |
67 |
+src_compile() { |
68 |
+ use doc && emake -C doc/man/ wiki2beamer.1 |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ use examples && dodoc -r doc/examples |
73 |
+ |
74 |
+ use doc && doman doc/man/${PN}.1 |
75 |
+ dodoc ChangeLog README.md |
76 |
+ |
77 |
+ python_doscript code/${PN} |
78 |
+} |