1 Star 0 Fork 23

bzg_repo/python-sqlalchemy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
sqlalchemy.spec 3.10 KB
一键复制 编辑 原始数据 按行查看 历史
baizg1107 提交于 2022-06-20 18:08 . fix none type judgmentwq
%global __provides_exclude_from ^(%{python3_sitearch})/.*\\.so$
Name: python-sqlalchemy
Version: 1.4.31
Release: 2
Summary: SQL toolkit and object relational mapper for Python
License: MIT
URL: http://www.sqlalchemy.org/
Source0: https://files.pythonhosted.org/packages/0f/80/d8883f12689a55e333d221bb9a56c727e976f5a8e9dc862efeac9f40d296/SQLAlchemy-1.4.31.tar.gz
Patch0: 0001-fix-none-type-judge.patch
BuildRequires: python3-devel python3-setuptools python3-pytest gcc python3-greenlet
Requires: python3-greenlet
%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
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description help
Help documents for SQLAlchemy.
%package -n python3-sqlalchemy
Summary: SQL toolkit and object relational mapper for Python
%{?python_provide:%python_provide python%{python3_pkgversion}-sqlalchemy}
%description -n python3-sqlalchemy
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
%build
%py3_build
%install
%py3_install
rm -rf doc/build
%check
PYTHONPATH=. %{__python3} -m pytest test
%files -n python3-sqlalchemy
%license LICENSE
%doc README.rst
%{python3_sitearch}/*
%files help
%doc doc examples
%changelog
* Mon Jun 20 2022 baizhonggui <baizhonggui@h-partners.com> - 1.4.31-2
- Fix None type judgment
* Wed Jun 01 2022 huangtianhua <huangtianhua@huawei.com> - 1.4.31-1
- update to 1.4.31
* Wed Dec 22 2021 guozhaorui <guozhaorui1@huawei.com> - 1.3.24-1
- update to 1.3.24
* Tue Aug 10 2021 OpenStack_SIG <openstack@openeuler.org> - 1.3.23-1
- update to 1.3.23
* Tue Jun 22 2021 shixuantong <shixuantong@huawei.com> - 1.3.22-3
- Type: bugfix
- ID: NA
- SUG: NA
- DESC:add gcc to BuildRequires
* Tue Mar 16 2021 tianwei <tianwei12@huawei.com> - 1.3.22-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix make check failed
* Mon Feb 1 2021 yuanxin <yuanxin24@huawei.com> - 1.3.22-1
- Upgrade version to 1.3.22
* Tue Jan 12 2021 baizhonggui <baizhonggui@huawei.com> - 1.2.11-5
- Fix building for pytest
* Mon Aug 10 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 1.2.11-4
- Remove python2
* Wed Jul 29 2020 lingsheng <lingsheng@huawei.com> - 1.2.11-3
- Skip test on sqlite 3.30+
* Tue Nov 26 2019 yanzhihua <yanzhihua4@huawei.com> - 1.2.11-2
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/baizg1107/python-sqlalchemy.git
git@gitee.com:baizg1107/python-sqlalchemy.git
baizg1107
python-sqlalchemy
python-sqlalchemy
master

搜索帮助