14
0

Accepting request 136092 from home:MargueriteSu:branches:devel:languages:python

update version 2.3

OBS-URL: https://build.opensuse.org/request/show/136092
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=6
This commit is contained in:
Sascha Peilicke
2012-10-04 06:52:59 +00:00
committed by Git OBS Bridge
parent f9a1830ec0
commit 517bacf6c7
6 changed files with 121 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7dd891ce2088a2d21f172102be530cc3083571a0f1eecfa0aff612da8076c37b
size 199974

3
pymongo-2.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e43fdd7ea8e2aa965791af1b6e24186248023c6fde70092d9631b1d9150b1dc
size 254199

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Sep 24 12:03:51 UTC 2012 - i@marguerite.su
- Update to version 2.3
* fixes see https://jira.mongodb.org/browse/PYTHON/fixforversion/11146
* Support for expanded read preferences including directing
reads to tagged servers - See Secondary Reads for more
information.
* Support for mongos failover - See High Availability and
mongos for more information.
* A new aggregate() method to support MongoDBs new
aggregation framework.
* Support for legacy Java and C# byte order when encoding
and decoding UUIDs.
* Support for connecting directly to an arbiter.
-------------------------------------------------------------------
Tue Mar 27 08:41:06 UTC 2012 - saschpe@suse.de
@@ -12,7 +28,6 @@ Tue Feb 28 08:54:00 UTC 2012 - saschpe@suse.de
- Require mongodb
-------------------------------------------------------------------
>>>>>>> ./python-pymongo.changes.r1
Sat Mar 26 00:03:48 UTC 2011 - alexandre@exatati.com.br
- Initial package (1.9) for openSUSE.

View File

@@ -17,7 +17,7 @@
Name: python-pymongo
Version: 2.1.1
Version: 2.3
Release: 0
Url: http://github.com/mongodb/mongo-python-driver
Summary: Python driver for MongoDB

38
python3-pymongo.changes Normal file
View File

@@ -0,0 +1,38 @@
-------------------------------------------------------------------
Wed Sep 26 08:51:11 UTC 2012 - jzheng@suse.com
- change to use python3
-------------------------------------------------------------------
Mon Sep 24 12:03:51 UTC 2012 - i@marguerite.su
- Update to version 2.3
* fixes see https://jira.mongodb.org/browse/PYTHON/fixforversion/11146
* Support for expanded read preferences including directing
reads to tagged servers - See Secondary Reads for more
information.
* Support for mongos failover - See High Availability and
mongos for more information.
* A new aggregate() method to support MongoDBs new
aggregation framework.
* Support for legacy Java and C# byte order when encoding
and decoding UUIDs.
* Support for connecting directly to an arbiter.
-------------------------------------------------------------------
Tue Mar 27 08:41:06 UTC 2012 - saschpe@suse.de
- Change requires on mongodb to suggests, a weak dependency is better
-------------------------------------------------------------------
Tue Feb 28 08:54:00 UTC 2012 - saschpe@suse.de
- Update to version 2.1.1
* See https://jira.mongodb.org/browse/PYTHON/fixforversion/11081
for details
- Require mongodb
-------------------------------------------------------------------
Sat Mar 26 00:03:48 UTC 2011 - alexandre@exatati.com.br
- Initial package (1.9) for openSUSE.

63
python3-pymongo.spec Normal file
View File

@@ -0,0 +1,63 @@
#
# spec file for package python-pymongo
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python3-pymongo
Version: 2.3
Release: 0
Url: http://github.com/mongodb/mongo-python-driver
Summary: Python driver for MongoDB
License: Apache-2.0
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/pymongo/pymongo-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3
BuildRequires: python3-2to3
BuildRequires: python3-devel
BuildRequires: python3-distribute
#BuildRequires: python-nose
Suggests: mongodb
%if %{?suse_version} <= 1140
%define python3_sitearch /usr/lib64/python3.1/site-packages
%endif
%description
The PyMongo distribution contains tools for interacting with MongoDB
database from Python. The bson package is an implementation of
the BSON format for Python. The pymongo package is a native Python
driver for MongoDB. The gridfs package is a gridfs
implementation on top of pymongo.
%prep
%setup -q -n pymongo-%{version}
%build
2to3 .
CFLAGS="%{optflags}" python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
#%%check
#python setup.py test
%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
%{python3_sitearch}/*
%changelog