diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec new file mode 100644 index 0000000000000000000000000000000000000000..71bdaddf135c774ea3b4c8f29cde8345b06ebaec --- /dev/null +++ b/python-SQLAlchemy.spec @@ -0,0 +1,99 @@ +%global _empty_manifest_terminate_build 0 +Name: python-sqlalchemy2 +Version: 2.0.40 +Release: 1 +Summary: Database Abstraction Library +License: MIT +URL: https://www.sqlalchemy.org +Source0: https://files.pythonhosted.org/packages/68/c3/3f2bfa5e4dcd9938405fe2fab5b6ab94a9248a4f9536ea2fd497da20525f/sqlalchemy-2.0.40.tar.gz + +Requires: (python3-importlib-metadata) +Requires: (python3-greenlet>=1) +Requires: (python3-typing-extensions>=4.6.0) +Requires: (python3-greenlet>=1) +Requires: (python3-mypy>=0.910) +Requires: (python3-pyodbc) +Requires: (python3-pymssql) +Requires: (python3-pyodbc) +Requires: (python3-mysqlclient>=1.4.0) +Requires: (python3-mysql-connector-python) +Requires: (python3-mariadb!=1.1.10 with python3-mariadb!=1.1.2 with python3-mariadb!=1.1.5 with python3-mariadb>=1.0.1) +Requires: (python3-cx_oracle>=8) +Requires: (python3-oracledb>=1.0.1) +Requires: (python3-psycopg2>=2.7) +Requires: (python3-pg8000>=1.29.1) +Requires: (python3-greenlet>=1) +Requires: (python3-asyncpg) +Requires: (python3-psycopg2) +Requires: (python3-psycopg2cffi) +Requires: (python3-psycopg>=3.0.7) +Requires: (python3-psycopg[binary]>=3.0.7) +Requires: (python3-pymysql) +Requires: (python3-greenlet>=1) +Requires: (python3-aiomysql>=0.2.0) +Requires: (python3-greenlet>=1) +Requires: (python3-aioodbc) +Requires: (python3-greenlet>=1) +Requires: (python3-asyncmy!=0.2.4 with python3-asyncmy!=0.2.6 with python3-asyncmy>=0.2.3) +Requires: (python3-greenlet>=1) +Requires: (python3-aiosqlite) +Requires: (python3-typing_extensions!=3.10.0.1) +Requires: (python3-sqlcipher3_binary) + +%description +|PyPI| |Python| |Downloads| +The Python SQL Toolkit and Object Relational Mapper + +%package -n python3-sqlalchemy2 +Summary: Database Abstraction Library +Provides: python-sqlalchemy2 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-sqlalchemy2 +|PyPI| |Python| |Downloads| +The Python SQL Toolkit and Object Relational Mapper + +%prep +%autosetup -n sqlalchemy-2.0.40 + +%build +%pyproject_build + +%install +%pyproject_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +touch filelist.lst +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-sqlalchemy2 -f filelist.lst +%{python3_sitearch}/* +%{_docdir}/* + +%changelog +* Thu May 08 2025 Python_Bot - 2.0.40-1 +- Package Spec generated diff --git a/sqlalchemy-2.0.40.tar.gz b/sqlalchemy-2.0.40.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..40622817a4a7aecedbd644bae9a77c25da6f60f6 Binary files /dev/null and b/sqlalchemy-2.0.40.tar.gz differ