15
0

Accepting request 489145 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/489145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy?expand=0&rev=37
This commit is contained in:
2017-04-28 08:41:09 +00:00
committed by Git OBS Bridge
4 changed files with 62 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:586f5ccf068211795a89ed22d196c5cc3006b6be00261bcac6f584c0b8e0845a
size 4776213

3
SQLAlchemy-1.1.9.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b65cdc73cd348448ef0164f6c77d45a9f27ca575d3c5d71ccc33adf684bc6ef0
size 5164787

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Tue Apr 18 16:07:16 UTC 2017 - toddrme2178@gmail.com
- Update to 1.1.9:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.9
- Update to 1.1.8:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.8
- Update to 1.1.7:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.7
- Update to 1.1.6:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.6
- Update to 1.1.5:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.5
- Update to 1.1.4:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.4
- Update to 1.1.3:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.3
- Update to 1.1.2:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.2
- Update to 1.1.1:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.1
- Update to 1.1.0:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_11.html#change-1.1.0
- Update to 1.0.18:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_10.html#change-1.0.18
- Update to 1.0.17:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_10.html#change-1.0.17
- Update to 1.0.16:
* See http://docs.sqlalchemy.org/en/latest/changelog/changelog_10.html#change-1.0.16
- Implement single-spec version.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 15 23:15:10 UTC 2016 - toddrme2178@gmail.com Thu Sep 15 23:15:10 UTC 2016 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-SQLAlchemy # spec file for package python-SQLAlchemy
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,11 @@
# #
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-SQLAlchemy Name: python-SQLAlchemy
Version: 1.0.15 Version: 1.1.9
Release: 0 Release: 0
Url: http://www.sqlalchemy.org Url: http://www.sqlalchemy.org
Summary: Database Abstraction Library Summary: Database Abstraction Library
@@ -25,18 +28,18 @@ License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: fdupes
BuildRequires: python-setuptools BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
# Test requirements: # Test requirements:
BuildRequires: %{python_module nose >= 0.11}
BuildRequires: %{python_module pytest}
BuildRequires: python-mock BuildRequires: python-mock
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}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %python_subpackages
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
%description %description
SQLAlchemy is an Object Relational Mappper (ORM) that provides a flexible, SQLAlchemy is an Object Relational Mappper (ORM) that provides a flexible,
@@ -47,15 +50,15 @@ as you choose, determining relationships based on foreign keys or letting you
define the join conditions explicitly, to bridge the gap between database and define the join conditions explicitly, to bridge the gap between database and
domain. domain.
%package doc %package -n %{name}-doc
Summary: Documentation for python-SQLAlchemy Summary: Documentation for python-SQLAlchemy
Group: Documentation/Other Group: Documentation/Other
Requires: %{name} = %{version} Provides: python-SQLAlchemy-doc = %{version}
%if 0%{?suse_version} && 0%{?suse_version} > 1110 Provides: python2-SQLAlchemy-doc = %{version}
Provides: python3-SQLAlchemy-doc = %{version}
BuildArch: noarch BuildArch: noarch
%endif
%description doc %description -n %{name}-doc
This package contains HTML documentation, including tutorials and API This package contains HTML documentation, including tutorials and API
reference for python-SQLAlchemy. reference for python-SQLAlchemy.
@@ -65,22 +68,27 @@ 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
%build %build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%if %{with tests}
%check %check
py.test %python_expand py.test-%{$python_bin_suffix}
%endif
%files %files %{python_files}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc CHANGES LICENSE README.rst README.dialects.rst 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
%files doc %files -n %{name}-doc
%defattr(-,root,root) %defattr(-,root,root)
%doc doc examples %doc doc/
%doc examples/
%changelog %changelog