1 |
commit: 5399484cc912bccd2810a149f1fbdfb73c7caaf6 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 19 14:25:05 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 19 14:25:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5399484c |
7 |
|
8 |
dev-tex/pythontex: port to EAPI=7 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
dev-tex/pythontex/pythontex-0.16.ebuild | 12 +++--------- |
14 |
1 file changed, 3 insertions(+), 9 deletions(-) |
15 |
|
16 |
diff --git a/dev-tex/pythontex/pythontex-0.16.ebuild b/dev-tex/pythontex/pythontex-0.16.ebuild |
17 |
index af900b7b225..267d1e51096 100644 |
18 |
--- a/dev-tex/pythontex/pythontex-0.16.ebuild |
19 |
+++ b/dev-tex/pythontex/pythontex-0.16.ebuild |
20 |
@@ -1,9 +1,9 @@ |
21 |
# Copyright 1999-2020 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=6 |
25 |
+EAPI=7 |
26 |
|
27 |
-PYTHON_COMPAT=( python2_7 python3_{6,7} ) |
28 |
+PYTHON_COMPAT=( python3_{6,7} ) |
29 |
|
30 |
inherit latex-package python-r1 |
31 |
|
32 |
@@ -28,10 +28,8 @@ TEXMF=/usr/share/texmf-site |
33 |
|
34 |
src_compile() { |
35 |
cd ${PN} || die |
36 |
- ebegin "Compiling ${PN}" |
37 |
rm ${PN}.sty || die |
38 |
VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die |
39 |
- eend |
40 |
} |
41 |
|
42 |
src_install() { |
43 |
@@ -40,11 +38,7 @@ src_install() { |
44 |
cd ${PN} || die |
45 |
|
46 |
installation() { |
47 |
- if python_is_python3; then |
48 |
- python_domodule {de,}${PN}3.py |
49 |
- else |
50 |
- python_domodule {de,}${PN}2.py |
51 |
- fi |
52 |
+ python_domodule {de,}${PN}3.py |
53 |
python_domodule ${PN}_{engines,utils}.py |
54 |
python_doscript {de,}${PN}.py syncpdb.py |
55 |
python_optimize |