dev-python/setuptools_scm: Install package for testing
authormaram <maram@fake-box.com>
Sun, 19 Feb 2017 17:18:31 +0000 (12:18 -0500)
committerMike Gilbert <floppym@gentoo.org>
Sun, 19 Feb 2017 17:18:31 +0000 (12:18 -0500)
The test suite fails unless the package is already installed.

Bug: https://bugs.gentoo.org/show_bug.cgi?id=609648

dev-python/setuptools_scm/setuptools_scm-1.15.0.ebuild

index 58581ecdfc410beb8399db78851d2c1ae804ae00..a5040e180747141819a21d6ec9750787a550c3c6 100644 (file)
@@ -26,5 +26,6 @@ DEPEND="
        )"
 
 python_test() {
+       distutils_install_for_testing
        py.test -v -v -x || die "tests failed under ${EPYTHON}"
 }