From 517bacf6c7668114489ee0f2ab12d4a5333c41d7d33f23a9fe167de1a8dffee9 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 4 Oct 2012 06:52:59 +0000 Subject: [PATCH] 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 --- pymongo-2.1.1.tar.gz | 3 -- pymongo-2.3.tar.gz | 3 ++ python-pymongo.changes | 17 ++++++++++- python-pymongo.spec | 2 +- python3-pymongo.changes | 38 +++++++++++++++++++++++++ python3-pymongo.spec | 63 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 121 insertions(+), 5 deletions(-) delete mode 100644 pymongo-2.1.1.tar.gz create mode 100644 pymongo-2.3.tar.gz create mode 100644 python3-pymongo.changes create mode 100644 python3-pymongo.spec diff --git a/pymongo-2.1.1.tar.gz b/pymongo-2.1.1.tar.gz deleted file mode 100644 index 2d142f3..0000000 --- a/pymongo-2.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7dd891ce2088a2d21f172102be530cc3083571a0f1eecfa0aff612da8076c37b -size 199974 diff --git a/pymongo-2.3.tar.gz b/pymongo-2.3.tar.gz new file mode 100644 index 0000000..a674a58 --- /dev/null +++ b/pymongo-2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e43fdd7ea8e2aa965791af1b6e24186248023c6fde70092d9631b1d9150b1dc +size 254199 diff --git a/python-pymongo.changes b/python-pymongo.changes index 69d1b95..5ea9859 100644 --- a/python-pymongo.changes +++ b/python-pymongo.changes @@ -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 MongoDB’s 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. diff --git a/python-pymongo.spec b/python-pymongo.spec index 5784b5a..2c72ca8 100644 --- a/python-pymongo.spec +++ b/python-pymongo.spec @@ -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 diff --git a/python3-pymongo.changes b/python3-pymongo.changes new file mode 100644 index 0000000..bbc6385 --- /dev/null +++ b/python3-pymongo.changes @@ -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 MongoDB’s 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. diff --git a/python3-pymongo.spec b/python3-pymongo.spec new file mode 100644 index 0000000..9e5a29a --- /dev/null +++ b/python3-pymongo.spec @@ -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