summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2020-09-14 13:31:49 +0200
committerLouis Sautier <sbraz@gentoo.org>2020-09-14 13:33:00 +0200
commit34e713675f2741983fa4b46f2cfec029347e9f17 (patch)
treec636db4bffcb4ced811a6b7f075da3ccc91ffd74 /dev-python
parentnet-dialup/accel-ppp-9999: move to new repository (diff)
downloadgentoo-34e713675f2741983fa4b46f2cfec029347e9f17.tar.gz
gentoo-34e713675f2741983fa4b46f2cfec029347e9f17.tar.bz2
gentoo-34e713675f2741983fa4b46f2cfec029347e9f17.zip
dev-python/fakeredis: fix test deps, add PyPy3 support
Closes: https://bugs.gentoo.org/742476 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/fakeredis/fakeredis-1.4.3.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-python/fakeredis/fakeredis-1.4.3.ebuild b/dev-python/fakeredis/fakeredis-1.4.3.ebuild
index 3ac269bd723..436bde5d7ac 100644
--- a/dev-python/fakeredis/fakeredis-1.4.3.ebuild
+++ b/dev-python/fakeredis/fakeredis-1.4.3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6..9} )
+PYTHON_COMPAT=( pypy3 python3_{6..9} )
inherit distutils-r1
DESCRIPTION="Fake implementation of redis API for testing purposes"
@@ -21,7 +21,14 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
RDEPEND="
dev-python/redis-py[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
- dev-python/sortedcontainers[${PYTHON_USEDEP}]"
+ dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
distutils_enable_tests pytest