mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
app-text/pandoc-bin: drop old 3.7
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
DIST pandoc-3.6.4-linux-amd64.tar.gz 32917495 BLAKE2B 241c3b4766bbdc5015e5958e045bab2140d79101f44a78d11b389fc1fb1177bff8fe6485075e6f6893e3b82e4f958fd88700bd983bf63b38bdbedc94fafc2ff7 SHA512 62972bbe2b55a039c82b9e26bc9ce55c3ffff0ba4e7eca22338b07a1c3fc7d3064d709d7dee8bd8dac434e850262adea732a376ab1ff8a7dad3b11b2a35012be
|
||||
DIST pandoc-3.6.4-linux-arm64.tar.gz 35685198 BLAKE2B a52089a2ec64e8d7abf240506175da0216f20d0aab382c4ac6155e37bda4b5edb87f742488c8c7ed28980aa5429b15dc9c08d4bf2fe2f742101d6e98001d3170 SHA512 b2e3d490392690816d8a6388f50ce8022044b1d042519cdf770b0f50f0960d6671d1097ec594a66cc8db990fde4cc3964ee13ead8106e56d3e58578db24577e3
|
||||
DIST pandoc-3.7-linux-amd64.tar.gz 33669861 BLAKE2B 0e965da816ad3e4eadbeced12fcfce02ffba083651da62575c96bcf58f08fc3c481fc88047b9efe5c17ead56940b8fcd3ec82e746b2b8b827f5190277ef24439 SHA512 ca13dc3622f4d3e18c5199f247e7af968c3f9d35b667b60f35ed8f950e9ede5d58fa1870343746376e96f03e5d0b57c12ef2b626d58f48edefae5f085295e102
|
||||
DIST pandoc-3.7-linux-arm64.tar.gz 36555329 BLAKE2B a3b58d4f9d531ca13c88819ea0f9c335723245b396af4f93b39d9a0f96e433729e0b3b941500ee556e4e90c500015173d1b9b763706cfb1dc44f63b83ab0ae9e SHA512 b2f47cbe9db826017f55ebeae2fbfed38720d6fa1ff2497136b651f958580d142474a97c13bed084394bce4d34a47773526a4f54c5d5439cd21ada0c1c1c6254
|
||||
DIST pandoc-3.7.0.1-linux-amd64.tar.gz 33675488 BLAKE2B 0a840b9cbcbcefecdafa0ccab4178f59667ad7d38408647af8fa65d8a743b71b5c6ae527d8a6ea89171388a1e8813e7a0b31d58af2e4570957d6e484b5f125b5 SHA512 e4a65320f7cefcdbacc849602dae97f987eda8e2dfc585a55b26807820fcddd63497eb4b57380e5f748d763327691717cd5c5678961df9eed4421c07f28da776
|
||||
DIST pandoc-3.7.0.1-linux-arm64.tar.gz 36553069 BLAKE2B 29c349710e7be592c97ad2b6e734c5bf2f8a2252f3a690bda9fa3c122db5505df0f6fd3ba97210c07b32ea4a789fc31b8034e11ea6e474e05619d313bbb632bd SHA512 100195ff0051dde590a0f8830daa29bc0f8a45855beac639fee752bf3bee670ae4c0559a302cfa10714e43f71269462dd9c900eea8baf8355d1017aca753787a
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# 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