summaryrefslogtreecommitdiff
path: root/dev-tex/minted
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-20 01:49:56 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-20 01:49:56 +0000
commit30be4d7d2806b014770312920fcda743d4dc67d0 (patch)
tree229c7337dfd56654c52009367273c078b016a25c /dev-tex/minted
parentf287ecad888abdeb38e617d0485de282cd6819db (diff)
gentoo auto-resync : 20:12:2022 - 01:49:56
Diffstat (limited to 'dev-tex/minted')
-rw-r--r--dev-tex/minted/Manifest3
-rw-r--r--dev-tex/minted/metadata.xml19
-rw-r--r--dev-tex/minted/minted-2.6.ebuild38
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-tex/minted/Manifest b/dev-tex/minted/Manifest
new file mode 100644
index 000000000000..367283d698f5
--- /dev/null
+++ b/dev-tex/minted/Manifest
@@ -0,0 +1,3 @@
+DIST minted-2.6.tar.gz 891134 BLAKE2B b8f1686adeb138c61c232502b10aa420f1054180c5a460e9e5058d40435e13d336c15a044202923bd1acd7b62a7b780d95c62cf1a589181c90b9058712479c43 SHA512 6fb28485fca7238053ad177ee5579c27740e72b8753c6dcaa59afe20bc97d7e81ec20d189e97522445b6435f17cef1f8326aaa41c154bf21f59519c9abf10485
+EBUILD minted-2.6.ebuild 715 BLAKE2B c22af6ae3aeee704829999a89fe76937296b0603cd20679602943d00969b4d057dd6b6559fc77f2ff62f6deea85cb2cb770a15ddfc61f5c1ba3e5617a4be11a7 SHA512 7c30a6d31868de5729671d26f57af62b8cce030e580fa36f155ae887827924a145005a005fc64634c580f5986266dcc2d61b6c1c5abfe7a38cc33727bd8096b4
+MISC metadata.xml 686 BLAKE2B ee2d79732e91314c8510becada8fccafb07e42908ee507f736b0e2e21a7c425a25651a36c6518b741797c4854640dc3389925d3f278cd3cc0bdc09a5cddcab2b SHA512 91d269ccde32922509dc72057a52f78bb4c86c7a5f8093fdc61d2e930c7cc81c35a9082ca8b4159bd34e35c87dd9307f3094ea8932eb14145d141c27672b1aaf
diff --git a/dev-tex/minted/metadata.xml b/dev-tex/minted/metadata.xml
new file mode 100644
index 000000000000..b7abb2929fd4
--- /dev/null
+++ b/dev-tex/minted/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <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.6.ebuild b/dev-tex/minted/minted-2.6.ebuild
new file mode 100644
index 000000000000..eb8f3b628aa0
--- /dev/null
+++ b/dev-tex/minted/minted-2.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 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 ~x86"
+IUSE="doc"
+
+RDEPEND="
+ dev-python/pygments
+ dev-texlive/texlive-latexextra
+"
+
+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
+}