rpms/python-hash_ring/devel import.log, NONE, 1.1 python-hash_ring.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Silas Sewell silas at fedoraproject.org
Wed Apr 22 06:42:48 UTC 2009


Author: silas

Update of /cvs/pkgs/rpms/python-hash_ring/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13447/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log python-hash_ring.spec 
Log Message:
Initial commit



--- NEW FILE import.log ---
python-hash_ring-1_2-2_fc10:HEAD:python-hash_ring-1.2-2.fc10.src.rpm:1240382471


--- NEW FILE python-hash_ring.spec ---
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-hash_ring
Version:        1.2
Release:        2%{?dist}
Summary:        Python implementation of consistent hashing

Group:          Development/Languages
License:        BSD
URL:            http://pypi.python.org/pypi/hash_ring
Source0:        http://pypi.python.org/packages/source/h/hash_ring/hash_ring-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  python-setuptools
Requires:       python-memcached

%description
hash_ring implements consistent hashing that can be used when the number of
server nodes can increase or decrease. 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.

%prep
%setup -q -n hash_ring-%{version}
# Remove bootstrap for setuptools which is provided in BuildRequires
sed -i '/^import\ ez_setup$/,+1 d' setup.py

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc PKG-INFO
%{python_sitelib}/hash_ring/
%{python_sitelib}/hash_ring-%{version}-*.egg-info

%changelog
* Sat Apr 11 2009 Silas Sewell <silas at sewell ch> - 1.2-2
- Fix license
- Make files section more explicit

* Fri Apr 10 2009 Silas Sewell <silas at sewell ch> - 1.2-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-hash_ring/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Apr 2009 20:09:24 -0000	1.1
+++ .cvsignore	22 Apr 2009 06:42:46 -0000	1.2
@@ -0,0 +1 @@
+hash_ring-1.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-hash_ring/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Apr 2009 20:09:24 -0000	1.1
+++ sources	22 Apr 2009 06:42:46 -0000	1.2
@@ -0,0 +1 @@
+ada64f9827572621edf73d86f02b20ae  hash_ring-1.2.tar.gz




More information about the fedora-extras-commits mailing list