commit python-storm for openSUSE:Factory

2018-06-08 Thread root
Hello community,

here is the log from the commit of package python-storm for openSUSE:Factory 
checked in at 2018-06-08 23:13:00

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


Package is "python-storm"

Fri Jun  8 23:13:00 2018 rev:8 rq:613319 version:0.20

Changes:

--- /work/SRC/openSUSE:Factory/python-storm/python-storm.changes
2013-11-18 10:54:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-storm.new/python-storm.changes   
2018-06-08 23:13:02.429318628 +0200
@@ -1,0 +2,9 @@
+Wed May 30 21:08:14 UTC 2018 - mc...@suse.com
+
+- Clean up SPEC file and converstion to the single spec (py3k switched
+  off, though)
+- Don't package tests/ directory
+- New patch, storm-0.20-remove-ez_setup.patch ... ez_setup breaks py3k
+  and it is unnecessary, so I just remove it from setup.py
+
+---

Old:

  storm-0.20.tar.bz2

New:

  storm-0.20-remove-ez_setup.patch
  storm-0.20.tar.gz



Other differences:
--
++ python-storm.spec ++
--- /var/tmp/diff_new_pack.Q6VDRY/_old  2018-06-08 23:13:03.049296240 +0200
+++ /var/tmp/diff_new_pack.Q6VDRY/_new  2018-06-08 23:13:03.053296095 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-storm
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,21 +16,26 @@
 #
 
 
-Name:   python-storm
+%define skip_python3 1
+
+%define modname storm
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
+Name:   python-%{modname}
 Version:0.20
 Release:0
-Url:http://storm.canonical.com/
 Summary:An object-relational mapper (ORM) for Python
-License:LGPL-2.0+
+License:LGPL-2.0-or-later
 Group:  Development/Languages/Python
-Source: 
https://pypi.python.org/packages/source/s/storm/storm-%{version}.tar.bz2
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-Requires:   python-storm-backend = %{version}
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%endif
+URL:https://storm.canonical.com
+Source: 
https://files.pythonhosted.org/packages/source/s/storm/storm-%{version}.tar.gz
+Patch:  storm-0.20-remove-ez_setup.patch
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:   python-%{modname}-backend = %{version}
+%python_subpackages
 
 %description
 Storm is an object-relational mapper (ORM) for Python developed at
@@ -63,6 +68,8 @@
 Group:  Development/Languages/Python
 Requires:   %{name} = %{version}
 Requires:   python-django
+Provides:   %{python_module %{modname}-backend = %{version}}
+Provides:   %{python_module django = %{version}}
 
 %description django
 The python-storm-django package contains the Django support for the Storm ORM.
@@ -70,7 +77,8 @@
 %package mysql
 Summary:MySQL backend for the Storm ORM
 Group:  Development/Languages/Python
-Provides:   %{name}-backend = %{version}
+Provides:   %{python_module %{modname}-backend = %{version}}
+Provides:   %{python_module mysql = %{version}}
 Requires:   %{name} = %{version}
 
 %description mysql
@@ -79,7 +87,8 @@
 %package postgresql
 Summary:PostgreSQL backend for the Storm ORM
 Group:  Development/Languages/Python
-Provides:   %{name}-backend = %{version}
+Provides:   %{python_module %{modname}-backend = %{version}}
+Provides:   %{python_module postgresql = %{version}}
 Requires:   %{name} = %{version}
 Requires:   python-psycopg2
 
@@ -92,43 +101,43 @@
 Group:  Development/Languages/Python
 Requires:   %{name} = %{version}
 Requires:   python-Twisted
+Provides:   %{python_module twisted = %{version}}
 
 %description twisted
 This package contains the Django support for the Storm ORM.
 
 %prep
-%setup -q -n storm-%{version}
+%setup -q -n %{modname}-%{version}
+%patch -p1
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --root=%{buildroot} --prefix=%{_prefix}
+%python_install
+%python_expand rm -rfv %{buildroot}%{$python_sitearch}/tests
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
+
+%files 

commit python-storm for openSUSE:Factory

2013-11-18 Thread h_root
Hello community,

here is the log from the commit of package python-storm for openSUSE:Factory 
checked in at 2013-11-18 10:53:59

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


Package is python-storm

Changes:

