2015-01-09 23:17:56 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2014-07-08 19:04:55 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2014-07-08 19:04:55 +04:00
|
|
|
|
|
|
|
EAPI=5
|
2015-04-08 16:23:29 +03:00
|
|
|
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
2014-07-08 19:04:55 +04:00
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
2014-08-12 13:29:40 +04:00
|
|
|
DESCRIPTION="Exclude specific directories from nosetests runs"
|
2015-09-16 16:32:24 +03:00
|
|
|
HOMEPAGE="https://github.com/kgrandis/nose-exclude"
|
2014-07-08 19:04:55 +04:00
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="LGPL-2.1"
|
|
|
|
SLOT="0"
|
2015-01-26 19:41:20 +03:00
|
|
|
KEYWORDS="amd64 x86"
|
2014-07-08 19:04:55 +04:00
|
|
|
|
|
|
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
RDEPEND="dev-python/nose[${PYTHON_USEDEP}]"
|
|
|
|
RESTRICT="test"
|
|
|
|
|
|
|
|
python_test() {
|
2015-09-16 16:32:24 +03:00
|
|
|
# https://github.com/kgrandis/nose-exclude/issue/10/test-failures-with-python-3
|
2014-07-08 19:04:55 +04:00
|
|
|
esetup.py test
|
|
|
|
}
|