1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

Add py-uhashring 1.2

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).

WWW: https://github.com/ultrabug/uhashring
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-08-30 07:12:43 +00:00
parent 359ea5d1be
commit 6c2c873aa4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546974
4 changed files with 32 additions and 0 deletions

View File

@ -990,6 +990,7 @@
SUBDIR += py-trustme
SUBDIR += py-tuf
SUBDIR += py-txtorcon
SUBDIR += py-uhashring
SUBDIR += py-vici
SUBDIR += py-virustotal-api
SUBDIR += py-volatility3

View File

@ -0,0 +1,21 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= uhashring
PORTVERSION= 1.2
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Full featured consistent hashing python library
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1598605158
SHA256 (uhashring-1.2.tar.gz) = f7304ca2ff763bbf1e2f8a78f21131721811619c5841de4f8c98063344906931
SIZE (uhashring-1.2.tar.gz) = 17554

View File

@ -0,0 +1,7 @@
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).
WWW: https://github.com/ultrabug/uhashring