blob: af07c7f207ccd05d80d3321a7a1e0a0a8d87a778 (
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
|
# Copyright 1999-2005 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-r1.ebuild,v 1.1 2005/07/27 19:26:47 vanquirius Exp $
inherit python eutils
DESCRIPTION="Python bindings to access Google's gmail service"
HOMEPAGE="http://libgmail.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz
mirror://gentoo/${P}-cvs-20050727.diff.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc"
IUSE=""
DEPEND=">=sys-apps/sed-4"
RDEPEND="dev-python/logging
virtual/python"
src_unpack() {
unpack ${A}; cd ${S}
epatch ${WORKDIR}/${P}-cvs-20050727.diff
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
exeinto /usr/share/doc/${PF}/demos
doexe -r demos/*
dodoc ANNOUNCE CHANGELOG README
}
|