1 |
commit: 15c28cdceb3d5e24c6f5be9557594e814b09bef1 |
2 |
Author: Horea Christian <h.chr <AT> mail <DOT> ru> |
3 |
AuthorDate: Thu Oct 10 08:36:34 2013 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 10 08:36:34 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=15c28cdc |
7 |
|
8 |
Still trying to get my environment variables to work |
9 |
|
10 |
--- |
11 |
dev-tex/pythontex/pythontex-0.12.ebuild | 14 +++++++------- |
12 |
1 file changed, 7 insertions(+), 7 deletions(-) |
13 |
|
14 |
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild |
15 |
index 2a56ed0..cc20d1c 100644 |
16 |
--- a/dev-tex/pythontex/pythontex-0.12.ebuild |
17 |
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild |
18 |
@@ -43,7 +43,7 @@ src_compile() { |
19 |
src_install() { |
20 |
python_optimize . |
21 |
if python_is_python3; then |
22 |
- python_scriptinto /usr/share/texmf-site/scripts/pythontex/ |
23 |
+ python_scriptinto /usr/share/texmf-site/scripts/${PN}/ |
24 |
python_newscript pythontex3.py pythontex.py |
25 |
python_newscript depythontex3.py depythontex.py |
26 |
insinto /usr/share/texmf-site/scripts/${PN}/ |
27 |
@@ -51,7 +51,7 @@ src_install() { |
28 |
fi |
29 |
|
30 |
if ! python_is_python3; then |
31 |
- python_scriptinto /usr/share/texmf-site/scripts/pythontex/ |
32 |
+ python_scriptinto /usr/share/texmf-site/scripts/${PN}/ |
33 |
python_newscript pythontex2.py pythontex.py |
34 |
python_doscript pythontex_2to3.py |
35 |
python_newscript depythontex2.py depythontex.py |
36 |
@@ -59,9 +59,9 @@ src_install() { |
37 |
doins "${S}"/${PN}2.py |
38 |
fi |
39 |
|
40 |
- insinto /usr/share/texmf-site/scripts/pythontex/ |
41 |
- dolib "${S}"/pythontex_engines.py |
42 |
- dolib "${S}"/pythontex_utils.py |
43 |
+ python_moduleinto /usr/share/texmf-site/scripts/pythontex/ |
44 |
+ python_domodule "${S}"/pythontex_engines.py |
45 |
+ python_domodule "${S}"/pythontex_utils.py |
46 |
|
47 |
insinto /usr/share/texmf-site/tex/latex/pythontex/ |
48 |
doins "${S}"/pythontex.sty |
49 |
@@ -75,9 +75,9 @@ src_install() { |
50 |
|
51 |
latex-package_src_install |
52 |
|
53 |
- #dosym /usr/share/texmf-site/scripts/${PN}/${PN}.py /usr/bin/${PN} |
54 |
+ #which env-updatedosym /usr/share/texmf-site/scripts/${PN}/${PN}.py /usr/bin/${PN} |
55 |
|
56 |
- echo "LDPATH=/usr/share/texmf-site/scripts/pythontex/" >> "${T}"/99${PN} || die "Can't write environment variable." |
57 |
+ echo "PATH=/usr/share/texmf-site/scripts/pythontex/" >> "${T}"/99${PN} || die "Can't write environment variable." |
58 |
doenvd "${T}"/99${PN} |
59 |
|
60 |
dodoc README |