Accepting request 241014 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/241014 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy?expand=0&rev=25
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:109b5a8fe61b63c74bcc195e32c4bec6f01cf18c62dc66c72c51d3d380a1ed37
|
|
||||||
size 3999163
|
|
||||||
3
SQLAlchemy-0.9.6.tar.gz
Normal file
3
SQLAlchemy-0.9.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0a9ad46f32df2ba87d3092b89e4c760c796ad481b21544485eb97cb8ca321b6b
|
||||||
|
size 4022439
|
||||||
@@ -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 obsolete sqlalchemy-0.7-setup_test.patch
|
||||||
|
-Add python-pytest dependency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 8 09:11:18 UTC 2014 - dmueller@suse.com
|
Tue Apr 8 09:11:18 UTC 2014 - dmueller@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -17,20 +17,20 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-SQLAlchemy
|
Name: python-SQLAlchemy
|
||||||
Version: 0.8.6
|
Version: 0.9.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://www.sqlalchemy.org
|
Url: http://www.sqlalchemy.org
|
||||||
Summary: Database Abstraction Library
|
Summary: Database Abstraction Library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source0: http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
# Test requirements:
|
# Test requirements:
|
||||||
BuildRequires: python-mock
|
BuildRequires: python-mock
|
||||||
BuildRequires: python-nose >= 0.11
|
BuildRequires: python-nose >= 0.11
|
||||||
|
BuildRequires: python-pytest
|
||||||
#BuildRequires: python-pysqlite
|
#BuildRequires: python-pysqlite
|
||||||
Provides: python-sqlalchemy = %{version}
|
Provides: python-sqlalchemy = %{version}
|
||||||
Obsoletes: python-sqlalchemy < %{version}
|
Obsoletes: python-sqlalchemy < %{version}
|
||||||
@@ -63,7 +63,6 @@ reference for python-SQLAlchemy.
|
|||||||
%setup -q -n SQLAlchemy-%{version}
|
%setup -q -n SQLAlchemy-%{version}
|
||||||
rm -rf doc/build # Remove unnecessary scripts for building documentation
|
rm -rf doc/build # Remove unnecessary scripts for building documentation
|
||||||
sed -i 's/\r$//' examples/dynamic_dict/dynamic_dict.py
|
sed -i 's/\r$//' examples/dynamic_dict/dynamic_dict.py
|
||||||
%patch1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py 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}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
python setup.py test
|
py.test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%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/
|
||||||
%{python_sitearch}/SQLAlchemy-%{version}-py%{py_ver}.egg-info
|
%{python_sitearch}/SQLAlchemy-%{version}-py%{py_ver}.egg-info
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
|
||||||
Reference in New Issue
Block a user