gentoo/dev-python/chai/chai-1.1.1.ebuild
Manuel Rüger 840b350c78
dev-python/chai: Add python3_6
Package-Manager: Portage-2.3.5, Repoman-2.3.2
2017-04-28 17:17:54 +02:00

23 lines
508 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python{3_4,3_5,3_6} )
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
}