From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 96306138350 for ; Sun, 19 Jan 2020 14:25:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69F05E08D0; Sun, 19 Jan 2020 14:25:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4CF54E08D0 for ; Sun, 19 Jan 2020 14:25:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E8AD534E25C for ; Sun, 19 Jan 2020 14:25:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A58D37E for ; Sun, 19 Jan 2020 14:25:22 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1579443905.5399484cc912bccd2810a149f1fbdfb73c7caaf6.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/pythontex/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tex/pythontex/pythontex-0.16.ebuild X-VCS-Directories: dev-tex/pythontex/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 5399484cc912bccd2810a149f1fbdfb73c7caaf6 X-VCS-Branch: master Date: Sun, 19 Jan 2020 14:25:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 95637509-bcec-40a9-adb8-e587d4715e17 X-Archives-Hash: 46ccc0814e48546a92bb083059b83d7f commit: 5399484cc912bccd2810a149f1fbdfb73c7caaf6 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Jan 19 14:25:05 2020 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Sun Jan 19 14:25:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5399484c dev-tex/pythontex: port to EAPI=7 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> dev-tex/pythontex/pythontex-0.16.ebuild | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/dev-tex/pythontex/pythontex-0.16.ebuild b/dev-tex/pythontex/pythontex-0.16.ebuild index af900b7b225..267d1e51096 100644 --- a/dev-tex/pythontex/pythontex-0.16.ebuild +++ b/dev-tex/pythontex/pythontex-0.16.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7} ) inherit latex-package python-r1 @@ -28,10 +28,8 @@ TEXMF=/usr/share/texmf-site src_compile() { cd ${PN} || die - ebegin "Compiling ${PN}" rm ${PN}.sty || die VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die - eend } src_install() { @@ -40,11 +38,7 @@ src_install() { cd ${PN} || die installation() { - if python_is_python3; then - python_domodule {de,}${PN}3.py - else - python_domodule {de,}${PN}2.py - fi + python_domodule {de,}${PN}3.py python_domodule ${PN}_{engines,utils}.py python_doscript {de,}${PN}.py syncpdb.py python_optimize