diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-07-07 19:32:30 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-07-07 19:32:30 +0200 |
commit | 84e937bf8cc304449b196a383387720f018fa8be (patch) | |
tree | 795e719f7fed471cd8b3a154c0bfb4ea1c4abd0b /app-text/pandoc-bin | |
parent | dev-python/sqlalchemy: Bump to 1.4.49 (diff) | |
download | gentoo-84e937bf8cc304449b196a383387720f018fa8be.tar.gz gentoo-84e937bf8cc304449b196a383387720f018fa8be.tar.bz2 gentoo-84e937bf8cc304449b196a383387720f018fa8be.zip |
app-text/pandoc-bin: bump to 3.1.5
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-text/pandoc-bin')
-rw-r--r-- | app-text/pandoc-bin/Manifest | 2 | ||||
-rw-r--r-- | app-text/pandoc-bin/pandoc-bin-3.1.5.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest index dd7aef19fd06..2e6ed1cd6eec 100644 --- a/app-text/pandoc-bin/Manifest +++ b/app-text/pandoc-bin/Manifest @@ -4,3 +4,5 @@ DIST pandoc-3.1.3-linux-amd64.tar.gz 28685814 BLAKE2B ecbc685d45ced12f69223ceff4 DIST pandoc-3.1.3-linux-arm64.tar.gz 30811766 BLAKE2B 5d5807ea6de49fe87b31f51754d70f781fbd27111980bb14eaafd985a53f7e4fa1c7c0dd66d041184194d5b6a74a429e78b8a0913532645d29b47dbc82e154fb SHA512 6bb8b658e2ea3c96e5781754618104086268dbad45bd95ed7474842993c57cbd18ef1bb909556a1aef118589624d431b17454cd76e8b44dbe441e463e6332a1b DIST pandoc-3.1.4-linux-amd64.tar.gz 28628391 BLAKE2B b929d7c1f37f0630a816e07cf0b67a35dd474bfe55626c1ea3c4acefa61a4a7fe335cc1913c01ca3fd45fa1469f957ad671b08fc7e0bd1d4ca6404fe3817f1dc SHA512 f59b66bae4b365ef1291ca979e47ee3955d017112b645da0b7b70dfc84cfc32d29ceb948e6ddd2f16a847867df661b69d1e0f0058259d53613a0ee5b61f312d9 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 diff --git a/app-text/pandoc-bin/pandoc-bin-3.1.5.ebuild b/app-text/pandoc-bin/pandoc-bin-3.1.5.ebuild new file mode 100644 index 000000000000..f5289c741e6a --- /dev/null +++ b/app-text/pandoc-bin/pandoc-bin-3.1.5.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 +} |