public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/tex-overlay:main commit in: dev-tex/minted/
@ 2024-02-11 10:15 Florian Schmaus
  0 siblings, 0 replies; only message in thread
From: Florian Schmaus @ 2024-02-11 10:15 UTC (permalink / raw
  To: gentoo-commits

commit:     f1aafdadf059b1a69318306ba7ad27441d13c9e2
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 11 09:55:53 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Feb 11 10:13:22 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=f1aafdad

dev-tex/minted: new package, add 2.9

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-tex/minted/Manifest          |  1 +
 dev-tex/minted/metadata.xml      | 23 +++++++++++++++++++++++
 dev-tex/minted/minted-2.9.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 63 insertions(+)

diff --git a/dev-tex/minted/Manifest b/dev-tex/minted/Manifest
new file mode 100644
index 0000000..26255c4
--- /dev/null
+++ b/dev-tex/minted/Manifest
@@ -0,0 +1 @@
+DIST minted-2.9.tar.gz 923928 BLAKE2B e4a9dc6194c8f03ce09d02cbab81f3aca473240ad6f84d6d39d7af62dc6111c50bdf2011ce1174d8bf998e93fab2706d7394423ee0a5486e92d62b592dca37ff SHA512 55b2d9800c752e47c98045baae0e68c3d5003f9154ec58d10922f1087cabb1305fbda9a3d45e330a8de982de1c94e58cbd1d3878f7f0cc8f5830080688e35377

diff --git a/dev-tex/minted/metadata.xml b/dev-tex/minted/metadata.xml
new file mode 100644
index 0000000..b60806a
--- /dev/null
+++ b/dev-tex/minted/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>tex@gentoo.org</email>
+    <name>Gentoo TeX Project</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>sci@gentoo.org</email>
+    <name>Gentoo Science Project</name>
+  </maintainer>
+  <longdescription>
+    minted is a LaTeX package that facilitates expressive syntax highlighting
+    using the Pygments library. The package also provides options to customize
+    the highlighted source code output using fancyvrb.
+  </longdescription>
+  <stabilize-allarches />
+  <upstream>
+    <bugs-to>https://github.com/gpoore/minted/issues/</bugs-to>
+    <remote-id type="github">gpoore/minted</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-tex/minted/minted-2.9.ebuild b/dev-tex/minted/minted-2.9.ebuild
new file mode 100644
index 0000000..52308c3
--- /dev/null
+++ b/dev-tex/minted/minted-2.9.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit latex-package
+
+DESCRIPTION="LaTeX package for source code syntax highlighting"
+HOMEPAGE="https://github.com/gpoore/minted/"
+SRC_URI="https://github.com/gpoore/${PN}/archive/v${PV}.tar.gz
+	-> ${P}.tar.gz"
+S="${WORKDIR}"/${P}/source
+
+SLOT="0"
+LICENSE="|| ( BSD LPPL-1.3 )"
+KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86"
+IUSE="doc"
+
+RDEPEND="
+	dev-python/pygments
+	dev-texlive/texlive-latexextra
+"
+BDEPEND="doc? ( dev-texlive/texlive-fontsextra )"
+
+DOCS=( ../CHANGES.md ../README.md )
+
+src_prepare() {
+	default
+
+	rm "${S}"/${PN}.pdf || die
+}
+
+src_install() {
+	LATEX_DOC_ARGUMENTS="-shell-escape"
+
+	latex-package_src_install
+
+	use doc && latex-package_src_doinstall pdf
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-11 10:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-11 10:15 [gentoo-commits] proj/tex-overlay:main commit in: dev-tex/minted/ Florian Schmaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox