Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: $ |
3 |
# $Header: $ |
4 |
|
4 |
|
|
|
5 |
EAPI="3" |
6 |
SUPPORT_PYTHON_ABIS="1" |
7 |
RESTRICT_PYTHON_ABIS="3.*" |
8 |
PYTHON_DEPEND="2" |
5 |
inherit distutils eutils |
9 |
inherit distutils eutils |
6 |
|
10 |
|
7 |
DESCRIPTION="Ked Password Manager helps to manage large amounts of passwords and related information" |
11 |
DESCRIPTION="Ked Password Manager helps to manage large amounts of passwords and related information" |
Lines 17-26
DEPEND=">=sys-apps/sed-4"
Link Here
|
17 |
RDEPEND="dev-python/pycrypto |
21 |
RDEPEND="dev-python/pycrypto |
18 |
gtk? ( >=dev-python/pygtk-2 )" |
22 |
gtk? ( >=dev-python/pygtk-2 )" |
19 |
|
23 |
|
20 |
src_unpack() { |
24 |
src_prepare() { |
21 |
unpack ${A} |
|
|
22 |
cd "${S}" |
23 |
|
24 |
# We want documentation to install in /usr/share/doc/kedpm |
25 |
# We want documentation to install in /usr/share/doc/kedpm |
25 |
# not in /usr/share/kedpm as in original setup.py. |
26 |
# not in /usr/share/kedpm as in original setup.py. |
26 |
epatch "${FILESDIR}/setup-doc.patch" |
27 |
epatch "${FILESDIR}/setup-doc.patch" |
Lines 38-42
src_install() {
Link Here
|
38 |
} |
39 |
} |
39 |
|
40 |
|
40 |
src_test() { |
41 |
src_test() { |
41 |
./run_tests || die "tests failed" |
42 |
testing() { |
|
|
43 |
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" ./run_tests |
44 |
} |
45 |
python_execute_function testing |
42 |
} |
46 |
} |