mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-python/uhashring: treeclean
Closes: https://bugs.gentoo.org/862768 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST uhashring-2.1.tar.gz 18288 BLAKE2B 95d76b1999d21b52ff33b5f76b2eee125d22fa02c51281d6b72058b9d608ea69cca11608f41f50b9348d46a26cc8931c40a6873f0fe17b72d76891b51dcaa1cb SHA512 0e3b3647f1b8b648389fa1018f5903d880947556244633e0b2b4809ccab3d14cf8e742cd14a99e2e88972a84c8fb97956dc290b023e514de63c7793a21b6c294
|
||||
@@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>comaintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
uhashring implements consistent hashing in pure Python.
|
||||
|
||||
Consistent hashing is mostly used on distributed systems/caches/databases as this avoid the total reshuffling of your key-node mappings when adding or removing a node in your ring (called continuum on libketama). More information and details about this can be found in the literature section.
|
||||
|
||||
This full featured implementation offers:
|
||||
|
||||
a lot of convenient methods to use your consistent hash ring in real world applications.
|
||||
simple integration with other libs such as memcache through monkey patching.
|
||||
a full ketama compatibility if you need to use it (see important mention below).
|
||||
all the missing functions in the libketama C python binding (which is not even available on pypi) for ketama users.
|
||||
possibility to use your own weight and hash functions if you don't care about the ketama compatibility.
|
||||
instance-oriented usage so you can use your consistent hash ring object directly in your code (see advanced usage).
|
||||
native pypy support, since this is a pure python library.
|
||||
tests of implementation, key distribution and ketama compatibility.
|
||||
Per node weight is also supported and will affect the nodes distribution on the ring.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">ultrabug/uhashring</remote-id>
|
||||
<remote-id type="pypi">uhashring</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} pypy3 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Full featured consistent hashing python library compatible with ketama"
|
||||
HOMEPAGE="https://github.com/ultrabug/uhashring"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
>=dev-python/python-memcached-1.59[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -74,11 +74,6 @@ dev-python/skills
|
||||
media-libs/skcms
|
||||
media-libs/skia
|
||||
|
||||
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-03-08)
|
||||
# Python library with no consumers left in tree.
|
||||
# Masked for removal in 30 days.
|
||||
dev-python/uhashring
|
||||
|
||||
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-03-04)
|
||||
# Depend on masked gconf.
|
||||
net-p2p/lbry
|
||||
|
||||
Reference in New Issue
Block a user