Skip to content

Commit

Permalink
dev-tex/pythontex: bump to 0.17 and drop old.
Browse files Browse the repository at this point in the history
  Bump to EAPI=7.

Closes: #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>
  • Loading branch information
y0rune authored and heroxbd committed Feb 10, 2020
1 parent 5e59578 commit a5646b8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 74 deletions.
3 changes: 1 addition & 2 deletions dev-tex/pythontex/Manifest
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion dev-tex/pythontex/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
55 changes: 0 additions & 55 deletions dev-tex/pythontex/pythontex-0.14-r1.ebuild

This file was deleted.

Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down
12 changes: 4 additions & 8 deletions dev-tex/pythontex/pythontex-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a5646b8

Please sign in to comment.