app-misc/pycarddav/pycarddav-0.6.1.ebuild
author Da Risk <da_risk@geekorum.com>
Sat, 20 Feb 2021 15:23:41 -0400
changeset 242 d9320a7ed591
parent 135 90be9ead8427
permissions -rw-r--r--
remove dev-python/notify2 as it is in main tree

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"
PYTHON_REQ_USE="sqlite"

PYTHON_COMPAT=( python2_6 python2_7 )

inherit distutils-r1

DESCRIPTION="A CardDAV based address book tool"
HOMEPAGE="http://lostpackets.de/pycarddav/"
SRC_URI="https://lostpackets.de/pycarddav/downloads/pyCardDAV-${PV}.tar.gz"

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

S=$WORKDIR/pyCardDAV-$PV

DEPEND="
	dev-python/lxml[${PYTHON_USEDEP}]
	dev-python/requests[${PYTHON_USEDEP}]
	dev-python/setuptools[${PYTHON_USEDEP}]
	dev-python/urwid[${PYTHON_USEDEP}]
	dev-python/vobject[${PYTHON_USEDEP}]
	dev-python/pyxdg[${PYTHON_USEDEP}] "
RDEPEND="${DEPEND}"

DOCS=( pycard.conf.sample README.rst )

pkg_postinst() {
	ewarn "Copy and edit the supplied pycard.conf.sample file"
	ewarn "(default location is ~/.pycard/pycard.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."
}