commit:     2919b54be24dc15d3c393eba4f3fb4c6c18b761b
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Mar 15 00:42:19 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Mar 15 01:26:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2919b54b

dev-python/python-binary-memcached: disable tests

Closes: https://bugs.gentoo.org/815574
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../python-binary-memcached-0.31.1.ebuild                     | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git 
a/dev-python/python-binary-memcached/python-binary-memcached-0.31.1.ebuild 
b/dev-python/python-binary-memcached/python-binary-memcached-0.31.1.ebuild
index 2a45c39e5..80906ade6 100644
--- a/dev-python/python-binary-memcached/python-binary-memcached-0.31.1.ebuild
+++ b/dev-python/python-binary-memcached/python-binary-memcached-0.31.1.ebuild
@@ -18,10 +18,15 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
-RDEPEND="dev-python/uhashring[${PYTHON_USEDEP}]"
+RDEPEND="
+       dev-python/six[${PYTHON_USEDEP}]
+       dev-python/uhashring[${PYTHON_USEDEP}]
+"
 DEPEND="
        ${RDEPEND}
-       dev-python/six[${PYTHON_USEDEP}]
+       test? ( net-misc/memcached )
+"
+BDEPEND="
        test? (
                >=dev-python/m2r-0.2.1[${PYTHON_USEDEP}]
                dev-python/mistune[${PYTHON_USEDEP}]
@@ -31,4 +36,6 @@ DEPEND="
        )
 "
 
+RESTRICT="test" # tests require a running memcached
+
 distutils_enable_tests pytest

Reply via email to