diff options
Diffstat (limited to 'dev-python/pydotplus/pydotplus-2.0.2.ebuild')
| -rw-r--r-- | dev-python/pydotplus/pydotplus-2.0.2.ebuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/dev-python/pydotplus/pydotplus-2.0.2.ebuild b/dev-python/pydotplus/pydotplus-2.0.2.ebuild index 0893482ada2c..7021fd1f9412 100644 --- a/dev-python/pydotplus/pydotplus-2.0.2.ebuild +++ b/dev-python/pydotplus/pydotplus-2.0.2.ebuild @@ -14,19 +14,16 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" dev-python/pyparsing[${PYTHON_USEDEP}] - media-gfx/graphviz -" -DEPEND="test? ( ${RDEPEND} )" + media-gfx/graphviz" -PATCHES=( "${FILESDIR}/${P}-tests.patch" ) +distutils_enable_tests unittest + +PATCHES=( "${FILESDIR}"/${P}-tests.patch ) python_test() { - pushd test > /dev/null || die - python pydot_unittest.py || die - popd > /dev/null || die + cd test || die + "${EPYTHON}" pydot_unittest.py || die } |
