Lines 5-10
Link Here
|
5 |
EAPI="2" |
5 |
EAPI="2" |
6 |
PYTHON_USE_WITH="tk" |
6 |
PYTHON_USE_WITH="tk" |
7 |
PYTHON_USE_WITH_OPT="tk" |
7 |
PYTHON_USE_WITH_OPT="tk" |
|
|
8 |
PYTHON_DEPEND="2" |
8 |
|
9 |
|
9 |
inherit eutils elisp-common python |
10 |
inherit eutils elisp-common python |
10 |
|
11 |
|
Lines 17-24
SLOT="0"
Link Here
|
17 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" |
18 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" |
18 |
IUSE="emacs tk vim-syntax" |
19 |
IUSE="emacs tk vim-syntax" |
19 |
|
20 |
|
20 |
DEPEND="virtual/python |
21 |
DEPEND="tk? ( dev-lang/tk ) |
21 |
tk? ( dev-lang/tk ) |
|
|
22 |
vim-syntax? ( |
22 |
vim-syntax? ( |
23 |
|| ( |
23 |
|| ( |
24 |
app-editors/vim |
24 |
app-editors/vim |
Lines 31-36
RDEPEND="${DEPEND}"
Link Here
|
31 |
|
31 |
|
32 |
SITEFILE="51${PN}-gentoo.el" |
32 |
SITEFILE="51${PN}-gentoo.el" |
33 |
|
33 |
|
|
|
34 |
pkg_setup() { |
35 |
python_set_active_version 2 |
36 |
python_pkg_setup |
37 |
} |
38 |
|
39 |
src_prepare() { |
40 |
python_convert_shebangs -r 2 . |
41 |
} |
42 |
|
34 |
src_compile() { |
43 |
src_compile() { |
35 |
if use emacs; then |
44 |
if use emacs; then |
36 |
elisp-compile extras/txt2tags-mode.el || die "elisp-compile failed" |
45 |
elisp-compile extras/txt2tags-mode.el || die "elisp-compile failed" |