Date: Wed, 24 Dec 2008 05:34:44 +0800 (CST) From: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/129890: [NEW PORT] devel/py25-hashring: An implementation of consistent hashing in Python Message-ID: <200812232134.mBNLYiSg033735@stucgi.cs.nctu.edu.tw> Resent-Message-ID: <200812232140.mBNLe168007014@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 129890 >Category: ports >Synopsis: [NEW PORT] devel/py25-hashring: An implementation of consistent hashing in Python >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 23 21:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Yi-Jheng Lin >Release: FreeBSD 7.0-RELEASE-p6 amd64 >Organization: NCTU CS >Environment: System: FreeBSD stucgi 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #0: Fri Nov 28 17:44:01 CST 2008 >Description: Implements consistent hashing that can be used when the number of server nodes can increase or decrease (like in memcached).The hashing ring is built using the same algorithm as libketama. Consistent hashing is a scheme that provides a hash table functionality in a way that the adding or removing of one slot does not significantly change the mapping of keys to slots. WWW: http://pypi.python.org/pypi/hash_ring Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- py25-hashring-1.1.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-hashring # py-hashring/pkg-descr # py-hashring/Makefile # py-hashring/distinfo # py-hashring/files # py-hashring/files/patch-setup.py # echo c - py-hashring mkdir -p py-hashring > /dev/null 2>&1 echo x - py-hashring/pkg-descr sed 's/^X//' >py-hashring/pkg-descr << 'END-of-py-hashring/pkg-descr' XImplements consistent hashing that can be used when the number of Xserver nodes can increase or decrease (like in memcached).The Xhashing ring is built using the same algorithm as libketama. X XConsistent hashing is a scheme that provides a hash table functionality Xin a way that the adding or removing of one slot does not significantly Xchange the mapping of keys to slots. X XWWW: http://pypi.python.org/pypi/hash_ring END-of-py-hashring/pkg-descr echo x - py-hashring/Makefile sed 's/^X//' >py-hashring/Makefile << 'END-of-py-hashring/Makefile' X# New ports collection makefile for: py-hashring X# Date created: 2008-12-24 X# Whom: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw> X# X# $FreeBSD$ X# X XPORTNAME= hashring XPORTVERSION= 1.1 XCATEGORIES= devel python XMASTER_SITES= CHEESESHOP XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= hash_ring-${PORTVERSION} X XMAINTAINER= yzlin@cs.nctu.edu.tw XCOMMENT= An implementation of consistent hashing in Python X XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}memcached>=0:${PORTSDIR}/databases/py-memcached X XUSE_PYTHON= yes XUSE_PYDISTUTILS= easy_install XPYDISTUTILS_PKGNAME= hash_ring X XPLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% X X.include <bsd.port.mk> END-of-py-hashring/Makefile echo x - py-hashring/distinfo sed 's/^X//' >py-hashring/distinfo << 'END-of-py-hashring/distinfo' XMD5 (hash_ring-1.1.tar.gz) = e059a1ddca398bb24c33621b4f44269b XSHA256 (hash_ring-1.1.tar.gz) = b444dea3927f5abe5a470f726d27d90d9b712e6981b9b3f3cfd4bb183a425fa5 XSIZE (hash_ring-1.1.tar.gz) = 4043 END-of-py-hashring/distinfo echo c - py-hashring/files mkdir -p py-hashring/files > /dev/null 2>&1 echo x - py-hashring/files/patch-setup.py sed 's/^X//' >py-hashring/files/patch-setup.py << 'END-of-py-hashring/files/patch-setup.py' X--- setup.py.orig 2008-12-24 05:04:05.000000000 +0800 X+++ setup.py 2008-12-24 05:04:21.000000000 +0800 X@@ -6,8 +6,6 @@ X # your option) any later version. X X import os X-import ez_setup X-ez_setup.use_setuptools() X X from setuptools import setup X END-of-py-hashring/files/patch-setup.py exit --- py25-hashring-1.1.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812232134.mBNLYiSg033735>