代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-pymongo 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-pymongo
Version: 3.11.3
Release: 1
License: Apache License 2.0
Summary: PyMongo - the Python driver for MongoDB
URL: https://github.com/mongodb/mongo-python-driver
Source0: https://files.pythonhosted.org/packages/72/82/e7196f2f69318dd206db26db68fcfa0ff821d88fbca6d0f0c7b678ba0353/pymongo-3.11.3.tar.gz
Patch01: 0001-Use-ssl.match_hostname-from-the-Python-stdlib.patch
BuildRequires: python3-devel python3-setuptools
BuildRequires: python3-sphinx gcc
%global _description \
The PyMongo distribution contains tools for interacting with \
MongoDB database from Python.\
PyMongo supports MongoDB 2.6, 3.0, 3.2, 3.4, 3.6, 4.0 and 4.2.
%description %{_description}
%package -n python3-bson
Summary: Python bson library
%{?python_provide:%python_provide python3-bson}
%description -n python3-bson %{_description}
This package is an implementation of the BSON format for Python 3 version.
%package -n python3-pymongo
Summary: Python driver for MongoDB
Requires: python3-bson%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python3-pymongo}
%description -n python3-pymongo %{_description}
This package is a native Python 3 version driver for MongoDB.
%package -n python3-pymongo-gridfs
Summary: Python GridFS driver for MongoDB
Requires: python3-pymongo%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python3-pymongo-gridfs}
%description -n python3-pymongo-gridfs %{_description}
This package is a gridfs implementation on top of pymongo.
This package for Python 3 version.
%package help
BuildArch: noarch
Summary: Development documents for python-pymongo
%description help
The PyMongo distribution contains tools for interacting with MongoDB database from Python.
%prep
%autosetup -n pymongo-3.11.3 -p1
rm pymongo/ssl_match_hostname.py
%build
%py3_build
PYTHONPATH=${PYTHONPATH}:/usr/local/lib64/python3.8/site-packages:/usr/local/lib/python3.8/site-packages %{__python3} setup.py doc
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
cp -arf doc/_build/%{version}/* %{buildroot}/%{_pkgdocdir}
%check
python3 setup.py test
%files -n python3-bson
%license LICENSE
%doc README.rst
%{python3_sitearch}/bson
%files -n python3-pymongo
%license LICENSE
%doc README.rst
%{python3_sitearch}/pymongo
%{python3_sitearch}/pymongo-%{version}-*.egg-info
%files -n python3-pymongo-gridfs
%{python3_sitearch}/gridfs
%files help
%{_pkgdocdir}
%changelog
* Fri Aug 06 2021 OpenStack_SIG <openstack@openeuler.org> - 3.11.3-1
- Update version to 3.11.3
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 3.9.0-5
- Completing build dependencies
* Wed Oct 21 2020 chengzihan <chengzihan2@huawei.com> - 3.9.0-4
- Remove subpackage python2-bson, python2-pymongo, python2-pymongo-gridfs
* Thu 10 2020 liuweibo <liuweibo10@huawei.com> - 3.9.0-3
- Fix Source0
* Fri Feb 21 2020 shanshishi <shanshishi@huawei.com> - 3.9.0-2
- Revise build requires of python2-sphinx to python3-sphinx
* Sat Nov 2 2019 shanshishi <shanshishi@huawei.com> - 3.9.0-1
- Init package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。