1 |
commit: a4c0bd5b7efb0c339046bf53dd3f143104260272 |
2 |
Author: Horea Christian <h.chr <AT> mail <DOT> ru> |
3 |
AuthorDate: Wed Oct 23 20:39:34 2013 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 23 20:39:34 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a4c0bd5b |
7 |
|
8 |
added python usedep and merged domodule nd doinstall lines |
9 |
|
10 |
--- |
11 |
dev-tex/pythontex/pythontex-0.12.ebuild | 2 +- |
12 |
dev-tex/pythontex/pythontex-9999.ebuild | 8 +++----- |
13 |
2 files changed, 4 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild |
16 |
index ca691a9..9bc4532 100644 |
17 |
--- a/dev-tex/pythontex/pythontex-0.12.ebuild |
18 |
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild |
19 |
@@ -22,7 +22,7 @@ DEPEND="app-text/texlive |
20 |
|
21 |
RDEPEND="${DEPEND} |
22 |
dev-texlive/texlive-xetex |
23 |
- >=dev-python/matplotlib-1.2.0 |
24 |
+ >=dev-python/matplotlib-1.2.0[${PYTHON_USEDEP}] |
25 |
highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )" |
26 |
|
27 |
TEXMF=/usr/share/texmf-site |
28 |
|
29 |
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild |
30 |
index befcf78..11fcab7 100644 |
31 |
--- a/dev-tex/pythontex/pythontex-9999.ebuild |
32 |
+++ b/dev-tex/pythontex/pythontex-9999.ebuild |
33 |
@@ -25,7 +25,7 @@ DEPEND="app-text/texlive |
34 |
|
35 |
RDEPEND="${DEPEND} |
36 |
dev-texlive/texlive-xetex |
37 |
- >=dev-python/matplotlib-1.2.0 |
38 |
+ >=dev-python/matplotlib-1.2.0[${PYTHON_USEDEP}] |
39 |
highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )" |
40 |
|
41 |
src_prepare() { |
42 |
@@ -50,15 +50,13 @@ src_install() { |
43 |
python_newscript depythontex2.py depythontex.py |
44 |
fi |
45 |
|
46 |
- python_domodule "${S}"/pythontex_engines.py |
47 |
- python_domodule "${S}"/pythontex_utils.py |
48 |
+ python_domodule "${S}"/pythontex_engines.py "${S}"/pythontex_utils.py |
49 |
|
50 |
insinto /usr/share/texmf-site/tex/latex/pythontex/ |
51 |
doins "${S}"/pythontex.sty |
52 |
|
53 |
insinto /usr/share/texmf-site/source/latex/pythontex/ |
54 |
- doins "${S}"/pythontex.dtx |
55 |
- doins "${S}"/pythontex.ins |
56 |
+ doins "${S}"/pythontex.dtx "${S}"/pythontex.ins |
57 |
|
58 |
latex-package_src_install |