dev-python/uhashring: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-09-26 19:58:46 +02:00
parent f27b3511a4
commit 2534302df9
3 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Full featured consistent hashing python library compatible with ketama"
HOMEPAGE="https://github.com/ultrabug/uhashring"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND="
${RDEPEND}
test? (
>=dev-python/python-memcached-1.59[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest