summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-03-01 10:58:46 +0100
committerFlorian Schmaus <flow@gentoo.org>2024-03-01 11:05:33 +0100
commit5579919a98cbca0f1ba7a8eacf14214fd79c24dc (patch)
treee8ccf65ddfd5b268b35ddb81e09414f958062782 /dev-tex
parentdev-tex/tex4ht: add 20230311_p69739 (diff)
downloadgentoo-5579919a98cbca0f1ba7a8eacf14214fd79c24dc.tar.gz
gentoo-5579919a98cbca0f1ba7a8eacf14214fd79c24dc.tar.bz2
gentoo-5579919a98cbca0f1ba7a8eacf14214fd79c24dc.zip
dev-tex/minted: add 2.9
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/minted/Manifest1
-rw-r--r--dev-tex/minted/minted-2.9.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-tex/minted/Manifest b/dev-tex/minted/Manifest
index 737391ff8b6a..3bb9b6c6ab6a 100644
--- a/dev-tex/minted/Manifest
+++ b/dev-tex/minted/Manifest
@@ -1 +1,2 @@
DIST minted-2.6.tar.gz 891134 BLAKE2B b8f1686adeb138c61c232502b10aa420f1054180c5a460e9e5058d40435e13d336c15a044202923bd1acd7b62a7b780d95c62cf1a589181c90b9058712479c43 SHA512 6fb28485fca7238053ad177ee5579c27740e72b8753c6dcaa59afe20bc97d7e81ec20d189e97522445b6435f17cef1f8326aaa41c154bf21f59519c9abf10485
+DIST minted-2.9.tar.gz 923928 BLAKE2B e4a9dc6194c8f03ce09d02cbab81f3aca473240ad6f84d6d39d7af62dc6111c50bdf2011ce1174d8bf998e93fab2706d7394423ee0a5486e92d62b592dca37ff SHA512 55b2d9800c752e47c98045baae0e68c3d5003f9154ec58d10922f1087cabb1305fbda9a3d45e330a8de982de1c94e58cbd1d3878f7f0cc8f5830080688e35377
diff --git a/dev-tex/minted/minted-2.9.ebuild b/dev-tex/minted/minted-2.9.ebuild
new file mode 100644
index 000000000000..52308c304938
--- /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
+}