1 |
commit: 4e48bd8d4ed00415ef8b9f0b9db1371e4ec24a38 |
2 |
Author: TheChymera <h.chr <AT> mail <DOT> ru> |
3 |
AuthorDate: Mon Oct 21 10:01:54 2013 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 21 10:01:54 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4e48bd8d |
7 |
|
8 |
removed cd call in src_prepare and added REQUIRED_USE for python. |
9 |
|
10 |
--- |
11 |
dev-tex/pythontex/pythontex-0.12.ebuild | 3 ++- |
12 |
dev-tex/pythontex/pythontex-9999.ebuild | 2 +- |
13 |
2 files changed, 3 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 453931b..e8c8003 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_export PYTHON_SCRIPTDIR |
24 |
+ python_export PYTHON_SCRIPTDIR |
25 |
+ echo ${PYTHON_SCRIPTDIR} |
26 |
python_moduleinto ${PYTHON_SCRIPTDIR} # it looks for modules here, submitted a patch for future versions. |
27 |
python_domodule "${S}"/pythontex_engines.py |
28 |
python_domodule "${S}"/pythontex_utils.py |
29 |
|
30 |
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild |
31 |
index 9635d55..d1439f4 100644 |
32 |
--- a/dev-tex/pythontex/pythontex-9999.ebuild |
33 |
+++ b/dev-tex/pythontex/pythontex-9999.ebuild |
34 |
@@ -18,6 +18,7 @@ SLOT="0" |
35 |
LICENSE="LPPL-1.3 BSD" |
36 |
KEYWORDS="" |
37 |
IUSE="highlighting" |
38 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
39 |
|
40 |
DEPEND="app-text/texlive |
41 |
${PYTHON_DEPS}" |
42 |
@@ -27,7 +28,6 @@ RDEPEND="${DEPEND} |
43 |
|
44 |
src_prepare() { |
45 |
S="${WORKDIR}/${P}/${PN}" |
46 |
- cd ${S} |
47 |
} |
48 |
|
49 |
src_compile() { |