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 |
RDEPEND="${PYTHON_DEPS} |
20 |
=dev-python/hcs-utils-1.1.1 |
19 |
>=dev-python/gdata-2.0.7 |
21 |
dev-python/simplejson |
20 |
>=dev-python/hcs-utils-1.3 |
|
|
21 |
>=dev-python/keyring-0.2 |
22 |
dev-python/setuptools |
23 |
>=dev-python/simplejson-2.1.0 |
22 |
virtual/python-argparse" |
24 |
virtual/python-argparse" |
23 |
|
25 |
|
24 |
RESTRICT_PYTHON_ABIS="3.*" |
26 |
src_prepare() { |
|
|
27 |
epatch "${FILESDIR}"/goobook-1.4-hcs-utils-1.3.patch |
28 |
default_src_prepare |
29 |
} |
25 |
|
30 |
|
26 |
pkg_postinst() { |
31 |
pkg_postinst() { |
27 |
distutils_pkg_postinst |
|
|
28 |
|
29 |
einfo "If you want to use goobook from mutt" |
32 |
einfo "If you want to use goobook from mutt" |
30 |
einfo "add this in your .muttrc file:" |
33 |
einfo "add this in your .muttrc file:" |
31 |
einfo "set query_command=\"goobook query '%s'\"" |
34 |
einfo "set query_command=\"goobook query '%s'\"" |