Hello community,

here is the log from the commit of package python-sqlsoup for openSUSE:Factory 
checked in at 2019-11-06 14:05:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sqlsoup (Old)
 and      /work/SRC/openSUSE:Factory/.python-sqlsoup.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sqlsoup"

Wed Nov  6 14:05:06 2019 rev:1 rq:745330 version:0.9.1

Changes:
--------
New Changes file:

--- /dev/null   2019-10-24 10:19:07.066239389 +0200
+++ /work/SRC/openSUSE:Factory/.python-sqlsoup.new.2990/python-sqlsoup.changes  
2019-11-06 14:05:10.848727929 +0100
@@ -0,0 +1,21 @@
+-------------------------------------------------------------------
+Tue Nov  5 07:45:22 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Switch to singlespec
+- Execute tests
+
+-------------------------------------------------------------------
+Sun Oct  2 19:52:04 UTC 2016 - mar...@gmx.de
+
+- Update to version 0.9.1:
+  * Fixed issue where errant "py2k" comment was present, replaced
+    with a compat conditional.
+  * Removed the need for the 2to3 tool on Python 3.
+- rebased patch: sqlsoup-0.9.1-setup_test.patch
+- fixed source-url
+
+-------------------------------------------------------------------
+Fri Aug  2 12:28:23 UTC 2013 - h...@urpla.net
+
+- version 0.9.0: initial build
+

New:
----
  python-sqlsoup.changes
  python-sqlsoup.spec
  sqlsoup-0.9.1-setup_test.patch
  sqlsoup-0.9.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-sqlsoup.spec ++++++
#
# spec file for package python-sqlsoup
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 LISA GmbH, Bingen, 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 https://bugs.opensuse.org/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-sqlsoup
Version:        0.9.1
Release:        0
Summary:        A one step database access tool, built on the SQLAlchemy ORM
License:        MIT
URL:            https://bitbucket.org/zzzeek/sqlsoup
Source:         
https://files.pythonhosted.org/packages/source/s/sqlsoup/sqlsoup-%{version}.tar.gz
Patch0:         sqlsoup-0.9.1-setup_test.patch
BuildRequires:  %{python_module SQLAlchemy >= 0.7.0}
BuildRequires:  %{python_module nose >= 0.11}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{pythons}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
BuildArch:      noarch
%python_subpackages

%description
SQLSoup provides a convenient way to map Python objects to relational database
tables, with no declarative code of any kind. It's built on top of the
SQLAlchemy ORM and provides a super-minimalistic interface to an existing
database.

%prep
%setup -q -n sqlsoup-%{version}
%patch0 -p1

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
%python_exec setup.py test

%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*

%changelog
++++++ sqlsoup-0.9.1-setup_test.patch ++++++
diff --git a/setup.py b/setup.py
index aeef457..7acaf4f 100644
--- a/setup.py
+++ b/setup.py
@@ -2,6 +2,15 @@ from setuptools import setup
 import os
 import re
 
+# Hack to prevent "TypeError: 'NoneType' object is not callable" error
+# in multiprocessing/util.py _exit_function when running `python
+# setup.py test` (see
+# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
+try:
+    import multiprocessing
+except ImportError:
+    pass
+
 v = open(os.path.join(os.path.dirname(__file__), 'sqlsoup.py'))
 VERSION = re.compile(r".*__version__ = '(.*?)'", re.S).match(v.read()).group(1)
 v.close()

Reply via email to