Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 449916 | Differences between
and this patch

Collapse All | Expand All

(-)goobook-1.4.ebuild (-10 / +15 lines)
Lines 2-11 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: /var/cvsroot/gentoo-x86/app-misc/goobook/goobook-1.4.ebuild,v 1.1 2012/12/02 11:36:21 hwoarang Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-misc/goobook/goobook-1.4.ebuild,v 1.1 2012/12/02 11:36:21 hwoarang Exp $
4
4
5
EAPI="2"
5
EAPI=5
6
PYTHON_DEPEND="2"
6
PYTHON_COMPAT=( python2_7 )
7
SUPPORT_PYTHON_ABIS="1"
7
inherit python-r1 distutils-r1
8
inherit distutils
9
8
10
DESCRIPTION="Google Contacts wrapper for mutt"
9
DESCRIPTION="Google Contacts wrapper for mutt"
11
HOMEPAGE="http://code.google.com/p/goobook/"
10
HOMEPAGE="http://code.google.com/p/goobook/"
Lines 16-31 Link Here
16
KEYWORDS="~amd64 ~x86"
15
KEYWORDS="~amd64 ~x86"
17
IUSE=""
16
IUSE=""
18
17
19
RDEPEND="dev-python/gdata
18
DEPEND="${PYTHON_DEPS}
20
	=dev-python/hcs-utils-1.1.1
19
	dev-python/setuptools"
21
	dev-python/simplejson
20
21
RDEPEND="${DEPEND}
22
	>=dev-python/gdata-2.0.7
23
	>=dev-python/hcs-utils-1.3
24
	>=dev-python/keyring-0.2
25
	>=dev-python/simplejson-2.1.0
22
	virtual/python-argparse"
26
	virtual/python-argparse"
23
27
24
RESTRICT_PYTHON_ABIS="3.*"
28
src_prepare() {
29
	epatch "${FILESDIR}"/goobook-1.4-hcs-utils-1.3.patch
30
	default_src_prepare
31
}
25
32
26
pkg_postinst() {
33
pkg_postinst() {
27
	distutils_pkg_postinst
28
29
	einfo "If you want to use goobook from mutt"
34
	einfo "If you want to use goobook from mutt"
30
	einfo "add this in your .muttrc file:"
35
	einfo "add this in your .muttrc file:"
31
	einfo "set query_command=\"goobook query '%s'\""
36
	einfo "set query_command=\"goobook query '%s'\""

Return to bug 449916