mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 11:20:48 -04:00
Closes: https://bugs.gentoo.org/835896 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
47 lines
1021 B
Bash
47 lines
1021 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{8..9} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="access memcached via it's binary protocol with SASL auth support"
|
|
HOMEPAGE="
|
|
https://github.com/jaysonsantos/python-binary-memcached
|
|
https://pypi.org/project/python-binary-memcached/
|
|
"
|
|
SRC_URI="https://github.com/jaysonsantos/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}-gh.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RDEPEND="
|
|
dev-python/six[${PYTHON_USEDEP}]
|
|
dev-python/uhashring[${PYTHON_USEDEP}]
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
>=dev-python/m2r-0.2.1[${PYTHON_USEDEP}]
|
|
test? ( net-misc/memcached )
|
|
"
|
|
BDEPEND="
|
|
test? (
|
|
dev-python/mistune[${PYTHON_USEDEP}]
|
|
>=dev-python/pytest-6.2[${PYTHON_USEDEP}]
|
|
>=dev-python/trustme-0.9.0[${PYTHON_USEDEP}]
|
|
>=dev-python/mock-4.0[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
|
|
RESTRICT="test" # tests require a running memcached
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
src_prepare() {
|
|
rm README.rst || die
|
|
default
|
|
}
|