diff options
Diffstat (limited to 'app-text/wiki2beamer')
-rw-r--r-- | app-text/wiki2beamer/Manifest | 1 | ||||
-rw-r--r-- | app-text/wiki2beamer/wiki2beamer-0.10.0-r1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/app-text/wiki2beamer/Manifest b/app-text/wiki2beamer/Manifest index 575c85c5428e..332dc92d1a12 100644 --- a/app-text/wiki2beamer/Manifest +++ b/app-text/wiki2beamer/Manifest @@ -1,5 +1,6 @@ AUX wiki2beamer-0.10.0-doc-examples-makefile.patch 641 BLAKE2B cbac271fbfcb8a41e9bfdb4eb950a9cad46f71f38378a5a4309b401ac6a136865dae81fbe6f75bc1dcbcbc43f1d78a225c5f48205667aad869067b2eb5eb3daa SHA512 0e92df952bd4e82d6198d26f88303c9e992d9f409185079c9261ee11d3a61e76e988574ad7b830fdd9075430ed2fde9e5a635f512e71fa730557af95bcbe23c9 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-r1.ebuild 947 BLAKE2B adf432e56a99bf3cdb61c81fe6867e738d8c52a093b1da2a86b568969036e5f129a46d51d8686776fe46850ab041f1a612ec36ec420b75f05abe5f38e49fdd56 SHA512 153251d6d65bd0f832b2095bb960361f3378c92080b275181a6d54491fa5e659cc9f43d39d35c1d58d3b5e69da8d4334260389e8125083dc621b342cb851c2f3 EBUILD wiki2beamer-0.10.0.ebuild 947 BLAKE2B 830a88eea276fbbf42b6c14a0ac52213fef9a0d2fec87e2e15521b1f534777c901eed0d1f07294412f4c153f3f7ff02b0fdc88d3480f1f59d580424121f5ddcf SHA512 e79e6e8483f905cbdab89548ef5d52b3d9825c0f47a659676b7d83fad1847f97ee629e083c9da8293ecf3a2528701626c38c826228e2a1fe4e3a43332efbe6c2 MISC metadata.xml 331 BLAKE2B 432c3549b6576f59e408f4a319636ab795f4b3d16913d8384710b90585b1497d3d0432d194a671e3fe7baa00957e0df251212e6873603a5a0079d21dd07ab610 SHA512 05019403ea340e1f6e9fbc9c860d6acc5989ebd0759cec7dd1fa5d21c30d52e68de38435d810d06b8235240bfb0ff30a5f2f82b2b29d38f12c5519fc400a65b4 diff --git a/app-text/wiki2beamer/wiki2beamer-0.10.0-r1.ebuild b/app-text/wiki2beamer/wiki2beamer-0.10.0-r1.ebuild new file mode 100644 index 000000000000..8c2706adfa50 --- /dev/null +++ b/app-text/wiki2beamer/wiki2beamer-0.10.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) + +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} +} |