blob: 9f3d868aa4525fd6c2723c5ec2a01813b27ce519 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit git distutils python
DESCRIPTION="shr pyphonelog-application"
HOMEPAGE="http://trac.shr-project.org/trac"
EGIT_REPO_URI="http://shr.bearstech.com/repo/pyphonelog.git"
EGIT_TREE="c72cf7dc529d86d6fde5a742e952f59593c9dd0e"
EGIT_PROJECT="pyphonelog"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~arm"
IUSE=""
RDEPEND="dev-python/dbus-python
dev-python/pygtk
dev-lang/python[sqlite]"
DEPEND="dev-python/setuptools"
src_unpack() {
# Fetch and unpack current git sources
git_src_unpack
cd "${S}"
epatch "${FILESDIR}/${P}-setup.py.patch"
epatch "${FILESDIR}"/pyphonelog-20090214-phonelog.patch
python_version || die
PVER=`echo "${PYVER}" | sed -e "s|[.]||"`
if [ "${PVER}" -lt "26" ];
then
epatch "${FILESDIR}"/pyphonelog-20090214-python-2.5.patch
fi
}
src_install() {
distutils_src_install --prefix=/usr
}
|