Hello!

I'd like to introduce "pandoc" virtual package depending on pandoc-bin or pandoc.

Pandoc is a very helpful tool for converting between document formats, most commonly used to build a project documentation, but it depends on many Haskell libraries, and I believe not many users will want to install full pandoc to build given project's documentation.

Using the following command: "grep -R 'app-text/pandoc' --exclude-dir=.git --exclude-dir=metadata --exclude-dir=profiles | cut -d':' -f 1 | cut -d'/' -f 1-2 | sort | uniq" we can diagnose that following pkgs could benefit from it:
app-emacs/auto-complete
app-emacs/markdown-mode
app-emulation/xen-tools
app-text/nuspell
dev-haskell/hakyll
dev-haskell/pandoc-citeproc
dev-lang/lfe
dev-libs/pmdk
dev-python/ipython
dev-python/nbconvert
dev-python/pandas
media-sound/bluez-alsa
media-sound/pms
net-misc/mptcpd
sci-mathematics/rkward
sci-mathematics/rstudio
sys-apps/earlyoom
sys-apps/exa
sys-apps/ripgrep-all
www-apps/gitit
www-apps/hugo
x11-wm/xpra

Attached a initial patch.

Thoughts?

--
Have a great day!

~ Maciej XGQT Barć
diff --git a/virtual/pandoc/metadata.xml b/virtual/pandoc/metadata.xml
new file mode 100644
index 00000000000..2cb6a382723
--- /dev/null
+++ b/virtual/pandoc/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>x...@gentoo.org</email>
+    <name>Maciej Barć</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>hask...@gentoo.org</email>
+    <name>Gentoo Haskell</name>
+  </maintainer>
+  <stabilize-allarches />
+</pkgmetadata>
diff --git a/virtual/pandoc/pandoc-0.ebuild b/virtual/pandoc/pandoc-0.ebuild
new file mode 100644
index 00000000000..0cb4c6f84c6
--- /dev/null
+++ b/virtual/pandoc/pandoc-0.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Virtual for pandoc"
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND=""
+RDEPEND="|| ( app-text/pandoc-bin[pandoc-symlink] app-text/pandoc )"

Attachment: OpenPGP_0x14D74A1F43A6AC3C.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to