summaryrefslogtreecommitdiff
path: root/recipes/python/python-libgmail_0.1.11.bb
blob: b0fcb1f83fd48cf3e8ebcefc238bd2179bc107cf (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
DESCRIPTION = "Python Bindings for Google's Gmail Service"
SECTION = "devel/python"
HOMEPAGE = "http://libgmail.sourceforge.net/"
PRIORITY = "optional"
LICENSE = "GPL"
SRCNAME = "libgmail"
PR = "ml0"

SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"

inherit distutils-base

do_install() {
	install -d ${D}${libdir}/${PYTHON_DIR}
	for file in *.py
	do
		install -m 0755 ${file} ${D}${libdir}/${PYTHON_DIR}
	done
}

RDEPENDS = "\
  python-core \
  python-netclient \
  python-email \
  python-mime \
  python-pprint \
  python-re \
  python-pickle \
"