From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1144562-garchives=archives.gentoo.org@lists.gentoo.org>
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 9E9B4138350
	for <garchives@archives.gentoo.org>; Mon, 10 Feb 2020 00:15:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D23AAE087E;
	Mon, 10 Feb 2020 00:15:31 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 149B9E087E
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Feb 2020 00:15:31 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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 377A234E953
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Feb 2020 00:15:29 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C78A116
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Feb 2020 00:15:26 +0000 (UTC)
From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" <heroxbd@gentoo.org>
Message-ID: <1581293630.a5646b8ed7f4741c0bfa7512aef38d5e72392907.heroxbd@gentoo>
Subject: [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
X-VCS-Repository: proj/sci
X-VCS-Files: dev-tex/pythontex/metadata.xml dev-tex/pythontex/pythontex-0.14-r1.ebuild dev-tex/pythontex/pythontex-0.15.ebuild dev-tex/pythontex/pythontex-0.17.ebuild dev-tex/pythontex/pythontex-9999.ebuild
X-VCS-Directories: dev-tex/pythontex/
X-VCS-Committer: heroxbd
X-VCS-Committer-Name: Benda XU
X-VCS-Revision: a5646b8ed7f4741c0bfa7512aef38d5e72392907
X-VCS-Branch: master
Date: Mon, 10 Feb 2020 00:15:26 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 406f7d40-8c1b-4e6d-af96-c7ecd28a040d
X-Archives-Hash: 2bf09708d0f711729451852d3751cc79

commit:     a5646b8ed7f4741c0bfa7512aef38d5e72392907
Author:     Marcin Woźniak <y0rune <AT> aol <DOT> com>
AuthorDate: Sun Feb  9 12:26:48 2020 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 00:13:50 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a5646b8e

dev-tex/pythontex: bump to 0.17 and drop old.

  Bump to EAPI=7.

Closes: https://github.com/gentoo/sci/pull/940
Closes: https://bugs.gentoo.org/708832

Package-Manager: Portage-2.3.85, Repoman-2.3.18

Signed-off-by: Marcin Woźniak <y0rune <AT> aol.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-tex/pythontex/metadata.xml                     |  2 +-
 dev-tex/pythontex/pythontex-0.14-r1.ebuild         | 55 ----------------------
 ...pythontex-0.15.ebuild => pythontex-0.17.ebuild} | 12 ++---
 dev-tex/pythontex/pythontex-9999.ebuild            | 12 ++---
 4 files changed, 9 insertions(+), 72 deletions(-)

diff --git a/dev-tex/pythontex/metadata.xml b/dev-tex/pythontex/metadata.xml
index 02c7c504c..419fac610 100644
--- a/dev-tex/pythontex/metadata.xml
+++ b/dev-tex/pythontex/metadata.xml
@@ -6,7 +6,7 @@
 		<name>Gentoo Science Project</name>
 	</maintainer>
 	<use>
-		<flag name="highlighting">PLEASE FIX MY DESCRIPTION</flag>
+		<flag name="highlighting">enable code highlight</flag>
 	</use>
 	<upstream>
 		<remote-id type="github">gpoore/pythontex</remote-id>

diff --git a/dev-tex/pythontex/pythontex-0.14-r1.ebuild b/dev-tex/pythontex/pythontex-0.14-r1.ebuild
deleted file mode 100644
index 63645e881..000000000
--- a/dev-tex/pythontex/pythontex-0.14-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
-
-inherit latex-package python-r1
-
-DESCRIPTION="Fast Access to Python from within LaTeX"
-HOMEPAGE="https://github.com/gpoore/pythontex"
-SRC_URI="https://github.com/gpoore/pythontex/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="LPPL-1.3 BSD"
-KEYWORDS="~amd64"
-IUSE="highlighting"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
-	dev-texlive/texlive-latex"
-RDEPEND="${DEPEND}
-	dev-texlive/texlive-latex
-	highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
-
-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() {
-	dodoc ${PN}/README "${S}"/*rst ${PN}_quickstart/*
-
-	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 ${PN}_{engines,utils}.py
-		python_doscript {de,}${PN}.py syncpdb.py
-		python_optimize
-	}
-	python_foreach_impl installation
-
-	latex-package_src_doinstall dtx ins sty
-}

diff --git a/dev-tex/pythontex/pythontex-0.15.ebuild b/dev-tex/pythontex/pythontex-0.17.ebuild
similarity index 83%
rename from dev-tex/pythontex/pythontex-0.15.ebuild
rename to dev-tex/pythontex/pythontex-0.17.ebuild
index 6526b9fc6..06e33d11a 100644
--- a/dev-tex/pythontex/pythontex-0.15.ebuild
+++ b/dev-tex/pythontex/pythontex-0.17.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit latex-package python-r1
 
@@ -40,11 +40,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

diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index b5bc2fd02..9866a0fdb 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit latex-package python-r1 git-r3
 
@@ -41,11 +41,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