summaryrefslogtreecommitdiff
blob: 7033a2389feb71114f2ed172f0f6dd1ae8bee77d (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
37
38
39
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"

PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_USE_WITH="sqlite"

inherit distutils-r1

DESCRIPTION="CLI calendar application build around CalDAV."
HOMEPAGE="https://github.com/geier/khal"
SRC_URI="https://github.com/geier/khal/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
KEYWORDS="~x86 ~amd64"
SLOT="0"
IUSE=""

DEPEND=">=dev-python/lxml-3.0.0
	dev-python/requests
	>=dev-python/urwid-1.1.0
	dev-python/pyxdg
	>=dev-python/icalendar-3.1
	dev-lang/python[sqlite]
	virtual/python-argparse[${PYTHON_USEDEP}]
	dev-python/keyring"
RDEPEND="${DEPEND}"

EXAMPLES=( khal.conf.sample )

pkg_postinst() {
	ewarn "Copy and edit the supplied khal.conf.sample file"
	ewarn "(default location is ~/.config/khal/khal.conf)."
	ewarn "Beware that only you can access this file,"
	ewarn "if you have untrusted users on your machine,"
	ewarn "since the password is stored in cleartext."
}