mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 16:38:01 +00:00
Result of running the command: grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
44 lines
868 B
Bash
44 lines
868 B
Bash
# Copyright 1999-2025 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
|
|
|
|
LICENSE="|| ( BSD LPPL-1.3 )"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
|
IUSE="doc"
|
|
|
|
RDEPEND="
|
|
dev-python/pygments
|
|
dev-texlive/texlive-latexextra
|
|
"
|
|
BDEPEND="
|
|
doc? (
|
|
dev-texlive/texlive-fontsextra
|
|
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
|
|
}
|