commit python-Ming for openSUSE:Factory

2020-08-19 Thread root
Hello community,

here is the log from the commit of package python-Ming for openSUSE:Factory 
checked in at 2020-08-19 18:56:02

Comparing /work/SRC/openSUSE:Factory/python-Ming (Old)
 and  /work/SRC/openSUSE:Factory/.python-Ming.new.3399 (New)


Package is "python-Ming"

Wed Aug 19 18:56:02 2020 rev:12 rq:827704 version:0.10.2

Changes:

--- /work/SRC/openSUSE:Factory/python-Ming/python-Ming.changes  2020-03-26 
23:37:51.750874447 +0100
+++ /work/SRC/openSUSE:Factory/.python-Ming.new.3399/python-Ming.changes
2020-08-19 18:57:12.419859399 +0200
@@ -1,0 +2,23 @@
+Sat Aug 15 09:37:39 UTC 2020 - John Vandenberg 
+
+- Improve Summary
+- Add %license from upstream repository
+- Replace nose with pytest
+- Tidy spec
+- Remove Recommends python-python-spidermonkey which is not buildable
+- Remove pymongo-reqs.patch merged upstream
+- Replace 0001-disable_test_gridfs.patch with inline "rm" command
+- Update to v0.10.2
+  * Fix error using save() and no _id
+  * MIM: Avoid errors from _ensure_orig_key when positional $ is used
+- from v0.10.1
+  * fix situation with gridfs indexes and MIM
+  * fix validate=False and update some MIM params to match pymongo closer
+- from v0.10.0
+  * Support for PyMongo 3.10
+  * Support for Python 3.8
+  * Removed start_request/end_request from MIM
+  * Added Cursor.close to MIM
+  * Moved testing from nose to unittest
+
+---

Old:

  0001-disable_test_gridfs.patch
  Ming-0.9.2.tar.gz
  pymongo-reqs.patch

New:

  LICENSE.txt
  Ming-0.10.2.tar.gz



Other differences:
--
++ python-Ming.spec ++
--- /var/tmp/diff_new_pack.jZgE0i/_old  2020-08-19 18:57:13.799860132 +0200
+++ /var/tmp/diff_new_pack.jZgE0i/_new  2020-08-19 18:57:13.799860132 +0200
@@ -18,40 +18,40 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-Ming
-Version:0.9.2
+Version:0.10.2
 Release:0
-Summary:Bringing order to Mongo since 2009
+Summary:Database mapping layer for MongoDB on Python
 License:MIT
 Group:  Development/Languages/Python
-URL:http://merciless.sourceforge.net
+URL:https://github.com/TurboGears/Ming
 Source: 
https://files.pythonhosted.org/packages/source/M/Ming/Ming-%{version}.tar.gz
-Patch0: 0001-disable_test_gridfs.patch
-Patch1: pymongo-reqs.patch
+Source1:
https://raw.githubusercontent.com/TurboGears/Ming/master/LICENSE.txt
 BuildRequires:  %{python_module FormEncode >= 1.2.1}
 BuildRequires:  %{python_module WebOb}
 BuildRequires:  %{python_module WebTest}
 BuildRequires:  %{python_module mock >= 0.8.0}
-BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module pymongo >= 2.4}
+BuildRequires:  %{python_module pymongo >= 3.0}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-pymongo >= 3.0
 Requires:   python-pytz
 Requires:   python-six >= 1.6.1
 Recommends: python-FormEncode >= 1.2.1
-Recommends: python-python-spidermonkey >= 0.0.10
 BuildArch:  noarch
 %python_subpackages
 
 %description
-Database mapping layer for MongoDB on Python. Includes schema enforcement and 
some facilities for schema migration.
+Database mapping layer for MongoDB on Python.
+Includes schema enforcement and some facilities for schema migration.
 
 %prep
 %setup -q -n Ming-%{version}
-%patch0 -p1
-%patch1 -p1
+cp %{SOURCE1} .
+
+# gridfs fails
+rm ming/tests/test_gridfs.py
 
 %build
 %python_build
@@ -61,11 +61,12 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py -q test
+# Real tests require running mongo instance
+%pytest -rs -k 'not (TestMappingReal or TestRealBasicMapping or 
TestRealMongoRelation)'
 
 %files %{python_files}
 %doc README.rst
