mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 00:05:54 +03:00
app-text/pandoc-bin: bump to 3.8.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST pandoc-3.7.0.2-linux-amd64.tar.gz 33678610 BLAKE2B e52e3f016e05e8786f07d06f
|
||||
DIST pandoc-3.7.0.2-linux-arm64.tar.gz 36571354 BLAKE2B 6c16c2e156e644ca785dc223885348ac0297e914a757a9ff7d1dbf3bdcace9b04c4ab34fda60a7db265860fd05614aedbc36e3cb65d409f846684adb3de41378 SHA512 dc377e6447439156e41fd12c18ad07881afbe714db0764546f23b201568af612abca620411489235c0b37506651420d955fc3c71c409d4f64af3db2e505f5115
|
||||
DIST pandoc-3.8-linux-amd64.tar.gz 34067480 BLAKE2B ec6f5a7e1f52fb86828917d2ba37b9d46852f75abf0339eab85c88c31de2e8a6263aaf56b713e62e02121675880313f16fc2debdfe0569f413d3f2275706a2d4 SHA512 12c6d67f600bb6c9488c8d30194b73f06418911b283ef30e64ffe481e1600ed63bbd47fdddbee175a11ccd5dc11f3557a49400a6e310f465fc0653390efe3caf
|
||||
DIST pandoc-3.8-linux-arm64.tar.gz 36980605 BLAKE2B afc20832edf71b6cd0da77f4300ec8f68dbec34bff01d9939187dfc17118466df8aed88f76475e5877637daf360d1e6606e477beff4762fd735e768477899955 SHA512 4f95c5d2502387167fe677bb496e75d0e6a7fd41c06d79272e57a3f38d331c7378c6fadac5f9dfdfeb4806defa639ebb5fa1dbc9c4c04c87cee6aba9ef109eef
|
||||
DIST pandoc-3.8.1-linux-amd64.tar.gz 34162807 BLAKE2B 2ffc74617acf1a4a470172b9ffb3389100c6ddc36074b0b1135089a2b30c26034a945f023f1ebc26cd2a6de879c036e822e54b563ee10abef7d7a8d33f210932 SHA512 ce9799d3eee85751425554a71fd45fed62e4d55ebda8617346d5e868783691b660574979953d4bc6134336f0b92f61f8e20960266c360a25b688091184c4d6d7
|
||||
DIST pandoc-3.8.1-linux-arm64.tar.gz 37090163 BLAKE2B 5b6b2f48c42fc321e6bdca63d09f2c2e6eb5d31629ca0e3288b8aacc8928e5fb4496a21ec50be86485f6b034938500fc5b50e6d707df180e3e35fec2e2173582 SHA512 376fdca279b2407e5318d8aa6fe5f1491a4fe5af0d6f8f375ec0729bf253fd5167cdf4a2762f3f4b9e6c5b9b80f3b5a830d30ac476e03c880e203548188e615a
|
||||
|
||||
67
app-text/pandoc-bin/pandoc-bin-3.8.1.ebuild
Normal file
67
app-text/pandoc-bin/pandoc-bin-3.8.1.ebuild
Normal file
@@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2025 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}.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