--- /work/SRC/openSUSE:Factory/python-storm/python-storm.changes
2013-10-25 11:33:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-storm.new/python-storm.changes   
2013-11-18 10:54:00.0 +0100
@@ -1,0 +2,56 @@
+Sun Nov 17 18:42:10 UTC 2013 - p.drou...@gmail.com
+
+- Update to version 0.20
+  + A new CaptureTracer has been added to storm.testing, for capturing all SQL
+statements executed by Storm. It can be used like this:
+with CaptureTracer() as tracer:
+  # Run queries
+  pass
+print tracer.queries  # Print all queries run in the context manager block
+
+You will need the python-fixtures package in order to use this feature.
+  + Setuptools http://pypi.python.org/pypi/setuptools is now required
+to run setup.py. This makes it much easier to install the majority
+of the dependencies required to run the test suite in its entirety.
+  + Disconnection errors arising from PostgreSQL are now more reliably
+detected, especially with regard to recent libpq updates in Ubuntu.
+There are also disconnection tests that simulate sudden termination
+of pgbouncer http://pgfoundry.org/projects/pgbouncer/.
+  + Insert expressions now support multi-row and subquery INSERT
+statements.
+  + Support in the postgres backend to use the RETURNING extension for UPDATE
+statement, optionally specifying the columns to return.
+(PostgreSQL = 8.2 only)
+  + Add a new Distinct expression for pre-pending the 'DISTINCT' token to
+SQL expressions that support it (like columns).
+  + Switch to REPEATABLE READ as isolation level for Postgres. If you use
+psycopg2  2.4, it doesn't change anything. For psycopg2 2.4 and newer, it
+will keep the same behavior on Postgres  9 as it's equivalent to
+SERIALIZABLE, but it will be less strict on Postgres = 9.
+  + Add support for two-phase commits, using the DB API version 2.0, which
+is only supported by PostgreSQL.
+  + ZStormResourceManager now has a schema_stamp_dir optional instance 
attribute
+that, if set, will be used to to save timestamps of the schema's patch
+packages, so schema upgrades will be performed only when needed.
+  + When a SQLObjectResultSet object was sliced with slice.start and
+slice.end both zero (sqlobject[0:0]), the full, unsliced resultset
+was returned (bug #872086).
+  + Fixes some test failures around Django disconnections from
+PostgreSQL stores.
+  + Some of the proxy-less disconnection tests were causing segfaults,
+so they're now run in a subprocess via subunit's IsolatedTestCase,
+when it's available.
+  + Fix a few non-uses of super() in TestHelper.
+  + Abort the transaction and reset ZStorm at the end of
+tests/zope/README.txt.
+  + Fix the ./test script to not import tests until after local eggs
+have been added to sys.path. This ensures that all possible features
+are available to the tests.
+  + If transaction.commit() fails, call transaction.abort() to rollback
+everything and leave the transaction in a clean state when using Django's
+ZopeTransactionMiddleware and DatabaseWrapper.
+  + It's now again possible to use the Desc() expression when passing an
+order_by parameter to a ReferenceSet (bug #620369).
+- Use sources tarball from Pypi
+
+---

Old:

  storm-0.19.tar.bz2

New:

  storm-0.20.tar.bz2



Other differences:
--
++ python-storm.spec ++
--- /var/tmp/diff_new_pack.PHSpca/_old  2013-11-18 10:54:01.0 +0100
+++ /var/tmp/diff_new_pack.PHSpca/_new  2013-11-18 10:54:01.0 +0100
@@ -17,13 +17,13 @@
 
 
 Name:   python-storm
-Version:0.19
+Version:0.20
 Release:0
 Url:http://storm.canonical.com/
 Summary:An object-relational mapper (ORM) for Python
 License:LGPL-2.0+
 Group:  Development/Languages/Python
-Source: 
https://launchpad.net/storm/trunk/%{version}/+download/storm-%{version}.tar.bz2
+Source: 
https://pypi.python.org/packages/source/s/storm/storm-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools

++ storm-0.19.tar.bz2 - storm-0.20.tar.bz2 ++
 4702 lines of diff (skipped)

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

commit python-storm for openSUSE:Factory

2013-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-storm for openSUSE:Factory 
checked in at 2013-10-25 11:33:14

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


Package is python-storm

Changes:

--- /work/SRC/openSUSE:Factory/python-storm/python-storm.changes
2012-04-23 09:16:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-storm.new/python-storm.changes   
2013-10-25 11:33:15.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 11:15:27 UTC 2013 - speili...@suse.com
+
+- Require python-setuptools instead of distribute (upstreams merged)
+
+---



Other differences:
--
++ python-storm.spec ++
--- /var/tmp/diff_new_pack.Jujfcx/_old  2013-10-25 11:33:19.0 +0200
+++ /var/tmp/diff_new_pack.Jujfcx/_new  2013-10-25 11:33:19.0 +0200
@@ -1,8 +1,7 @@
 #
-# spec file for package python-Jinja2
+# spec file for package python-storm
 #
-# Copyright (c) 2008-2009 oc2pus
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -20,14 +19,14 @@
 Name:   python-storm
 Version:0.19
 Release:0
-URL:http://storm.canonical.com/
+Url:http://storm.canonical.com/
 Summary:An object-relational mapper (ORM) for Python
 License:LGPL-2.0+
 Group:  Development/Languages/Python
 Source: 
https://launchpad.net/storm/trunk/%{version}/+download/storm-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
+BuildRequires:  python-setuptools
 Requires:   python-storm-backend = %{version}
 %if 0%{?suse_version}  0%{?suse_version} = 1110
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c from 
distutils.sysconfig import get_python_lib; print get_python_lib(1))}

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