From ccf27c24b2ee466abf75aed42c60e39499ff71d71e73671b8a7109af5e71c383 Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Tue, 15 Jul 2014 07:00:03 +0000
Subject: [PATCH] Accepting request 240130 from
home:jenewton:branches:devel:languages:python
Is there a bible to your submission acceptance? I don't wish to do this dance of submit/reject - I want to play by the same rulebook.
OBS-URL: https://build.opensuse.org/request/show/240130
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=60
---
SQLAlchemy-0.8.6.tar.gz | 3 ---
SQLAlchemy-0.9.6.tar.gz | 3 +++
python-SQLAlchemy.changes | 8 ++++++++
python-SQLAlchemy.spec | 9 ++++-----
sqlalchemy-0.7-setup_test.patch | 18 ------------------
5 files changed, 15 insertions(+), 26 deletions(-)
delete mode 100644 SQLAlchemy-0.8.6.tar.gz
create mode 100644 SQLAlchemy-0.9.6.tar.gz
delete mode 100644 sqlalchemy-0.7-setup_test.patch
diff --git a/SQLAlchemy-0.8.6.tar.gz b/SQLAlchemy-0.8.6.tar.gz
deleted file mode 100644
index a7a2085..0000000
--- a/SQLAlchemy-0.8.6.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:109b5a8fe61b63c74bcc195e32c4bec6f01cf18c62dc66c72c51d3d380a1ed37
-size 3999163
diff --git a/SQLAlchemy-0.9.6.tar.gz b/SQLAlchemy-0.9.6.tar.gz
new file mode 100644
index 0000000..89f5d42
--- /dev/null
+++ b/SQLAlchemy-0.9.6.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0a9ad46f32df2ba87d3092b89e4c760c796ad481b21544485eb97cb8ca321b6b
+size 4022439
diff --git a/python-SQLAlchemy.changes b/python-SQLAlchemy.changes
index 4f94030..9b6db43 100644
--- a/python-SQLAlchemy.changes
+++ b/python-SQLAlchemy.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Wed Jul 2 06:04:00 UTC 2014 - nevion@gmail.com
+
+-update to 0.9.6:
+ + See http://docs.sqlalchemy.org/en/rel_0_9/changelog/changelog_09.html#change-0.9.6
+-Remove vestigial setup.py patch
+-Add python-pytest dependency
+
-------------------------------------------------------------------
Tue Apr 8 09:11:18 UTC 2014 - dmueller@suse.com
diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec
index cb36106..719119e 100644
--- a/python-SQLAlchemy.spec
+++ b/python-SQLAlchemy.spec
@@ -17,20 +17,20 @@
Name: python-SQLAlchemy
-Version: 0.8.6
+Version: 0.9.6
Release: 0
Url: http://www.sqlalchemy.org
Summary: Database Abstraction Library
License: MIT
Group: Development/Languages/Python
Source0: http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz
-Patch1: sqlalchemy-0.7-setup_test.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
# Test requirements:
BuildRequires: python-mock
BuildRequires: python-nose >= 0.11
+BuildRequires: python-pytest
#BuildRequires: python-pysqlite
Provides: python-sqlalchemy = %{version}
Obsoletes: python-sqlalchemy < %{version}
@@ -63,7 +63,6 @@ reference for python-SQLAlchemy.
%setup -q -n SQLAlchemy-%{version}
rm -rf doc/build # Remove unnecessary scripts for building documentation
sed -i 's/\r$//' examples/dynamic_dict/dynamic_dict.py
-%patch1
%build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
@@ -72,11 +71,11 @@ CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
-python setup.py test
+py.test
%files
%defattr(-,root,root,-)
-%doc CHANGES LICENSE README.rst README.py3k README.unittests.rst
+%doc CHANGES LICENSE README.rst README.dialects.rst README.unittests.rst
%{python_sitearch}/sqlalchemy/
%{python_sitearch}/SQLAlchemy-%{version}-py%{py_ver}.egg-info
diff --git a/sqlalchemy-0.7-setup_test.patch b/sqlalchemy-0.7-setup_test.patch
deleted file mode 100644
index 41e93e1..0000000
--- a/sqlalchemy-0.7-setup_test.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- setup.py~ 2013-02-08 01:10:48.000000000 +0100
-+++ setup.py 2013-07-15 21:49:07.339738788 +0200
-@@ -7,6 +7,15 @@ Please see README for basic installation
- import os
- import re
- import sys
-+# 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
-+
- from distutils.command.build_ext import build_ext
- from distutils.errors import (CCompilerError, DistutilsExecError,
- DistutilsPlatformError)