mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
app-text/pandoc-bin: bump to 3.9.0.2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -4,3 +4,5 @@ DIST pandoc-3.9-linux-amd64.tar.gz 34653874 BLAKE2B c94fc70784b7a4438724f0c1c449
|
||||
DIST pandoc-3.9-linux-arm64.tar.gz 37089130 BLAKE2B 7d76f72e44f53f62bc640770add58ec156bb725dbd6929acb4e486cd24875f66442bbd4dbc07255ea415975c1a46ea816f541773cad9d62b373a513588e1fc06 SHA512 769d955043c106c4582ae151b7c97d248e3de3642a4a8a993bdddae91e907e1abd02c2d654fb0f8834cd6285da8c3e2e2831eded787ecb5370ebfdb2eb043151
|
||||
DIST pandoc-3.9.0.1-linux-amd64.tar.gz 34518111 BLAKE2B ba3585f93e239e3cffa426aa4428a925b66d3e94819d795b49df1ae30156454e49ac787453e421faccede6d0e9cfd6969834771759dcf529a274d4127e6bd43e SHA512 63baa56aa67d2d4ab638a932c8cbcc4e870a43afe08f978a416bb109eb7b0bb9711fa0e7cd8a10efee8a4fe497dc0b74db705d7c87280ea7ce04c2d738746cf4
|
||||
DIST pandoc-3.9.0.1-linux-arm64.tar.gz 36946860 BLAKE2B 01383b9b4a0999c91e2766b8ca021dad8cf3d6ec04822be6424e0e955daa59c86379cb4e949feacd0a0dab63c5cea0444482e0757221efe4f74cab9d2b431451 SHA512 60524921d80f66ecc7ff843b47b7c9117080ae99b4e7fa91afa15a25db85f359a161a470eec1f2894e13a178f27f81f44f9a241ec4076fc3da9ba892b9a229fc
|
||||
DIST pandoc-3.9.0.2-linux-amd64.tar.gz 34520947 BLAKE2B c6defeface350d69905d861487029e2fcb3b25e6ea5fc9162e8e7a24b943ac6155ffff681331093cd09e6cefe35621896e9c57e76bdee157038659ef65375184 SHA512 844a78782d66d2a63e712a5239829cc495f0bacaa8412d89eb2a3f48ece1b99edff3cb2f6a52dc38737583682152eb19e33b0ec647e2a198fcd5685f16330c68
|
||||
DIST pandoc-3.9.0.2-linux-arm64.tar.gz 36948718 BLAKE2B 659191527034f7019287446052cf84aa3f059fbbba26a969084e55d12ac2fc8e994504c0e160b152d230eac58f1a75d6372dc61394d9b176eec94110cd455768 SHA512 c42df48081aab247f6769d02224084e8bea58aae49afdea6206f5f648598af964a34c844316fcbebe1ac601bbb469f3d80368d79cd040f6ee2b5e62bd7368314
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user