Gentoo Archives: gentoo-commits

From: Benda XU <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
Date: Mon, 10 Feb 2020 00:15:32
Message-Id: 1581293630.a5646b8ed7f4741c0bfa7512aef38d5e72392907.heroxbd@gentoo
1 commit: a5646b8ed7f4741c0bfa7512aef38d5e72392907
2 Author: Marcin Woźniak <y0rune <AT> aol <DOT> com>
3 AuthorDate: Sun Feb 9 12:26:48 2020 +0000
4 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 10 00:13:50 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a5646b8e
7
8 dev-tex/pythontex: bump to 0.17 and drop old.
9
10 Bump to EAPI=7.
11
12 Closes: https://github.com/gentoo/sci/pull/940
13 Closes: https://bugs.gentoo.org/708832
14
15 Package-Manager: Portage-2.3.85, Repoman-2.3.18
16
17 Signed-off-by: Marcin Woźniak <y0rune <AT> aol.com>
18 Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
19
20 dev-tex/pythontex/metadata.xml | 2 +-
21 dev-tex/pythontex/pythontex-0.14-r1.ebuild | 55 ----------------------
22 ...pythontex-0.15.ebuild => pythontex-0.17.ebuild} | 12 ++---
23 dev-tex/pythontex/pythontex-9999.ebuild | 12 ++---
24 4 files changed, 9 insertions(+), 72 deletions(-)
25
26 diff --git a/dev-tex/pythontex/metadata.xml b/dev-tex/pythontex/metadata.xml
27 index 02c7c504c..419fac610 100644
28 --- a/dev-tex/pythontex/metadata.xml
29 +++ b/dev-tex/pythontex/metadata.xml
30 @@ -6,7 +6,7 @@
31 <name>Gentoo Science Project</name>
32 </maintainer>
33 <use>
34 - <flag name="highlighting">PLEASE FIX MY DESCRIPTION</flag>
35 + <flag name="highlighting">enable code highlight</flag>
36 </use>
37 <upstream>
38 <remote-id type="github">gpoore/pythontex</remote-id>
39
40 diff --git a/dev-tex/pythontex/pythontex-0.14-r1.ebuild b/dev-tex/pythontex/pythontex-0.14-r1.ebuild
41 deleted file mode 100644
42 index 63645e881..000000000
43 --- a/dev-tex/pythontex/pythontex-0.14-r1.ebuild
44 +++ /dev/null
45 @@ -1,55 +0,0 @@
46 -# Copyright 1999-2015 Gentoo Foundation
47 -# Distributed under the terms of the GNU General Public License v2
48 -
49 -EAPI=5
50 -
51 -PYTHON_COMPAT=( python2_7 python3_{3,4} )
52 -
53 -inherit latex-package python-r1
54 -
55 -DESCRIPTION="Fast Access to Python from within LaTeX"
56 -HOMEPAGE="https://github.com/gpoore/pythontex"
57 -SRC_URI="https://github.com/gpoore/pythontex/archive/v${PV}.tar.gz -> ${P}.tar.gz"
58 -
59 -SLOT="0"
60 -LICENSE="LPPL-1.3 BSD"
61 -KEYWORDS="~amd64"
62 -IUSE="highlighting"
63 -
64 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
65 -
66 -DEPEND="${PYTHON_DEPS}
67 - dev-texlive/texlive-latex"
68 -RDEPEND="${DEPEND}
69 - dev-texlive/texlive-latex
70 - highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
71 -
72 -TEXMF=/usr/share/texmf-site
73 -
74 -src_compile() {
75 - cd ${PN} || die
76 - ebegin "Compiling ${PN}"
77 - rm ${PN}.sty || die
78 - VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die
79 - eend
80 -}
81 -
82 -src_install() {
83 - dodoc ${PN}/README "${S}"/*rst ${PN}_quickstart/*
84 -
85 - cd ${PN} || die
86 -
87 - installation() {
88 - if python_is_python3; then
89 - python_domodule {de,}${PN}3.py
90 - else
91 - python_domodule {de,}${PN}2.py
92 - fi
93 - python_domodule ${PN}_{engines,utils}.py
94 - python_doscript {de,}${PN}.py syncpdb.py
95 - python_optimize
96 - }
97 - python_foreach_impl installation
98 -
99 - latex-package_src_doinstall dtx ins sty
100 -}
101
102 diff --git a/dev-tex/pythontex/pythontex-0.15.ebuild b/dev-tex/pythontex/pythontex-0.17.ebuild
103 similarity index 83%
104 rename from dev-tex/pythontex/pythontex-0.15.ebuild
105 rename to dev-tex/pythontex/pythontex-0.17.ebuild
106 index 6526b9fc6..06e33d11a 100644
107 --- a/dev-tex/pythontex/pythontex-0.15.ebuild
108 +++ b/dev-tex/pythontex/pythontex-0.17.ebuild
109 @@ -1,9 +1,9 @@
110 -# Copyright 1999-2017 Gentoo Foundation
111 +# Copyright 1999-2020 Gentoo Foundation
112 # Distributed under the terms of the GNU General Public License v2
113
114 -EAPI=6
115 +EAPI=7
116
117 -PYTHON_COMPAT=( python2_7 python3_{4,5} )
118 +PYTHON_COMPAT=( python3_{6,7} )
119
120 inherit latex-package python-r1
121
122 @@ -40,11 +40,7 @@ src_install() {
123 cd ${PN} || die
124
125 installation() {
126 - if python_is_python3; then
127 - python_domodule {de,}${PN}3.py
128 - else
129 - python_domodule {de,}${PN}2.py
130 - fi
131 + python_domodule {de,}${PN}3.py
132 python_domodule ${PN}_{engines,utils}.py
133 python_doscript {de,}${PN}.py syncpdb.py
134 python_optimize
135
136 diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
137 index b5bc2fd02..9866a0fdb 100644
138 --- a/dev-tex/pythontex/pythontex-9999.ebuild
139 +++ b/dev-tex/pythontex/pythontex-9999.ebuild
140 @@ -1,9 +1,9 @@
141 -# Copyright 1999-2015 Gentoo Foundation
142 +# Copyright 1999-2020 Gentoo Foundation
143 # Distributed under the terms of the GNU General Public License v2
144
145 -EAPI=5
146 +EAPI=7
147
148 -PYTHON_COMPAT=( python2_7 python3_{3,4} )
149 +PYTHON_COMPAT=( python3_{6,7} )
150
151 inherit latex-package python-r1 git-r3
152
153 @@ -41,11 +41,7 @@ src_install() {
154 cd ${PN} || die
155
156 installation() {
157 - if python_is_python3; then
158 - python_domodule {de,}${PN}3.py
159 - else
160 - python_domodule {de,}${PN}2.py
161 - fi
162 + python_domodule {de,}${PN}3.py
163 python_domodule ${PN}_{engines,utils}.py
164 python_doscript {de,}${PN}.py syncpdb.py
165 python_optimize