Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2020 07:12:43 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546974 - in head/security: . py-uhashring
Message-ID:  <202008300712.07U7ChaJ004848@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Aug 30 07:12:43 2020
New Revision: 546974
URL: https://svnweb.freebsd.org/changeset/ports/546974

Log:
  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

Added:
  head/security/py-uhashring/
  head/security/py-uhashring/Makefile   (contents, props changed)
  head/security/py-uhashring/distinfo   (contents, props changed)
  head/security/py-uhashring/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sun Aug 30 07:12:37 2020	(r546973)
+++ head/security/Makefile	Sun Aug 30 07:12:43 2020	(r546974)
@@ -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

Added: head/security/py-uhashring/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-uhashring/Makefile	Sun Aug 30 07:12:43 2020	(r546974)
@@ -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>

Added: head/security/py-uhashring/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-uhashring/distinfo	Sun Aug 30 07:12:43 2020	(r546974)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1598605158
+SHA256 (uhashring-1.2.tar.gz) = f7304ca2ff763bbf1e2f8a78f21131721811619c5841de4f8c98063344906931
+SIZE (uhashring-1.2.tar.gz) = 17554

Added: head/security/py-uhashring/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-uhashring/pkg-descr	Sun Aug 30 07:12:43 2020	(r546974)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008300712.07U7ChaJ004848>