blob: a1652a33fcccac7fb8854f9e9c596fc2dca49cd1 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libgmail/libgmail-0.0.8.ebuild,v 1.2 2004/10/09 21:35:47 slarti Exp $
inherit python
DESCRIPTION="Python bindings to access Google's gmail service"
HOMEPAGE="http://libgmail.sourceforge.net/"
SRC_URI="mirror://sourceforge/libgmail/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=sys-apps/sed-4"
RDEPEND="dev-python/logging
virtual/python"
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e 's:import sys:import logging\nimport sys:g' demos/gmailpopd.py
}
src_install() {
python_version
exeinto /usr/lib/python${PYVER}/site-packages
doexe libgmail.py constants.py mkconstants.py
dodir /usr/share/doc/${PF}
cp -r demos ${D}/usr/share/doc/${PF}
dodoc ANNOUNCE CHANGELOG README demos/*
}
|