Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
Date: Thu, 07 Nov 2013 20:05:20
Message-Id: 1381486733.95fe57dfd4679104741f00e85f53deb0188bcda3.alexxy@gentoo
1 commit: 95fe57dfd4679104741f00e85f53deb0188bcda3
2 Author: TheChymera <h.chr <AT> mail <DOT> ru>
3 AuthorDate: Fri Oct 11 10:18:53 2013 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 11 10:18:53 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=95fe57df
7
8 concatenated if statements, added keywords, various minor improvements
9
10 ---
11 dev-tex/pythontex/pythontex-0.12.ebuild | 9 ++++-----
12 1 file changed, 4 insertions(+), 5 deletions(-)
13
14 diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
15 index cc20d1c..6eeaadd 100644
16 --- a/dev-tex/pythontex/pythontex-0.12.ebuild
17 +++ b/dev-tex/pythontex/pythontex-0.12.ebuild
18 @@ -9,11 +9,12 @@ PYTHON_COMPAT=( python{2_7,3_2,3_3} )
19 inherit latex-package python-single-r1
20
21 S="${WORKDIR}/${PN}"
22 -LICENSE="LPPL-1.3 BSD"
23 DESCRIPTION="Fast Access to Python from within LaTeX"
24 HOMEPAGE="https://github.com/gpoore/pythontex"
25 SRC_URI="https://github.com/gpoore/pythontex/raw/master/package_downloads/${PN}_${PV}.zip https://github.com/gpoore/pythontex/raw/master/package_downloads/old_versions/${PN}_${PV}.zip"
26 +
27 SLOT="0"
28 +LICENSE="LPPL-1.3 BSD"
29 KEYWORDS="~amd64"
30 IUSE="highlighting"
31
32 @@ -28,7 +29,7 @@ TEXMF=/usr/share/texmf-site
33 S="${WORKDIR}"/${PN}
34
35 src_prepare() {
36 - rm pythontex.sty
37 + rm pythontex.sty || die "Could not remove pythontex.sty!"
38 }
39
40 src_compile() {
41 @@ -48,9 +49,7 @@ src_install() {
42 python_newscript depythontex3.py depythontex.py
43 insinto /usr/share/texmf-site/scripts/${PN}/
44 doins "${S}"/${PN}3.py
45 - fi
46 -
47 - if ! python_is_python3; then
48 + else ! python_is_python3;
49 python_scriptinto /usr/share/texmf-site/scripts/${PN}/
50 python_newscript pythontex2.py pythontex.py
51 python_doscript pythontex_2to3.py