Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/pythontex/
Date: Wed, 19 Feb 2020 13:50:32
Message-Id: 1582120194.765f83ef451a27b168bea63b0c6a1ad57def6668.grozin@gentoo
1 commit: 765f83ef451a27b168bea63b0c6a1ad57def6668
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 19 13:49:54 2020 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 19 13:49:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=765f83ef
7
8 dev-tex/pythontex: bump to 0.17
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
12
13 dev-tex/pythontex/Manifest | 1 +
14 dev-tex/pythontex/pythontex-0.17.ebuild | 49 +++++++++++++++++++++++++++++++++
15 2 files changed, 50 insertions(+)
16
17 diff --git a/dev-tex/pythontex/Manifest b/dev-tex/pythontex/Manifest
18 index 8a3280e789d..42092217ab3 100644
19 --- a/dev-tex/pythontex/Manifest
20 +++ b/dev-tex/pythontex/Manifest
21 @@ -1 +1,2 @@
22 DIST pythontex-0.16.tar.gz 1787147 BLAKE2B b7b765fdf681f6a757d5dc14437ae433f8310d18ad9e2efe95a8853eaf9f53e2925d7f9e45e0393eb2720019270187fb400e7a6754f18015c4ce5db8a9280729 SHA512 9a84fd7b7f568308addf9ba01c46fadfaface54b9d484c766831f1048064288fd1ecb5c56774bb0041d8f5705f8d5f8a9cd7258dc33157467eca7b3c70259183
23 +DIST pythontex-0.17.tar.gz 1800631 BLAKE2B 5c4ab31ccd890ca708142e83d047a46d704d2eaead611521a9f272f7a63cfb4016b991741c0338b1874d8cd2949c83b9c5ab59c3004e26540c171666a4f05e63 SHA512 ac248579f8645c225839ca9698b6193d2a7d8360a50e9a8406fae5616f54418a173635d1c2e8c47b18e85cdd1fa1e81c9435169c44f06fb19505c280f9bbaee5
24
25 diff --git a/dev-tex/pythontex/pythontex-0.17.ebuild b/dev-tex/pythontex/pythontex-0.17.ebuild
26 new file mode 100644
27 index 00000000000..267d1e51096
28 --- /dev/null
29 +++ b/dev-tex/pythontex/pythontex-0.17.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6,7} )
37 +
38 +inherit latex-package python-r1
39 +
40 +DESCRIPTION="Fast Access to Python from within LaTeX"
41 +HOMEPAGE="https://github.com/gpoore/pythontex"
42 +SRC_URI="https://github.com/gpoore/pythontex/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +SLOT="0"
45 +LICENSE="LPPL-1.3 BSD"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="highlighting"
48 +
49 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 +
51 +DEPEND="${PYTHON_DEPS}
52 + >=dev-texlive/texlive-latexextra-2016
53 + dev-tex/pgf"
54 +RDEPEND="${DEPEND}
55 + dev-python/pygments[${PYTHON_USEDEP}]"
56 +
57 +TEXMF=/usr/share/texmf-site
58 +
59 +src_compile() {
60 + cd ${PN} || die
61 + rm ${PN}.sty || die
62 + VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die
63 +}
64 +
65 +src_install() {
66 + dodoc ${PN}/README "${S}"/*rst ${PN}_quickstart/*
67 +
68 + cd ${PN} || die
69 +
70 + installation() {
71 + python_domodule {de,}${PN}3.py
72 + python_domodule ${PN}_{engines,utils}.py
73 + python_doscript {de,}${PN}.py syncpdb.py
74 + python_optimize
75 + }
76 + python_foreach_impl installation
77 +
78 + latex-package_src_doinstall dtx ins sty
79 +}