public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
Date: Mon, 10 Feb 2020 00:15:26 +0000 (UTC)	[thread overview]
Message-ID: <1581293630.a5646b8ed7f4741c0bfa7512aef38d5e72392907.heroxbd@gentoo> (raw)

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


             reply	other threads:[~2020-02-10  0:15 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-10  0:15 Benda XU [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-03-31  5:18 [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/ Horea Christian
2017-03-16 19:35 Justin Lecher
2015-12-08 14:52 Marius Brehler
2015-12-08 14:52 Marius Brehler
2015-06-24  9:51 Justin Lecher
2015-05-12 11:18 Justin Lecher
2015-03-09 14:04 Justin Lecher
2014-01-06 19:27 Justin Lecher
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1581293630.a5646b8ed7f4741c0bfa7512aef38d5e72392907.heroxbd@gentoo \
    --to=heroxbd@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox