diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 0a80fdce31f59c062e2abba28776e9521eddff30..0000000000000000000000000000000000000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -*.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig deleted file mode 100644 index bcc22d0effebb7d492363fbd6d57d2371902caec..0000000000000000000000000000000000000000 --- a/.lfsconfig +++ /dev/null @@ -1,2 +0,0 @@ -[lfs] - url = https://artlfs.openeuler.openatom.cn/src-openEuler/python-sqlalchemy2 diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 67ed012b93e921cd963ac7044789aeec4c803410..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# python-sqlalchemy2 - -#### Description -high version of SQLAlchemy - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index f5d5bdef019179408688da013e7e9ae72172f10f..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# python-sqlalchemy2 - -#### 介绍 -high version of SQLAlchemy - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) 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/python-sqlalchemy2.spec b/python-sqlalchemy2.spec deleted file mode 100644 index bfdaf9536fb8a01e5069653e5b9c73a190544fa9..0000000000000000000000000000000000000000 --- a/python-sqlalchemy2.spec +++ /dev/null @@ -1,69 +0,0 @@ -%global __provides_exclude_from ^(%{python3_sitelib})/.*$ -%define debug_package %{nil} -Name: python-sqlalchemy2 -Version: 2.0.41 -Release: 1 -Summary: SQL toolkit and object relational mapper for Python -License: MIT -URL: https://www.sqlalchemy.org/ -Source0: https://files.pythonhosted.org/packages/source/S/SQLAlchemy/sqlalchemy-%{version}.tar.gz -BuildRequires: python3-devel python3-setuptools python3-pytest gcc python3-greenlet -BuildRequires: python3-pip python3-wheel python3-pdm-pep517 python3-typing-extensions python3-pytest-xdist -BuildRequires: python3-mypy - -%description -SQLAlchemy is an Object Relational Mapper (ORM) that provides a flexible, -high-level interface to SQL databases. It contains a powerful mapping layer -that users can choose to work as automatically or as manually, determining -relationships based on foreign keys or to bridge the gap between database -and domain by letting you define the join conditions explicitly. - -%package help -Summary: Help documents for SQLAlchemy -BuildArch: noarch - -%description help -Help documents for SQLAlchemy. - -%package -n python3-sqlalchemy2 -Summary: SQL toolkit and object relational mapper for Python -Conflicts: python3-sqlalchemy - -%description -n python3-sqlalchemy2 -SQLAlchemy is an Object Relational Mapper (ORM) that provides a flexible, -high-level interface to SQL databases. It contains a powerful mapping layer -that users can choose to work as automatically or as manually, determining -relationships based on foreign keys or to bridge the gap between database -and domain by letting you define the join conditions explicitly. - -The python3-sqlalchemy package contains the python 3 version of the module. - -%prep -%autosetup -n sqlalchemy-%{version} -p1 -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 -%pyproject_build - -%install -%pyproject_install - -%if 0 -%check -PYTHONPATH=. %{__python3} -m pytest -n2 -q -%endif - -%files -n python3-sqlalchemy2 -%license LICENSE -%doc README.rst -%{python3_sitelib}/* - -%files help -%doc doc examples - -%changelog -* Sun Jun 08 2025 Funda Wang - 2.0.41-1 -- init package 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 diff --git a/sqlalchemy-2.0.41.tar.gz b/sqlalchemy-2.0.41.tar.gz deleted file mode 100644 index bcef38f2ace1fbe8a1cf2c684f00374d7ef612b5..0000000000000000000000000000000000000000 --- a/sqlalchemy-2.0.41.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:edba70118c4be3c2b1f90754d308d0b79c6fe2c0fdc52d8ddf603916f83f4db9 -size 9689424