commit:     aaae24dcd4d9955bf08a163c87f83a6c11f9b419
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 08:28:24 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 08:29:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaae24dc

app-text/pandoc-bin: bump to 3.1.12.3

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

 app-text/pandoc-bin/Manifest                   |  2 +
 app-text/pandoc-bin/pandoc-bin-3.1.12.3.ebuild | 62 ++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest
index 02e99f316865..e805270fe334 100644
--- a/app-text/pandoc-bin/Manifest
+++ b/app-text/pandoc-bin/Manifest
@@ -4,3 +4,5 @@ DIST pandoc-3.1.12.1-linux-amd64.tar.gz 31944196 BLAKE2B 
43d50b920f1fa7477f3721f
 DIST pandoc-3.1.12.1-linux-arm64.tar.gz 34706186 BLAKE2B 
5c102f1d03f6f0336d9729e0c9be79bdf715b9739bd6fabff371744f2bb3f3aea552401cec8980972856223ac9cae416e9fa0ff7b606cf56678613649a595976
 SHA512 
46daa563331df894b779416080a7c76d90ddc6eb58559dd3f678ab50ee99063d59cdf72a02ac9eb5dbd78e17c610c4e07134b671c8d7a07072b81f5681363c87
 DIST pandoc-3.1.12.2-linux-amd64.tar.gz 31993808 BLAKE2B 
92b4b1e669ac77295d1b78e97500024829fe9fc5c516c3b7eaf60f3b7bf9bed85af37fd8d436d5e580f764e28e89158093b1dfc73dae5582152bd33577ee32e0
 SHA512 
70f7e9afb0a37389e89d8dcf349b3219ba499de2ca1f36d0c2786c9c8bdab73999c66b74724cdda1eafb27d8b6ca1ccac4f8343ec599be6265e2039040b46fa4
 DIST pandoc-3.1.12.2-linux-arm64.tar.gz 34763938 BLAKE2B 
d89738c2f8e71d2018437fc1af7e8ff9f7357620436936faae4536c3e9888cf682ae39ae31a85d5d607ba12bbdc288e872b239ed59bb716498b4bd0d45177171
 SHA512 
f3624e871fda54f7074b0a9a80acae68e28cfbfc881af9adfd9a1fb3eda7171ec6abf3bdf9981ebf4a4d204c91a2cb331db5d266fe6b82cbe0280981d3447038
+DIST pandoc-3.1.12.3-linux-amd64.tar.gz 32038834 BLAKE2B 
829ab9be9923af1b655e294e679d895d777185ebcfede27a4339f045c31d42cf9e33ee1bbb6d144af79d5ebab4f7a282a4fde7246a78dee66d921c43ec151c13
 SHA512 
0fc397060d08d2669202a5cd72aa3916f4a625fe478f621edcc9d4cb4ea3c3f9fa22793441b3d0da425b5a1d687d88e3125812b157888ad46c50976c69970ab9
+DIST pandoc-3.1.12.3-linux-arm64.tar.gz 34805145 BLAKE2B 
87d4ebf9eebbbc0145ae733e662ff28a9e2d1ff4d6dacb3a191c798efc021bc58c574675ce64e41f557fffaf6864fb776e66b2c3dfcaac0281a4e180e07c8455
 SHA512 
2128d50e7e5ad93744eee99aaef0d6b0a69fd15ec00c8049e35659050101845a3930146568e34af5ba6d254ccd0098158a4b6485a5eb8fd49a6006d41161ca2a

diff --git a/app-text/pandoc-bin/pandoc-bin-3.1.12.3.ebuild 
b/app-text/pandoc-bin/pandoc-bin-3.1.12.3.ebuild
new file mode 100644
index 000000000000..6c205a599708
--- /dev/null
+++ b/app-text/pandoc-bin/pandoc-bin-3.1.12.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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}-lua.1 pandoc-lua-bin.1
+       newman "${WORKDIR}"/${MY_PN}-server.1 pandoc-server-bin.1
+       newman "${WORKDIR}"/${MY_PN}.1 ${PN}.1
+
+       if use pandoc-symlink ; then
+               dosym ${PN} /usr/bin/${MY_PN}
+               dosym pandoc-lua-bin /usr/bin/${MY_PN}-lua
+               dosym pandoc-server-bin /usr/bin/${MY_PN}-server
+
+               dosym ${PN}.1 /usr/share/man/man1/${MY_PN}.1
+               dosym pandoc-lua-bin.1 /usr/share/man/man1/${MY_PN}-lua.1
+               dosym pandoc-server-bin.1 /usr/share/man/man1/${MY_PN}-server.1
+       fi
+}

Reply via email to