commit:     2a2b35895e8f6d5b72ed38e446ecdf8c02673c7b
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 07:48:20 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 01:20:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a2b3589

app-text/pandoc: Add metapackage to ease transition to pandoc-cli

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/pandoc/pandoc-3.ebuild | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/app-text/pandoc/pandoc-3.ebuild b/app-text/pandoc/pandoc-3.ebuild
new file mode 100644
index 000000000000..ac0df9c34129
--- /dev/null
+++ b/app-text/pandoc/pandoc-3.ebuild
@@ -0,0 +1,20 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Metapackage for pandoc version 3"
+HOMEPAGE="https://pandoc.org/";
+
+LICENSE="metapackage"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="app-text/pandoc-cli"
+
+pkg_postinst() {
+       elog "The pandoc CLI executable has been split off upstream into a new"
+       elog "package named pandoc-cli, starting with pandoc version 3."
+       elog "This metapackage ${CATEGORY}/${P} was created to ease upgrading,"
+       elog "but it is recommended to switch to ${CATEGORY}/pandoc-cli."
+}

Reply via email to