diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-12-19 21:56:55 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-12-19 23:28:16 +0100 |
commit | a199e5fd8db459cafbae0fd4ca5e542440e46c8b (patch) | |
tree | 931377768fcaf73fc57d7bbce48931e8a367f8a7 /dev-tex | |
parent | dev-libs/teakra: remove -Werror (diff) | |
download | gentoo-a199e5fd8db459cafbae0fd4ca5e542440e46c8b.tar.gz gentoo-a199e5fd8db459cafbae0fd4ca5e542440e46c8b.tar.bz2 gentoo-a199e5fd8db459cafbae0fd4ca5e542440e46c8b.zip |
dev-tex/minted: bring back treecleaned package; add 2.6
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/minted/Manifest | 1 | ||||
-rw-r--r-- | dev-tex/minted/metadata.xml | 19 | ||||
-rw-r--r-- | dev-tex/minted/minted-2.6.ebuild | 38 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-tex/minted/Manifest b/dev-tex/minted/Manifest new file mode 100644 index 000000000000..737391ff8b6a --- /dev/null +++ b/dev-tex/minted/Manifest @@ -0,0 +1 @@ +DIST minted-2.6.tar.gz 891134 BLAKE2B b8f1686adeb138c61c232502b10aa420f1054180c5a460e9e5058d40435e13d336c15a044202923bd1acd7b62a7b780d95c62cf1a589181c90b9058712479c43 SHA512 6fb28485fca7238053ad177ee5579c27740e72b8753c6dcaa59afe20bc97d7e81ec20d189e97522445b6435f17cef1f8326aaa41c154bf21f59519c9abf10485 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 +} |