Compare commits

1 Commits
main ... 1.1

4 changed files with 219 additions and 370 deletions

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

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-SQLAlchemy
#
# Copyright (c) 2025 SUSE LLC
# 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
@@ -18,12 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-SQLAlchemy
Version: 2.0.40
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
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}
@@ -71,13 +71,11 @@ This package contains HTML documentation, including tutorials and API
reference for python-SQLAlchemy.
%prep
%autosetup -p1 -n sqlalchemy-%{version}
%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
find . -type f -name ".gitignore" -exec rm {} \;
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%pyproject_wheel
@@ -93,7 +91,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%license LICENSE
%doc CHANGES.rst README.rst README.dialects.rst README.unittests.rst
%{python_sitearch}/sqlalchemy/
%{python_sitearch}/[sS][qQ][lL][aA]lchemy-%{version}.dist-info
%{python_sitearch}/SQLAlchemy-%{version}.dist-info
%if 0%{?suse_version} > 1500
%files -n %{name}-doc

BIN
sqlalchemy-2.0.40.tar.gz (Stored with Git LFS)

Binary file not shown.