app-misc/pycarddav/pycarddav-0.6.1.ebuild
changeset 122 b6a7199d21ea
child 135 90be9ead8427
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app-misc/pycarddav/pycarddav-0.6.1.ebuild	Sun Feb 02 18:38:09 2014 +0100
@@ -0,0 +1,41 @@
+# 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}]
+	virtual/python-argparse"
+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."
+}