2019-01-28 09:34:34 +03:00
|
|
|
# Copyright 1999-2019 Gentoo Authors
|
2017-03-17 09:51:00 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
|
2019-04-18 08:48:31 +03:00
|
|
|
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
2017-03-17 09:51:00 +03:00
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Vestigial utilities from IPython"
|
|
|
|
HOMEPAGE="https://github.com/ipython/ipython_genutils"
|
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
2018-05-17 08:41:58 +03:00
|
|
|
KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86"
|
2017-03-17 09:51:00 +03:00
|
|
|
IUSE="test"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
test? (
|
|
|
|
dev-python/nose[${PYTHON_USEDEP}]
|
|
|
|
dev-python/coverage[${PYTHON_USEDEP}]
|
|
|
|
)
|
|
|
|
"
|
|
|
|
|
|
|
|
python_test() {
|
|
|
|
nosetests --with-coverage --cover-package=ipython_genutils ipython_genutils || die
|
|
|
|
}
|