summaryrefslogtreecommitdiff
path: root/devel/py-hashring/files/patch-setup.py
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-12-23 23:02:09 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-12-23 23:02:09 +0000
commitde8067ab51a2d65c90877e89fec65fdb036326c4 (patch)
tree53f82241615ed17e6f56d86d898ab081037bbee6 /devel/py-hashring/files/patch-setup.py
parentFix RUN_DEPENDS after the latest update of graphics/py-opengl. (diff)
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 PR: 129890 Submitted by: Yi-Jheng Lin <yzlin at cs dot nctu dot edu dot tw>
Notes
Notes: svn path=/head/; revision=224659
Diffstat (limited to 'devel/py-hashring/files/patch-setup.py')
-rw-r--r--devel/py-hashring/files/patch-setup.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/py-hashring/files/patch-setup.py b/devel/py-hashring/files/patch-setup.py
new file mode 100644
index 000000000000..d76fa5aaa441
--- /dev/null
+++ b/devel/py-hashring/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2008-12-24 05:04:05.000000000 +0800
++++ setup.py 2008-12-24 05:04:21.000000000 +0800
+@@ -6,8 +6,6 @@
+ # your option) any later version.
+
+ import os
+-import ez_setup
+-ez_setup.use_setuptools()
+
+ from setuptools import setup
+