dev-python/caldav/caldav-0.2.2.ebuild
author Da Risk <da_risk@geekorum.com>
Sat, 01 Aug 2015 15:56:46 +0200
changeset 166 7ae2df12462b
parent 154 f06f352f1405
permissions -rw-r--r--
Add app-backup/backupchecker the successor of app-backup/brebis (Portage version: 2.2.20/hg/Linux x86_64, signed Manifest commit with key )

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

EAPI=5
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1

DESCRIPTION="A Python implementation of JSON Web Token"
HOMEPAGE="http://pypi.python.org/pypi/PyJWT"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="|| ( GPL-3 Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

COMMON_DEPS="dev-python/setuptools[${PYTHON_USEDEP}]
	dev-python/requests[${PYTHON_USEDEP}]"

DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )
		${COMMON_DEPS}"
RDEPEND="${COMMON_DEPS}"

src_prepare() {
	epatch "${FILESDIR}/${PN}-fix-setup.patch"
}

python_test() {
	nosetests || die "Tests fail with ${EPYTHON}"
}