1 |
commit: 6864243a1f42f828c0dcbd6f9281d1d4568726d2 |
2 |
Author: Horea Christian <h.chr <AT> mail <DOT> ru> |
3 |
AuthorDate: Sun Oct 20 22:04:05 2013 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 20 22:04:05 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6864243a |
7 |
|
8 |
Finally working ebuilds (tested on multilib AND no-multilib) |
9 |
|
10 |
--- |
11 |
dev-tex/pythontex/pythontex-0.12.ebuild | 3 ++- |
12 |
dev-tex/pythontex/pythontex-9999.ebuild | 1 - |
13 |
2 files changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild |
16 |
index 3f91516..7f85e66 100644 |
17 |
--- a/dev-tex/pythontex/pythontex-0.12.ebuild |
18 |
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild |
19 |
@@ -48,7 +48,8 @@ src_install() { |
20 |
python_newscript depythontex2.py depythontex.py |
21 |
fi |
22 |
|
23 |
- python_moduleinto /usr/lib64/python-exec/python2.7 |
24 |
+ python_export PYTHON_SCRIPTDIR |
25 |
+ python_moduleinto ${PYTHON_SCRIPTDIR} # it looks for modules here, submitted a patch for future versions. |
26 |
python_domodule "${S}"/pythontex_engines.py |
27 |
python_domodule "${S}"/pythontex_utils.py |
28 |
|
29 |
|
30 |
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild |
31 |
index 240c4be..56127cb 100644 |
32 |
--- a/dev-tex/pythontex/pythontex-9999.ebuild |
33 |
+++ b/dev-tex/pythontex/pythontex-9999.ebuild |
34 |
@@ -47,7 +47,6 @@ src_install() { |
35 |
python_newscript depythontex2.py depythontex.py |
36 |
fi |
37 |
|
38 |
- python_moduleinto /usr/lib64/python-exec/python2.7 |
39 |
python_domodule "${S}"/pythontex_engines.py |
40 |
python_domodule "${S}"/pythontex_utils.py |