Files
gentoo/dev-python/chai/chai-1.1.1.ebuild
T
Manuel Rüger 76c573ddbe dev-python/chai: Initial version
Package-Manager: portage-2.3.2
2016-10-30 00:03:42 +02:00

24 lines
511 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
inherit distutils-r1
DESCRIPTION="Easy to use mocking, stubbing and spying framework"
HOMEPAGE="https://github.com/agoragames/chai"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
python_test() {
nosetests -v tests || die
}