summaryrefslogtreecommitdiff
path: root/app-text/wiki2beamer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-15 12:04:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-15 12:04:03 +0100
commit7fa8a1e3f149eea4c844c47cfe26136ed7614c58 (patch)
treee514d1b9999d088064bee1e34a3a3c500d6d7a07 /app-text/wiki2beamer
parentd993571e2ee444d08f4e9e90d493ee37338657e3 (diff)
gentoo auto-resync : 15:04:2024 - 12:04:02
Diffstat (limited to 'app-text/wiki2beamer')
-rw-r--r--app-text/wiki2beamer/Manifest1
-rw-r--r--app-text/wiki2beamer/wiki2beamer-0.10.0-r3.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/app-text/wiki2beamer/Manifest b/app-text/wiki2beamer/Manifest
index 7c151e592c2c..bfffd1f803f8 100644
--- a/app-text/wiki2beamer/Manifest
+++ b/app-text/wiki2beamer/Manifest
@@ -2,4 +2,5 @@ AUX wiki2beamer-0.10.0-doc-examples-makefile.patch 641 BLAKE2B cbac271fbfcb8a41e
AUX wiki2beamer-0.10.0-doc-man-makefile.patch 1441 BLAKE2B bfbf6c71f037d67359d1460a4e3c75b7b0a260252881efc2429ddc0b5aa90005c2c4bd36b18873106f9010803f765217f19a1575ee7ba5324ad53e52908a23d6 SHA512 b6ad3ce2b1435d79cce8a517e1a784399b349c4390c245d888b50acb2f5b89aaa49241d3687e4b5432fde7d433bf5ab5fb4bd1d4d96dfaa44358a6c0961bc76b
DIST wiki2beamer-v0.10.0.tar.gz 164911 BLAKE2B 0a532669915f0db5f1bb8755297bcd36e4175bc57d3b5f14df01566ac74e425c999447ff3f2bd20f2bcd50671bd65accfcf8049476a1656439fc46bab2becafd SHA512 712c719bcdd97f48c65aff1919f2e6a838a0beba1d2e5569063fd1f84bf68eda3137ac20e5dc463dff64c8b4656ce0bf02a0acea090b9a30262374cbee5db433
EBUILD wiki2beamer-0.10.0-r2.ebuild 947 BLAKE2B 0ce9263880c10b1dec4ac1b57605272359eb362d26577a1eb94e9ec21b70447a4bb7488dbdf64201c8a7db613b74047bd783770213bca895849a8f27c70e2d6d SHA512 5dbe2df36dfa7298b7e2e49c110ebd133ce370386afa53731976d9a1ac92c5bc0c74fcbcc52d0bfede6c89cdba3a7995ff0724cf340a74de1b808e55e38b25a0
+EBUILD wiki2beamer-0.10.0-r3.ebuild 979 BLAKE2B 6717c89f53528364432e5afac54bb13998b6cb4707a60e84110d251afd22f891d0b1d354ffbdc3ff2b5c7cfc99a1e1e8f5b6933b0eb215fdccaabe6d1fe45e19 SHA512 8b9110686d18eeb26c79a2a799ad52b155638e5fe1b8db3d8e736d163597b314945cb49d011887364c10f44c16b8b6ddee64f8e95a0e100b8553a189a4e70b48
MISC metadata.xml 394 BLAKE2B 45657490cd2e7ecd5d5ddbd3621465b70ffcdeb163d68a218ec9275cb9cfcd90c7ab0088763e19c870be88ab81e5acea20a9f2e1d6a97ccc906e528930d08de4 SHA512 1088d4a9710db88b54b7e739834e6b9a77838d698871000ebdd4087ef234b0c2aafcde4a9628f35af536ee5ca31fc13a0bb2e5f221b5a333c9486aa877202201
diff --git a/app-text/wiki2beamer/wiki2beamer-0.10.0-r3.ebuild b/app-text/wiki2beamer/wiki2beamer-0.10.0-r3.ebuild
new file mode 100644
index 000000000000..577ba3e01b4c
--- /dev/null
+++ b/app-text/wiki2beamer/wiki2beamer-0.10.0-r3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit python-single-r1
+
+DESCRIPTION="Tool to produce LaTeX Beamer code from wiki-like input"
+
+MY_P=wiki2beamer-v${PV}
+HOMEPAGE="https://wiki2beamer.github.io/"
+SRC_URI="https://github.com/wiki2beamer/wiki2beamer/archive/${MY_P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ doc? ( dev-ruby/asciidoctor )"
+
+S="${WORKDIR}/wiki2beamer-${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-doc-examples-makefile.patch
+ "${FILESDIR}"/${P}-doc-man-makefile.patch
+)
+
+src_compile() {
+ use doc && emake -C doc/man/ wiki2beamer.1
+}
+
+src_install() {
+ use examples && dodoc -r doc/examples
+
+ use doc && doman doc/man/${PN}.1
+ dodoc ChangeLog README.md
+
+ python_doscript code/${PN}
+}