summaryrefslogtreecommitdiff
path: root/dev-tex/minted
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-30 02:06:22 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-30 02:06:22 +0000
commit080d89feff80cae2fc974ff2f24d463141c20635 (patch)
tree53d0a66fabd88f847940192be8163c5f3291d434 /dev-tex/minted
parent2a3c08f4647671d17f534a5dbd8bd45e11c90ea2 (diff)
gentoo auto-resync : 30:11:2024 - 02:06:22
Diffstat (limited to 'dev-tex/minted')
-rw-r--r--dev-tex/minted/Manifest3
-rw-r--r--dev-tex/minted/minted-3.4.0.ebuild77
2 files changed, 80 insertions, 0 deletions
diff --git a/dev-tex/minted/Manifest b/dev-tex/minted/Manifest
index db4e8844e140..002a5c536890 100644
--- a/dev-tex/minted/Manifest
+++ b/dev-tex/minted/Manifest
@@ -1,5 +1,8 @@
DIST minted-2.6.tar.gz 891134 BLAKE2B b8f1686adeb138c61c232502b10aa420f1054180c5a460e9e5058d40435e13d336c15a044202923bd1acd7b62a7b780d95c62cf1a589181c90b9058712479c43 SHA512 6fb28485fca7238053ad177ee5579c27740e72b8753c6dcaa59afe20bc97d7e81ec20d189e97522445b6435f17cef1f8326aaa41c154bf21f59519c9abf10485
DIST minted-2.9.tar.gz 923928 BLAKE2B e4a9dc6194c8f03ce09d02cbab81f3aca473240ad6f84d6d39d7af62dc6111c50bdf2011ce1174d8bf998e93fab2706d7394423ee0a5486e92d62b592dca37ff SHA512 55b2d9800c752e47c98045baae0e68c3d5003f9154ec58d10922f1087cabb1305fbda9a3d45e330a8de982de1c94e58cbd1d3878f7f0cc8f5830080688e35377
+DIST minted-3.4.0-explicitly-set-build-backend.patch 1196 BLAKE2B cfa83f1175d7b4334e65c964684ee1443f22ab5cd5892d502b0902c806cab3b74a4867367639804f96173a96b617ac11f234f803625aef7e8f4e117f815bf411 SHA512 94e36346bed7dc672c2286bc57096473f67d09ab2295e9c4356cbd948b64a490ec162eff68b46053009ead82c5b3d133ea3b4ff83ec8f5fec71ebbdb728841fd
+DIST minted-3.4.0.tar.gz 629289 BLAKE2B cc4e4f7d55e2844e6aaa91c7d1b8410770a02f0def612befe46f961288e65c7650743d856738baa0f3a8e1574a270e89baf9c6ddabb34d203d82c288aad662b4 SHA512 9f95a8d96dd7813342ff6a336a192d675c47649d18c05916d104e934ed324e5b8b51c024fb2d362695d745da624d9f77c2878227d9e80306fb69ea45b301ecc1
EBUILD minted-2.6.ebuild 783 BLAKE2B df9c2158c22709881addc27f6f58385534724133eeb80e52ac05879ee397ef68bec47bd123c29b34b6700e6ed01efb693959c69ca622ef53984ed5dcf779b1ee SHA512 5e7bc37a129f23a9ccf41b75cfea0b4eeaf5115db2d9cca0b5a77f2a94b044d942a6a558a67084a60f6ea65a40d5fc2a04f7593166d924addf0e4cd4593a6832
EBUILD minted-2.9.ebuild 866 BLAKE2B 86b46e45f81f80e0e2e3d285beeddce53f369701391800696edc3caaf647c97686475ebda332a1ccc6c9d6ff2fef89d584abba130aa38cef84b14d5ec0c17a1a SHA512 ed1baafd043dc1b42bcb79ef84f531804d5d3010f0def89ea07793d5fb1fa4dcc548770e405dcc81667e687ccfec4734b55a79a603ea648f9994c88690760373
+EBUILD minted-3.4.0.ebuild 1632 BLAKE2B 1c235f6691bcb34628b7a0ef64c69a4d96799fcc6cc87fcd8b7179fe5bb608e3dfd720ef9bcb96def59b6ceb0dfa659886d8c67f901186162e7234d38d22e5b2 SHA512 b9030768741be31a9159bbe144fb02c317d09c84030c01630965ca5f69662e1d2ca587766289c52a0379bae28bd37dac6ce87f94f27ad6fe2be99e8366be7b97
MISC metadata.xml 802 BLAKE2B d7aa6ff0dc374e0d6d5c4c4cb0d666c4d2abd892279384887db6bbba236d1fb240cca8ec99f467623b9076457ce342f16bbf9d7b76f7ef0a3d2b0e15f527954e SHA512 96341d91bf773acee0938f92cd0f897a1c18bb3eaddbe395ad58ce0054a1999ec60da07aee15e6b956a8adc29347c5323a2ae57b4cab71cf4499270773776448
diff --git a/dev-tex/minted/minted-3.4.0.ebuild b/dev-tex/minted/minted-3.4.0.ebuild
new file mode 100644
index 000000000000..791efc6c8be5
--- /dev/null
+++ b/dev-tex/minted/minted-3.4.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 latex-package
+
+DESCRIPTION="LaTeX package for source code syntax highlighting"
+HOMEPAGE="https://github.com/gpoore/minted/"
+SRC_URI="
+ https://github.com/gpoore/${PN}/archive/refs/tags/latex/v${PV}.tar.gz
+ -> ${P}.tar.gz
+ https://github.com/gpoore/minted/commit/45ccea404689680513be3b78d2c0579f6250f963.patch
+ -> ${PN}-3.4.0-explicitly-set-build-backend.patch
+"
+
+S="${WORKDIR}"/${PN}-latex-v${PV}
+
+LICENSE="|| ( BSD LPPL-1.3 )"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="doc"
+
+RDEPEND="
+ >=dev-python/latexrestricted-0.6.0
+ >=dev-python/pygments-2.17.0
+ >=dev-tex/latex2pydata-0.4.0
+ dev-texlive/texlive-latexextra
+"
+BDEPEND="doc? ( dev-texlive/texlive-fontsextra )"
+
+PATCHES=(
+ "${DISTDIR}"/${PN}-3.4.0-explicitly-set-build-backend.patch
+)
+
+src_prepare() {
+ default
+
+ rm latex/minted/${PN}.pdf || die
+}
+
+src_compile() {
+ pushd python &> /dev/null || die
+ distutils-r1_src_compile
+ popd &> /dev/null || die
+
+ pushd latex/minted &> /dev/null || die
+ latex-package_src_compile
+ popd &> /dev/null || die
+}
+
+src_install() {
+ dodoc README.md
+
+ pushd python &> /dev/null || die
+ docinto python
+ dodoc *.md
+ distutils-r1_src_install
+ popd &> /dev/null || die
+
+ pushd latex &> /dev/null || die
+ docinto latex
+ dodoc *.md
+ popd &> /dev/null || die
+
+ pushd latex/minted &> /dev/null || die
+ local -x LATEX_DOC_ARGUMENTS="-shell-escape"
+ latex-package_src_install
+ if use doc; then
+ latex-package_src_doinstall pdf
+ fi
+ popd &> /dev/null || die
+}