1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
10 DESCRIPTION="A python module to inject warning filters during nosetest"
11 HOMEPAGE="https://github.com/Carreau/nose_warnings_filters"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
16 KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
19 RDEPEND="dev-python/nose[${PYTHON_USEDEP}]"
21 dev-python/setuptools[${PYTHON_USEDEP}]
25 # nose_warnings_filters doesn't have a proper
26 # testing suite, hence we run the only testing
28 distutils_install_for_testing
29 cd "${TEST_DIR}"/lib || die
30 "${EPYTHON}" "${S}"/${PN}/testing/test_config.py || die "Failed running test script"