Sync from SUSE:ALP:Source:Standard:1.0 python-SQLAlchemy revision 943bf2daba22bedf7dea5eca54428604

This commit is contained in:
Adrian Schröter 2023-10-18 22:17:29 +02:00
commit 98823be723
5 changed files with 5361 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
SQLAlchemy-2.0.19.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

37
SQLAlchemy.keyring Normal file
View File

@ -0,0 +1,37 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBE7aWmgBCADVSqbsWrHav9zZQ37fqMACJqj3H5FU4aw2zvVqzsyvNA2/PuX6
chPN+b63tK2dX3n+EPOl2LanVRU31dc/D8DqXl7HzTlfoIfTq+NWJkVFBKHELm5E
rsh7NZjGFkLtKXT1rifuhE/64A7Fay0IbXwdW6oNiDO5XWz6NQMgw8fbvssc6ZJx
Y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UIEUBSgNbJY5Nd1On+2M
hbnDELlJWLEY/6ItGi9IZvOom5NE1M37ata5AQ0ETtpaaAEIANpKU0jegv+w7o2k
9MsE6PDzZz2NyPpmSZcBK2QM7vz3TCbndegZj58Rj8Cz3sMMJd4WD2sdKlIMBG9g
JasRe/EGrR5lhhRL7Z9N6v/dlZ2SzXpMN+wnLM3KA+Hs4OMI/D6zS0FYsDPe+Rhw
Z44pNT3WpmnRRnBfoyBscWFicSBrtcEQCPfAmSVfL8zhSh4Jp+RIi9XIAuFSCXHZ
KTothJUcqlpvDEERJ3bVpSPypQqfd9sg3hXrrK44lDnMfgf4FeB6ewg2BllCxaUw
G8kjO/gY0zBBqThY8q7ejnBOWF/mqzj/x16qnv09uN+4Fb20dJk5XHFDGPDsCpTm
ouqApa0AEQEAAYkBHwQYAQIACQUCTtpaaAIbDAAKCRAzAjnBxNr+4VHvCACQL5+e
H+ZOgawuJBcQRXLLBHSQvdu+jk+ZaJGTjihIIerKHkMXGl3Yjhv+wIbmhQLeCLzf
6vAN7WsDjwnQaHXQtgkzffllSLMcz8uTbFj31XvVJb/gqj1i3Z+scA1nv3sZljKt
BwNVDbe5Xk8SVxw4QFQa8pV14pe9AylMa1bovhkJDQO/4m6O8EyZIpRx2c7yFZdU
i26clzlbR6LYONNIbiPmwIO4ati5P5pexK7RBwD6A7flucjO8RwObCC0aHUqrbyi
KHuAEYqBQfnTxT7C1R/6GKZZ6uqGOvm3tMkZf3UKtaKlaLtzC7960P8A8IP7hFtv
5qf+DkoAGJ5NzOVT
=lWzK
-----END PGP PUBLIC KEY BLOCK-----

5196
python-SQLAlchemy.changes Normal file

File diff suppressed because it is too large Load Diff

102
python-SQLAlchemy.spec Normal file
View File

@ -0,0 +1,102 @@
#
# spec file for package python-SQLAlchemy
#
# Copyright (c) 2023 SUSE LLC
#
# 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/
#
%{?sle15_python_module_pythons}
Name: python-SQLAlchemy
Version: 2.0.19
Release: 0
Summary: Database Abstraction Library
License: MIT
URL: https://www.sqlalchemy.org
Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz
Source1: SQLAlchemy.keyring
# devel is needed for optional C extensions cprocessors.so, cresultproxy.so and cutils.so
BuildRequires: %{python_module Cython >= 3}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python
Requires: python-greenlet > 0.4.17
Requires: python-typing_extensions >= 4.2.0
Provides: python-sqlalchemy = %{version}
Obsoletes: python-sqlalchemy < %{version}
Conflicts: python-SQLAlchemy1
%if %{python_version_nodots} < 38
Requires: python-importlib-metadata
%endif
# SECTION test requirements
BuildRequires: %{python_module greenlet > 0.4.17}
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module pytest >= 4.4.0}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module typing_extensions >= 4.2.0}
# /SECTION
%python_subpackages
%description
SQLAlchemy is an Object Relational Mappper (ORM) that provides a flexible,
high-level interface to SQL databases. Database and domain concepts are
decoupled, allowing both sides maximum flexibility and power. SQLAlchemy
provides a powerful mapping layer that can work as automatically or as manually
as you choose, determining relationships based on foreign keys or letting you
define the join conditions explicitly, to bridge the gap between database and
domain.
%package -n %{name}-doc
Summary: Documentation for python-SQLAlchemy
Provides: %{python_module SQLAlchemy-doc = %{version}}
BuildArch: noarch
%description -n %{name}-doc
This package contains HTML documentation, including tutorials and API
reference for python-SQLAlchemy.
%prep
%autosetup -p1 -n SQLAlchemy-%{version}
rm -rf doc/build # Remove unnecessary scripts for building documentation
sed -i 's/\r$//' examples/dynamic_dict/dynamic_dict.py
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%pytest_arch -n2 -q --nomemory --notimingintensive --nomypy -k 'not (test_parseconnect and CreateEngineTest and test_bad_args)'
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst README.dialects.rst README.unittests.rst
%{python_sitearch}/sqlalchemy/
%{python_sitearch}/SQLAlchemy-%{version}.dist-info
%if 0%{?suse_version} > 1500
%files -n %{name}-doc
%endif
%doc doc/
%doc examples/
%changelog