HomeAssistantRepository/dev-python/pytest-sugar/pytest-sugar-0.9.2.ebuild

31 lines
711 B
Bash
Raw Normal View History

2020-02-04 19:59:34 +01:00
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
2019-01-13 18:25:04 +01:00
EAPI=6
PYTHON_COMPAT=( python3_{6,7,8} )
2019-01-13 18:25:04 +01:00
inherit distutils-r1
DESCRIPTION="Plugin for pytest that changes the default look and feel of pytest."
2019-12-02 21:21:36 +01:00
HOMEPAGE="https://pivotfinland.com/pytest-sugar/ https://pypi.org/project/pytest-sugar/"
2019-01-13 18:25:04 +01:00
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
2019-02-17 12:20:29 +01:00
LICENSE="BSD"
2019-01-13 18:25:04 +01:00
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
2019-01-13 18:25:04 +01:00
IUSE="test"
RDEPEND=""
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}