rpms/python-boto/EL-5 python-boto-0.9b-python23.patch, NONE, 1.1 python-boto.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Robert Scheck (robert)
fedora-extras-commits at redhat.com
Fri Aug 31 09:05:59 UTC 2007
- Previous message: rpms/python-boto/EL-4 python-boto-0.9b-python23.patch, NONE, 1.1 python-boto.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/smb4k/devel smb4k.spec,1.21,1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: robert
Update of /cvs/pkgs/rpms/python-boto/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20736
Modified Files:
.cvsignore sources
Added Files:
python-boto-0.9b-python23.patch python-boto.spec
Log Message:
Initial import
python-boto-0.9b-python23.patch:
--- NEW FILE python-boto-0.9b-python23.patch ---
Patch by Robert Scheck <robert at fedoraproject.org> which makes boto >= 0.9b working
by using the older Python 2.3, that doesn't support the non-decorator syntax, which
is used at @staticmethod.
--- boto-0.9b/boto/mturk/connection.py 2007-06-04 23:19:27.000000000 +0200
+++ boto-0.9b/boto/mturk/connection.py.python23 2007-08-30 12:53:24.000000000 +0200
@@ -171,7 +171,6 @@
else:
raise EC2ResponseError(response.status, response.reason, body)
- @staticmethod
def get_keywords_as_string(keywords):
"""
Returns a comma+space-separated string of keywords from either a list or a string
@@ -185,8 +184,8 @@
else:
raise TypeError("keywords argument must be a string or a list of strings; got a %s" % type(keywords))
return final_keywords
+ get_keywords_as_string = staticmethod(get_keywords_as_string)
- @staticmethod
def get_price_as_price(reward):
"""
Returns a Price data structure from either a float or a Price
@@ -196,3 +195,4 @@
else:
final_price = Price(reward)
return final_price
+ get_price_as_price = staticmethod(get_price_as_price)
--- NEW FILE python-boto.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define pkgname boto
Summary: A simple lightweight interface to Amazon Web Services
Name: python-boto
Version: 0.9b
Release: 1%{?dist}
License: MIT
Group: Development/Languages
URL: http://code.google.com/p/%{pkgname}/
Source: http://boto.googlecode.com/files/%{pkgname}-%{version}.tar.gz
Patch: python-boto-0.9b-python23.patch
BuildRequires: python-devel >= 2.3
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Boto is a Python package that provides interfaces to Amazon Web Services.
It supports S3 (Simple Storage Service), SQS (Simple Queue Service) via
the REST API's provided by those services and EC2 (Elastic Compute Cloud)
via the Query API. The goal of boto is to provide a very simple, easy to
use, lightweight wrapper around the Amazon services.
%prep
%setup -q -n %{pkgname}-%{version}
%patch -p1 -b .python23
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
# Remove all test scripts
rm -rf $RPM_BUILD_ROOT{%{_bindir},%{python_sitelib}/tests}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README
%{python_sitelib}/%{pkgname}/
%changelog
* Thu Aug 30 2007 Robert Scheck <robert at fedoraproject.org> 0.9b-1
- Upgrade to 0.9b
- Initial spec file for Fedora and Red Hat Enterprise Linux
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-boto/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 31 Aug 2007 01:21:00 -0000 1.1
+++ .cvsignore 31 Aug 2007 09:05:26 -0000 1.2
@@ -0,0 +1 @@
+boto-0.9b.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-boto/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 31 Aug 2007 01:21:00 -0000 1.1
+++ sources 31 Aug 2007 09:05:26 -0000 1.2
@@ -0,0 +1 @@
+b7591fd2515dcd75fd01095473381c87 boto-0.9b.tar.gz
- Previous message: rpms/python-boto/EL-4 python-boto-0.9b-python23.patch, NONE, 1.1 python-boto.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/smb4k/devel smb4k.spec,1.21,1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list