mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-19 00:09:37 +03:00
app-text/pandoc-bin: drop old 3.8.2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST pandoc-3.8.2-linux-amd64.tar.gz 34229290 BLAKE2B 29b79d114adcdfb34ce4550ca966e7cb3192a9efea73440825a5bdf4c8d33fa505a5005ee5ed0c54dc199a6f0f6354b7bcc021b04ce88a2493b693603236a988 SHA512 f5e90628b44a801ecdf812236291871607db8fb2fba0e99911a6c497b406c64a8940fd2a776d482ece7a9dac10d0228378d78da61091262b69e7276456495f5c
|
||||
DIST pandoc-3.8.2-linux-arm64.tar.gz 37157585 BLAKE2B 2e1da4cc0740aa294d8ec315d74bee17527d227b01280ebe26dd306d5a78b28eacce199b0af4934511081e97ac68148fe0f261f2df87fa79c146dbe5c752058d SHA512 437b406ae0c30e71a2b71a2cb31ee2857f57bb05c969c7ce380b21f081c4ae607de28fe5bf9d941c771aaa34f34c9d0b4a6ae1cbcf50d963b5d626f0d8de8460
|
||||
DIST pandoc-3.8.2.1-linux-amd64.tar.gz 34236950 BLAKE2B c8211a6fed3161dada21ea8dfe58aadb064bca6514c7aa3910c6c3d72f457439972a43ccdd4df0f898af9105b83c5373bc083c8b2b9f6bc004ebaed0b94a931c SHA512 b2b9147153878ad53fb904a95c764f15c123563f24441e3f1b712094e352205438ce4ee2d154da532ae40c3a055d35f5c456347575ffc7d687e18726651bac2e
|
||||
DIST pandoc-3.8.2.1-linux-arm64.tar.gz 37169916 BLAKE2B 00965b17e165183cebac7e4eed1c5c84ed67087471350e5ba7d119a46eebd75751dd302fd3d81491bb38d4c3d66a624e04e6429f6bb564f0669756a3fb737a7a SHA512 d82991de1dcb23f6985b26ef2f2118912044878d486460101c24fe27f5d7290139851d31a2ac3191cc633ef56ce0371cc95b805e6b899a74e8d610b56cd2c530
|
||||
|
||||
@@ -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