-# no license available, neither in the tarball nor upstream
+%license LICENSE.txt
 %{python_sitelib}/*
 
 %changelog

++ LICENSE.txt ++
This is the MIT license:
http://www.opensource.org/licenses/mit-license.php

Copyright (c) 2019 Rick Copeland, Alessandro Molina and contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy of 
this software and associated documentation files (the "Software"), to deal in 
the Software without restriction, including without limitation the rights to 
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the Software, and to permit persons to whom the Software is furnished to do 
so, subject to the following conditions:

The above copyright notice and this permission 

commit python-Ming for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-Ming for openSUSE:Factory 
checked in at 2020-03-26 23:37:49

Comparing /work/SRC/openSUSE:Factory/python-Ming (Old)
 and  /work/SRC/openSUSE:Factory/.python-Ming.new.3160 (New)


Package is "python-Ming"

Thu Mar 26 23:37:49 2020 rev:11 rq:788606 version:0.9.2

Changes:

--- /work/SRC/openSUSE:Factory/python-Ming/python-Ming.changes  2019-07-26 
17:34:00.248094862 +0200
+++ /work/SRC/openSUSE:Factory/.python-Ming.new.3160/python-Ming.changes
2020-03-26 23:37:51.750874447 +0100
@@ -1,0 +2,6 @@
+Thu Mar 26 15:58:41 UTC 2020 - Marketa Calabkova 
+
+- update to 0.9.2
+  * Support ODM before_save hook on Python 3
+
+---

Old:

  Ming-0.9.1.tar.gz

New:

  Ming-0.9.2.tar.gz



Other differences:
--
++ python-Ming.spec ++
--- /var/tmp/diff_new_pack.BcBhG9/_old  2020-03-26 23:37:52.302874646 +0100
+++ /var/tmp/diff_new_pack.BcBhG9/_new  2020-03-26 23:37:52.302874646 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Ming
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-Ming
-Version:0.9.1
+Version:0.9.2
 Release:0
 Summary:Bringing order to Mongo since 2009
 License:MIT

++ Ming-0.9.1.tar.gz -> Ming-0.9.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Ming-0.9.1/Ming.egg-info/PKG-INFO 
new/Ming-0.9.2/Ming.egg-info/PKG-INFO
--- old/Ming-0.9.1/Ming.egg-info/PKG-INFO   2019-05-15 14:36:53.0 
+0200
+++ new/Ming-0.9.2/Ming.egg-info/PKG-INFO   2020-03-12 19:48:36.0 
+0100
@@ -1,12 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: Ming
-Version: 0.9.1
+Version: 0.9.2
 Summary: Bringing order to Mongo since 2009
 Home-page: https://github.com/TurboGears/Ming
 Author: Rick Copeland
 Author-email: r...@geek.net
 License: MIT
-Description-Content-Type: UNKNOWN
 Description: Database mapping layer for MongoDB on Python. Includes schema 
enforcement and some facilities for schema migration.
 
 Keywords: mongo,pymongo
@@ -26,3 +25,4 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Provides-Extra: configure
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Ming-0.9.1/Ming.egg-info/SOURCES.txt 
new/Ming-0.9.2/Ming.egg-info/SOURCES.txt
--- old/Ming-0.9.1/Ming.egg-info/SOURCES.txt2019-05-15 14:36:53.0 
+0200
+++ new/Ming-0.9.2/Ming.egg-info/SOURCES.txt2020-03-12 19:48:36.0 
+0100
@@ -5,12 +5,10 @@
 Ming.egg-info/SOURCES.txt
 Ming.egg-info/dependency_links.txt
 Ming.egg-info/entry_points.txt
-Ming.egg-info/pbr.json
 Ming.egg-info/requires.txt
 Ming.egg-info/top_level.txt
 Ming.egg-info/zip-safe
 ming/__init__.py
-ming/allura.py
 ming/base.py
 ming/compat.py
 ming/config.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Ming-0.9.1/Ming.egg-info/pbr.json 
new/Ming-0.9.2/Ming.egg-info/pbr.json
--- old/Ming-0.9.1/Ming.egg-info/pbr.json   2015-08-20 19:43:02.0 
+0200
+++ new/Ming-0.9.2/Ming.egg-info/pbr.json   1970-01-01 01:00:00.0 
+0100
@@ -1 +0,0 @@
-{"is_release": false, "git_version": "b0da88a"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Ming-0.9.1/PKG-INFO new/Ming-0.9.2/PKG-INFO
--- old/Ming-0.9.1/PKG-INFO 2019-05-15 14:36:53.0 +0200
+++ new/Ming-0.9.2/PKG-INFO 2020-03-12 19:48:37.0 +0100
@@ -1,12 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: Ming
-Version: 0.9.1
+Version: 0.9.2
 Summary: Bringing order to Mongo since 2009
 Home-page: https://github.com/TurboGears/Ming
 Author: Rick Copeland
 Author-email: r...@geek.net
 License: MIT
-Description-Content-Type: UNKNOWN
 Description: Database mapping layer for MongoDB on Python. Includes schema 
enforcement and some facilities for schema migration.
 
 Keywords: mongo,pymongo
@@ -26,3 +25,4 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Provides-Extra: configure
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit python-Ming for openSUSE:Factory

2019-07-26 Thread root
Hello community,

here is the log from the commit of package python-Ming for openSUSE:Factory 
checked in at 2019-07-26 17:33:57

Comparing /work/SRC/openSUSE:Factory/python-Ming (Old)
 and  /work/SRC/openSUSE:Factory/.python-Ming.new.4126 (New)


Package is "python-Ming"

Fri Jul 26 17:33:57 2019 rev:10 rq:718793 version:0.9.1

Changes:

--- /work/SRC/openSUSE:Factory/python-Ming/python-Ming.changes  2015-04-13 
20:31:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Ming.new.4126/python-Ming.changes
2019-07-26 17:34:00.248094862 +0200
@@ -1,0 +2,14 @@
+Fri Jul 26 08:39:34 UTC 2019 - Marketa Calabkova 
+
+- rewrite to single-spec
+- update to 0.9.1
+  * Deprecation of make_safe for Ming Documents
+  * FormEncode is now an optional dependency only required for 
+projects relying on ming.configure.
+  * Python 3.7 is now officially supported
+  * Support distinct() on cursors (already supported on collections)
+- patch 0001-disable_test_gridfs.patch still relevant probably due 
+  to too new pymongo, gridfs tests are still failing
+- Added patch pymongo-reqs.patch to unpin pymongo version
+
+---

Old:

  Ming-0.5.1.tar.gz

New:

  Ming-0.9.1.tar.gz
  pymongo-reqs.patch



Other differences:
--
++ python-Ming.spec ++
--- /var/tmp/diff_new_pack.Qr3Ckl/_old  2019-07-26 17:34:00.940094589 +0200
+++ /var/tmp/diff_new_pack.Qr3Ckl/_new  2019-07-26 17:34:00.944094587 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Ming
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,41 +12,38 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-Ming
-Version:0.5.1
+Version:0.9.1
 Release:0
 Summary:Bringing order to Mongo since 2009
 License:MIT
 Group:  Development/Languages/Python
-Url:http://merciless.sourceforge.net
-Source: 
https://pypi.python.org/packages/source/M/Ming/Ming-%version.tar.gz
-# PATCH-FIX-UPSTREAM 0001-disable_test_gridfs.patch sfal...@opensuse.org -- 
Patch disables failing build tests (sf#merciless/bugs/#27)
+URL:http://merciless.sourceforge.net
+Source: 
https://files.pythonhosted.org/packages/source/M/Ming/Ming-%{version}.tar.gz
 Patch0: 0001-disable_test_gridfs.patch
-BuildRequires:  python-FormEncode >= 1.2.1
-BuildRequires:  python-WebOb
-BuildRequires:  python-WebTest
-BuildRequires:  python-devel
-BuildRequires:  python-mock >= 0.8.0
-BuildRequires:  python-nose
-BuildRequires:  python-pymongo >= 2.4
-BuildRequires:  python-pytz
-BuildRequires:  python-setuptools
-BuildRequires:  python-six >= 1.6.1
-Requires:   python-FormEncode >= 1.2.1
-Requires:   python-WebOb
-Requires:   python-pymongo >= 2.4
+Patch1: pymongo-reqs.patch
+BuildRequires:  %{python_module FormEncode >= 1.2.1}
+BuildRequires:  %{python_module WebOb}
+BuildRequires:  %{python_module WebTest}
+BuildRequires:  %{python_module mock >= 0.8.0}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pymongo >= 2.4}
+BuildRequires:  %{python_module pytz}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:   python-pymongo >= 3.0
+Requires:   python-pytz
 Requires:   python-six >= 1.6.1
+Recommends: python-FormEncode >= 1.2.1
 Recommends: python-python-spidermonkey >= 0.0.10
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 Database mapping layer for MongoDB on Python. Includes schema enforcement and 
some facilities for schema migration.
@@ -54,21 +51,21 @@
 %prep
 %setup -q -n Ming-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if 0%{?suse_version} > 1110
 %check
-python setup.py -q test
-%endif
+%python_exec 

commit python-Ming for openSUSE:Factory

2015-04-13 Thread h_root
Hello community,

here is the log from the commit of package python-Ming for openSUSE:Factory 
checked in at 2015-04-13 20:31:36

Comparing /work/SRC/openSUSE:Factory/python-Ming (Old)
 and  /work/SRC/openSUSE:Factory/.python-Ming.new (New)


Package is python-Ming

Changes:

--- /work/SRC/openSUSE:Factory/python-Ming/python-Ming.changes  2014-08-20 
10:51:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Ming.new/python-Ming.changes 
2015-04-13 20:31:39.0 +0200
@@ -1,0 +2,49 @@
+Sun Apr 12 16:16:53 UTC 2015 - benoit.mo...@gmx.fr
+
+- update to 0.5.1:
+  * Cursor compatibility for Python 3
+- additional changes from 0.5.0:
+  * Compatible with pymongo 2.7
+  * Compatible with Python 3.3 and 3.4
+  * Compatible with PyPy
+  * Fix update_if_not_modified
+  * MIM: support float comparisons
+  * ming.configure now allows any extra params to pass through to
+MongoClient
+- additional changes from 0.4.7:
+  * Add allow_none option to ForeignIdProperty
+- additional changes from 0.4.6:
+  * Fixed issue with if_missing for ForeignIdProperty
+- additional changes from 0.4.5:
+  * avoid extremely long error text
+  * Fixed random generated ObjectId on empty ForeignIdProperty
+- additional changes from 0.4.4:
+  * Revert ForeignIdProperty None optimization
+  * Fix delete event hook signatures
+  * Fix typo when flushing an individual object flagged for deletion
+- additional changes from 0.4.3:
+  * Return result of update_partial()
+  * ManyToMany support relying on a list of ObjectIds
+  * Make RelationProperty writable
+  * Support for all pymongo options in custom_indexes declaration
+  * Permit relationships that point to same model
+  * Fix wrong behavior for MIM find_and_modify new option and add
+test case
+  * ForeignIdProperty None optimization
+- additional changes from 0.4.2:
+  * bool(cursor) now raises an Exception
+  * schema migration now raises the new schema error if both old
+ new are invalid
+  * aggregation methods added to session
+  * MIM: support for indexing multi-valued properties
+  * MIM: forcing numerical keys as strings
+  * MIM: add `manipulate` arg to `insert` for closer pymongo
+compatibility
+- refresh 0001-disable_test_gridfs.patch:
+  * one test added back since it passes
+  * three new tests skipped
+- change source URL to pipy: sourceforge is not up to date
+- add new dependency to python-six
+- quiet the test run to avoid spamming to build log
+
+---

Old:

  Ming-0.4.1.tar.gz

New:

  Ming-0.5.1.tar.gz



Other differences:
--
++ python-Ming.spec ++
--- /var/tmp/diff_new_pack.ZCfye5/_old  2015-04-13 20:31:40.0 +0200
+++ /var/tmp/diff_new_pack.ZCfye5/_new  2015-04-13 20:31:40.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Ming
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:   python-Ming
-Version:0.4.1
+Version:0.5.1
 Release:0
 Summary:Bringing order to Mongo since 2009
 License:MIT
 Group:  Development/Languages/Python
 Url:http://merciless.sourceforge.net
-Source: 
http://downloads.sourceforge.net/project/merciless/%version/Ming-%version.tar.gz
+Source: 
https://pypi.python.org/packages/source/M/Ming/Ming-%version.tar.gz
 # PATCH-FIX-UPSTREAM 0001-disable_test_gridfs.patch sfal...@opensuse.org -- 
Patch disables failing build tests (sf#merciless/bugs/#27)
 Patch0: 0001-disable_test_gridfs.patch
 BuildRequires:  python-FormEncode = 1.2.1
@@ -35,9 +35,11 @@
 BuildRequires:  python-pymongo = 2.4
 BuildRequires:  python-pytz
 BuildRequires:  python-setuptools
+BuildRequires:  python-six = 1.6.1
 Requires:   python-FormEncode = 1.2.1
 Requires:   python-WebOb
 Requires:   python-pymongo = 2.4
+Requires:   python-six = 1.6.1
 Recommends: python-python-spidermonkey = 0.0.10
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}  0%{?suse_version} = 1110
@@ -61,7 +63,7 @@
 
 %if 0%{?suse_version}  1110
 %check
-python setup.py test
+python setup.py -q test
 %endif
 
 %files

++ 0001-disable_test_gridfs.patch ++
--- /var/tmp/diff_new_pack.ZCfye5/_old  2015-04-13 20:31:40.0 +0200
+++ /var/tmp/diff_new_pack.ZCfye5/_new  2015-04-13 20:31:40.0 +0200
@@ -1,7 +1,8 @@
-diff -rupN Ming-0.4.2.old/ming/tests/test_gridfs.py 
Ming-0.4.2/ming/tests/test_gridfs.py
 

commit python-Ming for openSUSE:Factory

2014-08-20 Thread h_root
Hello community,

here is the log from the commit of package python-Ming for openSUSE:Factory 
checked in at 2014-08-20 10:51:14

Comparing /work/SRC/openSUSE:Factory/python-Ming (Old)
 and  /work/SRC/openSUSE:Factory/.python-Ming.new (New)


Package is python-Ming

Changes:

--- /work/SRC/openSUSE:Factory/python-Ming/python-Ming.changes  2013-10-25 
11:21:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Ming.new/python-Ming.changes 
2014-08-20 10:51:42.0 +0200
@@ -1,0 +2,6 @@
+Fri Aug 15 18:00:47 UTC 2014 - sfal...@opensuse.org
+
+- Added 0001-disable_test_gridfs.patch
+  + Disables build tests that were causing build to fail 
(sf#merciless/bugs/#27)
+
+---

New:

  0001-disable_test_gridfs.patch



Other differences:
--
++ python-Ming.spec ++
--- /var/tmp/diff_new_pack.QtwejC/_old  2014-08-20 10:51:44.0 +0200
+++ /var/tmp/diff_new_pack.QtwejC/_new  2014-08-20 10:51:44.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Ming
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -24,6 +24,8 @@
 Group:  Development/Languages/Python
 Url:http://merciless.sourceforge.net
 Source: 
http://downloads.sourceforge.net/project/merciless/%version/Ming-%version.tar.gz
+# PATCH-FIX-UPSTREAM 0001-disable_test_gridfs.patch sfal...@opensuse.org -- 
Patch disables failing build tests (sf#merciless/bugs/#27)
+Patch0: 0001-disable_test_gridfs.patch
 BuildRequires:  python-FormEncode = 1.2.1
 BuildRequires:  python-WebOb
 BuildRequires:  python-WebTest
@@ -49,6 +51,7 @@
 
 %prep
 %setup -q -n Ming-%{version}
+%patch0 -p1
 
 %build
 python setup.py build

++ 0001-disable_test_gridfs.patch ++
diff -rupN Ming-0.4.2.old/ming/tests/test_gridfs.py 
Ming-0.4.2/ming/tests/test_gridfs.py
--- Ming-0.4.2.old/ming/tests/test_gridfs.py2012-09-12 11:59:05.0 
-0700
+++ Ming-0.4.2/ming/tests/test_gridfs.py2014-08-15 10:37:40.422259205 
-0700
@@ -31,62 +31,3 @@ class TestFS(TestCase):
 
 def tearDown(self):
 self.ds.bind.drop_all()
-
-def test_simple(self):
-with self.TestFS.m.new_file('test.txt') as fp:
-fp.write('The quick brown fox')
-fp.write(' jumped over the lazy dog')
-assert self.TestFS.m.exists(filename='test.txt')
-self.assertEqual(fp.filename, 'test.txt')
-self.assertEqual(fp.content_type, 'text/plain')
-fp = self.TestFS.m.get_last_version(filename='test.txt')
-self.assertEqual(
-fp.read(), 'The quick brown fox jumped over the lazy dog')
-self.assertEqual(self.TestFS.m.find().count(), 1)
-fobj = self.TestFS.m.get()
-self.assertEqual(fobj.filename, 'test.txt')
-self.assertEqual(fobj.content_type, 'text/plain')
-self.assertEqual(fobj.length, 44)
-fobj.m.delete()
-assert not self.TestFS.m.exists(filename='test.txt')
-fobj = self.TestFS.m.get()
-assert fobj is None
-
-def test_strange_mimetype(self):
-with self.TestFS.m.new_file('test.ming') as fp:
-fp.write('The quick brown fox')
-fp.write(' jumped over the lazy dog')
-self.assertEqual(fp.filename, 'test.ming')
-self.assertEqual(fp.content_type, 'application/octet-stream')
-
-def test_put(self):
-self.TestFS.m.put('test.txt', 'The quick brown fox')
-assert self.TestFS.m.exists(filename='test.txt')
-fp = self.TestFS.m.get_last_version(filename='test.txt')
-self.assertEqual(
-fp.read(), 'The quick brown fox')
-
-def test_get_file(self):
-self.TestFS.m.put('test.txt', 'The quick brown fox')
-fp = self.TestFS.m.get_last_version(filename='test.txt')
-fpid = fp._id
-self.assertEqual(self.TestFS.m.get_file(fpid).filename, 'test.txt')
-
-def test_get_version(self):
-self.TestFS.m.put('test.txt', 'The quick brown fox')
-time.sleep(0.01)
-self.TestFS.m.put('test.txt', 'jumped over the lazy dog')
-self.assertEqual(
-self.TestFS.m.get_last_version('test.txt').read(),
-'jumped over the lazy dog')
-self.assertEqual(
-self.TestFS.m.get_version('test.txt', 0).read(),
-'The quick brown fox')
-self.assertEqual(
-self.TestFS.m.get_version('test.txt', 1).read(),
-'jumped over the lazy dog')
-self.assertEqual(
- 

commit python-Ming for openSUSE:Factory

2013-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-Ming for openSUSE:Factory 
checked in at 2013-10-25 11:21:52

Comparing /work/SRC/openSUSE:Factory/python-Ming (Old)
 and  /work/SRC/openSUSE:Factory/.python-Ming.new (New)


Package is python-Ming

Changes:

--- /work/SRC/openSUSE:Factory/python-Ming/python-Ming.changes  2013-09-03 
22:03:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Ming.new/python-Ming.changes 
2013-10-25 11:21:54.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 11:08:46 UTC 2013 - speili...@suse.com
+
+- Require python-setuptools instead of distribute (upstreams merged)
+
+---



Other differences:
--
++ python-Ming.spec ++
--- /var/tmp/diff_new_pack.6sqF9C/_old  2013-10-25 11:21:55.0 +0200
+++ /var/tmp/diff_new_pack.6sqF9C/_new  2013-10-25 11:21:55.0 +0200
@@ -28,11 +28,11 @@
 BuildRequires:  python-WebOb
 BuildRequires:  python-WebTest
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
 BuildRequires:  python-mock = 0.8.0
 BuildRequires:  python-nose
 BuildRequires:  python-pymongo = 2.4
 BuildRequires:  python-pytz
+BuildRequires:  python-setuptools
 Requires:   python-FormEncode = 1.2.1
 Requires:   python-WebOb
 Requires:   python-pymongo = 2.4

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-Ming for openSUSE:Factory

2013-09-03 Thread h_root
Hello community,

here is the log from the commit of package python-Ming for openSUSE:Factory 
checked in at 2013-09-03 22:03:44

Comparing /work/SRC/openSUSE:Factory/python-Ming (Old)
 and  /work/SRC/openSUSE:Factory/.python-Ming.new (New)


Package is python-Ming

Changes:

--- /work/SRC/openSUSE:Factory/python-Ming/python-Ming.changes  2013-06-05 
13:08:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Ming.new/python-Ming.changes 
2013-09-03 22:03:45.0 +0200
@@ -1,0 +2,18 @@
+Mon Sep  2 14:19:57 UTC 2013 - dmuel...@suse.com
+
+- update to 0.4.1:
+  * removed ‘flyway’ package from ming. It is now available from
+  https://github.com/amol-/ming-flyway This removes the dependency
+  on PasteScript and will make Python 3 migration easier.
+  * WebOb dependency is optional.
+  * removed cursor.__len__ You must change len(query) to
+  query.count() now. This prevents inadvertent extra count queries
+  from running.
+  * MIM: Support slicing cursors
+  * MIM: Fixed exact dot-notation queries
+  * MIM: Fixed dot-notation queries against null fields
+  * MIM: Translate time-zone aware timestamps to UTC timestamps.
+  pytz added as dependency
+  * MIM: Allow the remove argument to find_and_modify
+
+---

Old:

  Ming-0.3.6.tar.gz

New:

  Ming-0.4.1.tar.gz



Other differences:
--
++ python-Ming.spec ++
--- /var/tmp/diff_new_pack.UONyNE/_old  2013-09-03 22:03:46.0 +0200
+++ /var/tmp/diff_new_pack.UONyNE/_new  2013-09-03 22:03:46.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-Ming
-Version:0.3.6
+Version:0.4.1
 Release:0
 Summary:Bringing order to Mongo since 2009
 License:MIT
@@ -25,7 +25,6 @@
 Url:http://merciless.sourceforge.net
 Source: 
http://downloads.sourceforge.net/project/merciless/%version/Ming-%version.tar.gz
 BuildRequires:  python-FormEncode = 1.2.1
-BuildRequires:  python-PasteScript
 BuildRequires:  python-WebOb
 BuildRequires:  python-WebTest
 BuildRequires:  python-devel
@@ -33,8 +32,8 @@
 BuildRequires:  python-mock = 0.8.0
 BuildRequires:  python-nose
 BuildRequires:  python-pymongo = 2.4
+BuildRequires:  python-pytz
 Requires:   python-FormEncode = 1.2.1
-Requires:   python-PasteScript
 Requires:   python-WebOb
 Requires:   python-pymongo = 2.4
 Recommends: python-python-spidermonkey = 0.0.10

++ Ming-0.3.6.tar.gz - Ming-0.4.1.tar.gz ++
 80576 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-Ming for openSUSE:Factory

2013-06-05 Thread h_root
Hello community,

here is the log from the commit of package python-Ming for openSUSE:Factory 
checked in at 2013-06-05 13:08:36

Comparing /work/SRC/openSUSE:Factory/python-Ming (Old)
 and  /work/SRC/openSUSE:Factory/.python-Ming.new (New)


Package is python-Ming

Changes:

--- /work/SRC/openSUSE:Factory/python-Ming/python-Ming.changes  2013-05-03 
07:40:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Ming.new/python-Ming.changes 
2013-06-05 13:08:37.0 +0200
@@ -1,0 +2,9 @@
+Thu May 30 20:52:08 UTC 2013 - dmuel...@suse.com
+
+- update to 0.3.6:
+  * Renamed ming.orm to ming.odm
+  * Lots of bug fixes
+  * Add gridfs support to Ming
+  * Add contextual ODM sessio
+
+---

Old:

  Ming-0.3.3dev-20130322.tar.gz

New:

  Ming-0.3.6.tar.gz



Other differences:
--
++ python-Ming.spec ++
--- /var/tmp/diff_new_pack.o87cuz/_old  2013-06-05 13:08:38.0 +0200
+++ /var/tmp/diff_new_pack.o87cuz/_new  2013-06-05 13:08:38.0 +0200
@@ -16,17 +16,14 @@
 #
 
 
-# Upstream version contains a dash '-', thus:
-%define real_version 0.3.3dev-20130322
-
 Name:   python-Ming
-Version:0.3.3dev.20120322
+Version:0.3.6
 Release:0
 Summary:Bringing order to Mongo since 2009
 License:MIT
 Group:  Development/Languages/Python
 Url:http://merciless.sourceforge.net
-Source: 
http://downloads.sourceforge.net/project/merciless/%{real_version}/Ming-%{real_version}.tar.gz
+Source: 
http://downloads.sourceforge.net/project/merciless/%version/Ming-%version.tar.gz
 BuildRequires:  python-FormEncode = 1.2.1
 BuildRequires:  python-PasteScript
 BuildRequires:  python-WebOb
@@ -52,9 +49,7 @@
 Database mapping layer for MongoDB on Python. Includes schema enforcement and 
some facilities for schema migration.
 
 %prep
-%setup -q -n Ming-%{real_version}
-# Disable failing/not implemente test for now:
-rm ming/tests/test_gridfs.py
+%setup -q -n Ming-%{version}
 
 %build
 python setup.py build

++ Ming-0.3.3dev-20130322.tar.gz - Ming-0.3.6.tar.gz ++
 79597 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-Ming for openSUSE:Factory

2013-05-02 Thread h_root
Hello community,

here is the log from the commit of package python-Ming for openSUSE:Factory 
checked in at 2013-05-03 07:40:04

Comparing /work/SRC/openSUSE:Factory/python-Ming (Old)
 and  /work/SRC/openSUSE:Factory/.python-Ming.new (New)


Package is python-Ming

Changes:

--- /work/SRC/openSUSE:Factory/python-Ming/python-Ming.changes  2013-04-26 
13:32:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Ming.new/python-Ming.changes 
2013-05-03 07:40:05.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr 29 16:33:05 UTC 2013 - dmuel...@suse.com
+
+- update to 0.3.3dev-20130322
+  * various bugfixes, makes python-ceilometer testsuite almost pass 
+
+---

Old:

  Ming-0.3.2dev-20121219.tar.gz

New:

  Ming-0.3.3dev-20130322.tar.gz



Other differences:
--
++ python-Ming.spec ++
--- /var/tmp/diff_new_pack.pqiTKu/_old  2013-05-03 07:40:06.0 +0200
+++ /var/tmp/diff_new_pack.pqiTKu/_new  2013-05-03 07:40:06.0 +0200
@@ -13,31 +13,33 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
 
 # Upstream version contains a dash '-', thus:
-%define real_version 0.3.2dev-20121219
+%define real_version 0.3.3dev-20130322
 
 Name:   python-Ming
-Version:0.3.2dev.20121219
+Version:0.3.3dev.20120322
 Release:0
-License:MIT
 Summary:Bringing order to Mongo since 2009
-Url:http://merciless.sourceforge.net
+License:MIT
 Group:  Development/Languages/Python
+Url:http://merciless.sourceforge.net
 Source: 
http://downloads.sourceforge.net/project/merciless/%{real_version}/Ming-%{real_version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-distribute
-BuildRequires:  python-nose
-BuildRequires:  python-WebTest
-BuildRequires:  python-mock = 0.8.0
 BuildRequires:  python-FormEncode = 1.2.1
-BuildRequires:  python-pymongo = 2.0
 BuildRequires:  python-PasteScript
 BuildRequires:  python-WebOb
+BuildRequires:  python-WebTest
+BuildRequires:  python-devel
+BuildRequires:  python-distribute
+BuildRequires:  python-mock = 0.8.0
+BuildRequires:  python-nose
+BuildRequires:  python-pymongo = 2.4
 Requires:   python-FormEncode = 1.2.1
-Requires:   python-pymongo = 2.0
 Requires:   python-PasteScript
 Requires:   python-WebOb
+Requires:   python-pymongo = 2.4
 Recommends: python-python-spidermonkey = 0.0.10
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}  0%{?suse_version} = 1110

++ Ming-0.3.2dev-20121219.tar.gz - Ming-0.3.3dev-20130322.tar.gz ++
 1799 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-Ming for openSUSE:Factory

2013-04-26 Thread h_root
Hello community,

here is the log from the commit of package python-Ming for openSUSE:Factory 
checked in at 2013-04-26 13:32:57

Comparing /work/SRC/openSUSE:Factory/python-Ming (Old)
 and  /work/SRC/openSUSE:Factory/.python-Ming.new (New)


Package is python-Ming, Maintainer is 

Changes:

New Changes file:

--- /dev/null   2013-04-05 00:01:41.916011506 +0200
+++ /work/SRC/openSUSE:Factory/.python-Ming.new/python-Ming.changes 
2013-04-26 13:32:59.0 +0200
@@ -0,0 +1,16 @@
+---
+Wed Jan 16 11:58:46 UTC 2013 - sasc...@suse.de
+
+- Disable testsuite on SLE, the unittest module is missing features
+  on python-2.6
+
+---
+Wed Jan 16 11:03:42 UTC 2013 - sasc...@suse.de
+
+- Add (optional) dependency on python-python-spidermonkey
+
+---
+Wed Jan 16 09:20:58 UTC 2013 - sasc...@suse.de
+
+- Initial version
+

New:

  Ming-0.3.2dev-20121219.tar.gz
  python-Ming.changes
  python-Ming.spec



Other differences:
--
++ python-Ming.spec ++
#
# spec file for package python-Ming
#
# Copyright (c) 2013 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/

# Upstream version contains a dash '-', thus:
%define real_version 0.3.2dev-20121219

Name:   python-Ming
Version:0.3.2dev.20121219
Release:0
License:MIT
Summary:Bringing order to Mongo since 2009
Url:http://merciless.sourceforge.net
Group:  Development/Languages/Python
Source: 
http://downloads.sourceforge.net/project/merciless/%{real_version}/Ming-%{real_version}.tar.gz
BuildRequires:  python-devel
BuildRequires:  python-distribute
BuildRequires:  python-nose
BuildRequires:  python-WebTest
BuildRequires:  python-mock = 0.8.0
BuildRequires:  python-FormEncode = 1.2.1
BuildRequires:  python-pymongo = 2.0
BuildRequires:  python-PasteScript
BuildRequires:  python-WebOb
Requires:   python-FormEncode = 1.2.1
Requires:   python-pymongo = 2.0
Requires:   python-PasteScript
Requires:   python-WebOb
Recommends: python-python-spidermonkey = 0.0.10
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}  0%{?suse_version} = 1110
%{!?python_sitelib: %global python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
%else
BuildArch:  noarch
%endif

%description
Database mapping layer for MongoDB on Python. Includes schema enforcement and 
some facilities for schema migration.

%prep
%setup -q -n Ming-%{real_version}
# Disable failing/not implemente test for now:
rm ming/tests/test_gridfs.py

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%if 0%{?suse_version}  1110
%check
python setup.py test
%endif

%files
%defattr(-,root,root,-)
%doc README
%{python_sitelib}/*

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org