guru/dev-python/pymemcache/pymemcache-3.5.0.ebuild
Alessandro Barbieri e384c93cec
dev-python/pymemcache: add mock test dependency
Closes: https://bugs.gentoo.org/817221
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2021-10-09 19:00:51 +02:00

37 lines
789 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A comprehensive, fast, pure-Python memcached client"
HOMEPAGE="
https://github.com/pinterest/pymemcache
https://pypi.org/project/pymemcache
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND="
${RDEPEND}
dev-python/six[${PYTHON_USEDEP}]
test? (
dev-python/future[${PYTHON_USEDEP}]
dev-python/gevent[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pylibmc[${PYTHON_USEDEP}]
dev-python/python-memcached[${PYTHON_USEDEP}]
)
"
PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" )
distutils_enable_tests pytest