aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Woźniak <y0rune@aol.com>2020-02-09 13:26:48 +0100
committerBenda Xu <heroxbd@gentoo.org>2020-02-10 08:13:50 +0800
commita5646b8ed7f4741c0bfa7512aef38d5e72392907 (patch)
treeb4be588e91267b5387d01b7a5757665eef1fb55f
parentsci-mathematics/mdp: remove from tree. (diff)
downloadsci-a5646b8ed7f4741c0bfa7512aef38d5e72392907.tar.gz
sci-a5646b8ed7f4741c0bfa7512aef38d5e72392907.tar.bz2
sci-a5646b8ed7f4741c0bfa7512aef38d5e72392907.zip
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@aol.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
-rw-r--r--dev-tex/pythontex/Manifest3
-rw-r--r--dev-tex/pythontex/metadata.xml2
-rw-r--r--dev-tex/pythontex/pythontex-0.14-r1.ebuild55
-rw-r--r--dev-tex/pythontex/pythontex-0.17.ebuild (renamed from dev-tex/pythontex/pythontex-0.15.ebuild)12
-rw-r--r--dev-tex/pythontex/pythontex-9999.ebuild12
5 files changed, 10 insertions, 74 deletions
diff --git a/dev-tex/pythontex/Manifest b/dev-tex/pythontex/Manifest
index ecf789f79..df4fd95cc 100644
--- a/dev-tex/pythontex/Manifest
+++ b/dev-tex/pythontex/Manifest
@@ -1,2 +1 @@
-DIST pythontex-0.14.tar.gz 9704671 BLAKE2B 5d4644acfb53f08cae5b45f068c363236406f42438539c52d1c2ced30b613ec71d35383e8b1233e85c6dd46acb26ce7e494990fc7c2ca2c55abd7c1a5b1bba0a SHA512 dc37e3ac112ace95d4ac253f51fe08074cf465537fa8e686637dd2342edb397e89a1e9ee1111fd6b93bcf4194b8bbbcb5cbcc5256d4c451809bf96bb28ae3db6
-DIST pythontex-0.15.tar.gz 1765050 BLAKE2B b70415e453310d97a8c50781ea2a65656cdae7a78060a8f789af36368e024ca9dd75fdb4bec55216eec982be9c31ccb0894cd258924aa5649dc46a53cb34bccb SHA512 cbca1dc9208028bfe1a8ab47f6c145ec2bd0af0ad2c733ef80e1f9ee77199670c8701d30e7634207064dd073e5456bb1d1853ce4e1729f64c44967a52111b0d8
+DIST pythontex-0.17.tar.gz 1800631 BLAKE2B 5c4ab31ccd890ca708142e83d047a46d704d2eaead611521a9f272f7a63cfb4016b991741c0338b1874d8cd2949c83b9c5ab59c3004e26540c171666a4f05e63 SHA512 ac248579f8645c225839ca9698b6193d2a7d8360a50e9a8406fae5616f54418a173635d1c2e8c47b18e85cdd1fa1e81c9435169c44f06fb19505c280f9bbaee5
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
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