app-misc/pycarddav/pycarddav-0.7.0.ebuild
changeset 135 90be9ead8427
equal deleted inserted replaced
133:1c41db9f6d68 135:90be9ead8427
       
     1 # Copyright 1999-2014 Gentoo Foundation
       
     2 # Distributed under the terms of the GNU General Public License v2
       
     3 # $Header: $
       
     4 
       
     5 EAPI="5"
       
     6 PYTHON_REQ_USE="sqlite"
       
     7 
       
     8 PYTHON_COMPAT=( python2_6 python2_7 )
       
     9 
       
    10 inherit distutils-r1
       
    11 
       
    12 DESCRIPTION="A CardDAV based address book tool"
       
    13 HOMEPAGE="http://lostpackets.de/pycarddav/"
       
    14 SRC_URI="https://lostpackets.de/pycarddav/downloads/pyCardDAV-${PV}.tar.gz"
       
    15 
       
    16 LICENSE="MIT"
       
    17 KEYWORDS="~x86 ~amd64"
       
    18 SLOT="0"
       
    19 IUSE=""
       
    20 
       
    21 S=$WORKDIR/pyCardDAV-$PV
       
    22 
       
    23 DEPEND="
       
    24 	dev-python/lxml[${PYTHON_USEDEP}]
       
    25 	dev-python/requests[${PYTHON_USEDEP}]
       
    26 	dev-python/setuptools[${PYTHON_USEDEP}]
       
    27 	dev-python/urwid[${PYTHON_USEDEP}]
       
    28 	dev-python/vobject[${PYTHON_USEDEP}]
       
    29 	dev-python/pyxdg[${PYTHON_USEDEP}]"
       
    30 
       
    31 RDEPEND="${DEPEND}"
       
    32 
       
    33 DOCS=( pycard.conf.sample README.rst )
       
    34 
       
    35 pkg_postinst() {
       
    36 	ewarn "Copy and edit the supplied pycard.conf.sample file"
       
    37 	ewarn "(default location is ~/.pycard/pycard.conf)."
       
    38 	ewarn "Beware that only you can access this file,"
       
    39 	ewarn "if you have untrusted users on your machine,"
       
    40 	ewarn "since the password is stored in cleartext."
       
    41 }