repo/gentoo:master commit in: app-text/pandoc-bin/

Maciej Barć <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786657951.fd25afd2fcc58fde7a7b1baa3e14468111740a6e.xgqt@gentoo>
commit:     fd25afd2fcc58fde7a7b1baa3e14468111740a6e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 13 21:01:16 2026 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug 13 21:52:31 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd25afd2

app-text/pandoc-bin: bump to 3.10.2

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-text/pandoc-bin/Manifest                 |  2 +
 app-text/pandoc-bin/pandoc-bin-3.10.2.ebuild | 67 ++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest
index 768e9df821bc..762cff85854f 100644
--- a/app-text/pandoc-bin/Manifest
+++ b/app-text/pandoc-bin/Manifest
@@ -2,3 +2,5 @@ DIST pandoc-3.10-linux-amd64.tar.gz 34661245 BLAKE2B d12928ccc1ced98b17e867bc968
 DIST pandoc-3.10-linux-arm64.tar.gz 37109798 BLAKE2B a0e8656e4a7246060ab61118dfde45f779d1f90c677272fb98049ff53894beec9911ca881f9c600a8e5a76c4e493e48d67cd856a0c2bdc80f3e5ed806ebc9b03 SHA512 04abb8b36fc39246d400fed8adce0fd88fca97aba4af2f01711a857bd49034a51610014a92e3f41d7a3447ae0a3697c690586b0fb25abd5c1309daa04aa87ebe
 DIST pandoc-3.10.1-linux-amd64.tar.gz 34873851 BLAKE2B a815bc0f2be1f758153cd53520724fa8782dfb49534357471bd54ad687970787d770bc6ef44a8d94ac9272e274d9be457b9f2d8dfebebcac73520e66d440bfda SHA512 11003063a030e5b2d71b41ae9651303abf93b20a04dd711e39ea3279fdef7e1c0dc7cdd0b3112d7ec0a30c0f3bc5a2b30ab692c04b3f793674b347348c176214
 DIST pandoc-3.10.1-linux-arm64.tar.gz 37328794 BLAKE2B 1a5d4dd2dd67f6dca9e5b094d5b50b5b793c51caa0e11e91250d41eb08ee3f82d4b949819949ae1b21ff5b0db0072e4f9fc75b5e65a1f1e78bfb1a6ec5417fec SHA512 53ae7ccfa89e407e5271c6c8fc2df54ae8597f4c3313960ce09b91386c762da3c10641b1270fa69235a9085724712526e50877ea012539885b283ed8edfbea05
+DIST pandoc-3.10.2-linux-amd64.tar.gz 34877720 BLAKE2B de516ef56de8593e98cffa128173306fdeceb7bf3b42427f5a43dad6e550bc78506493f37b99c15afcc6083c68fa39fc8ec909a11e743dce5476677b1abc1087 SHA512 3ea25ca4e54b5e911d9a86e2a7c4a43ba909e49c26cb4efde1969d400101dbd2745badee121b178050f55612c6be7468e4853a52e7fa8010ce4f8113019684f5
+DIST pandoc-3.10.2-linux-arm64.tar.gz 37331747 BLAKE2B b6212cb134a49749f07e3e993e36f06cd618ea6124c538385860913d8de9fca82cd973b7111a6d49005a7c566e8852f3cdb62d083238360fe48c8414d9761632 SHA512 7d4e1a206623688284bd7a4405fe26f0a55efcd799efd409a40aa516c2c8559a83723f5f7d5233f3d58f8950b310bb028e3c528f052041e182c49cfb1caf5c6a

diff --git a/app-text/pandoc-bin/pandoc-bin-3.10.2.ebuild b/app-text/pandoc-bin/pandoc-bin-3.10.2.ebuild
new file mode 100644
index 000000000000..733829947a4d
--- /dev/null
+++ b/app-text/pandoc-bin/pandoc-bin-3.10.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=9
+
+MY_PN="${PN//-bin/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Conversion between markup formats (binary package)"
+HOMEPAGE="https://pandoc.org/
+	https://github.com/jgm/pandoc/"
+
+BASE_URI="https://github.com/jgm/${MY_PN}/releases/download/${PV}/${MY_P}"
+SRC_URI="
+	amd64? ( ${BASE_URI}-linux-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-linux-arm64.tar.gz )
+"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+IUSE="+pandoc-symlink"
+
+RDEPEND="
+	pandoc-symlink? (
+		!${CATEGORY}/${MY_PN}
+		!app-text/pandoc-cli
+		!dev-haskell/pandoc
+	)
+"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+QA_PRESTRIPPED="${QA_FLAGS_IGNORED}"
+
+src_unpack() {
+	default
+
+	# Manpages are gzipped.
+	unpack "${S}/share/man/man1"/*.1.gz
+}
+
+src_install() {
+	exeinto /usr/bin
+	newexe "./bin/${MY_PN}" "${PN}"
+
+	dosym "${PN}" /usr/bin/pandoc-lua-bin
+	dosym "${PN}" /usr/bin/pandoc-server-bin
+
+	newman "${WORKDIR}/${MY_PN}.1" "${PN}.1"
+	newman "${WORKDIR}/${MY_PN}-lua.1" pandoc-lua-bin.1
+	newman "${WORKDIR}/${MY_PN}-server.1" pandoc-server-bin.1
+
+	if use pandoc-symlink ; then
+		local -a exes=(
+			pandoc
+			pandoc-lua
+			pandoc-server
+		)
+
+		local exe=""
+		for exe in "${exes[@]}" ; do
+			dosym "${exe}-bin" "/usr/bin/${exe}"
+			dosym "${exe}-bin.1" "/usr/share/man/man1/${exe}.1"
+		done
+	fi
+}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.