diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-07-22 00:12:59 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-07-22 15:09:40 +0200 |
commit | 46176dcb85ae093c60eb58973f48596eb1c0e0fc (patch) | |
tree | 0b943b3c026c98b6fd2b17c06653cba377b3a98d /app-text | |
parent | dev-python/ijson: Bump to 3.2.3 (diff) | |
download | gentoo-46176dcb85ae093c60eb58973f48596eb1c0e0fc.tar.gz gentoo-46176dcb85ae093c60eb58973f48596eb1c0e0fc.tar.bz2 gentoo-46176dcb85ae093c60eb58973f48596eb1c0e0fc.zip |
app-text/pandoc-bin: bump to 3.1.6
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/pandoc-bin/Manifest | 2 | ||||
-rw-r--r-- | app-text/pandoc-bin/pandoc-bin-3.1.6.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest index e57adbabbff6..a255a3c4b534 100644 --- a/app-text/pandoc-bin/Manifest +++ b/app-text/pandoc-bin/Manifest @@ -6,3 +6,5 @@ DIST pandoc-3.1.4-linux-amd64.tar.gz 28628391 BLAKE2B b929d7c1f37f0630a816e07cf0 DIST pandoc-3.1.4-linux-arm64.tar.gz 30740344 BLAKE2B d0504eb6e530d91d223fcd5b578651ba4be74141c7cc4f2616a2a56dbdd73deafd8997a2eb0d0d4b7b75591219cbd194d3412e7c7f60bd6dfd1b97614e6d40bf SHA512 0e63ed951ae1032c2ee29b36f2df5b2edba10d9993bccc2baacc378f82201f5afc38cfc5ffce234b5a8dcaac51ece1967c76a7ae30af0286c8083f0aa8b1573a DIST pandoc-3.1.5-linux-amd64.tar.gz 31034735 BLAKE2B c2704142f90a95c8bfe045ba1a6d7ce29c7e0f3c755a2fa85a694ce01d05f97814e0ccec70cc7da17c57fcb4124bc10afc4d06d40437eec08d984350d74cdae0 SHA512 97454c530e7fa95bc4cda90ff803422850d620c7f6452be855b9198fc71832ef2531f2350044b110b36804f745ca90c44ffb4f2013bee78fdc935f810b55ed41 DIST pandoc-3.1.5-linux-arm64.tar.gz 33687622 BLAKE2B 8021c04ba2a3b71db6b758a21e7dcc2708a2db871fd6604fdf9e2f89619f6141913b4a0bf267e775646a4a0d23308f64487bffe632f75bee53f02110b91e10a8 SHA512 ca64066d438076571979af998e19c89295e7d297a3c5365aaefbd4665e20a6ea1f19a1d8a320b2bc98fb0511a43570fbe3850bcbb13c3b3b054e3c13bd9d0142 +DIST pandoc-3.1.6-linux-amd64.tar.gz 19664028 BLAKE2B be9dc7651001bd4f59639cd6a8a809f57b0a58e52259c568a1044808269002bb930fc76661b7da4ac5a8617181ad57818b04ebecce49da6626b6eb579822199f SHA512 202ba9dee38c0c074584513064dbb4f44165342751fa4295b3a19dcba5e37c77f3eec89bc77bbecb0b9797103af2ca1fd22a60ae9b4115657e24258a05bad2fa +DIST pandoc-3.1.6-linux-arm64.tar.gz 21780669 BLAKE2B a3715890a8139f8631f8c7c7170d10e262f044e70b1383317fab063cf9dba2455090c30913617d93710e0054f0133afbec5980abd36b6c729c6b99bd7375521e SHA512 615a403070aae7722e2b939a940602ce01f37cd00f6621925b59939fe7ceae73031ac23ee94bcb1e6f6ab12a2b570b81cf5baa55808d503677511f238e30f880 diff --git a/app-text/pandoc-bin/pandoc-bin-3.1.6.ebuild b/app-text/pandoc-bin/pandoc-bin-3.1.6.ebuild new file mode 100644 index 000000000000..f5289c741e6a --- /dev/null +++ b/app-text/pandoc-bin/pandoc-bin-3.1.6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 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} )" + +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 +} |