代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-bcrypt 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-bcrypt
Version: 5.0.0
Release: 1
Summary: Modern password hashing for your software and your servers
License: Apache-2.0
URL: https://github.com/pyca/bcrypt
Source0: %{pypi_source bcrypt}
# tar -xf bcrypt-version.tar.gz
# cd bcrypt-version/src/_bcrypt
# cargo vendor
# tar -czvf vendor.tar.gz vendor
Source1: vendor.tar.gz
Source2: config.toml
%description
Good password hashing for your software and your servers.
This library should be compatible with py-bcrypt and it will run on Python 3.7+.
%package -n python3-bcrypt
Summary: Modern password hashing for your software and your servers
Provides: python-bcrypt = %{version}-%{release}
BuildRequires: python3-devel >= 3.7
BuildRequires: python3-setuptools >= 42.0
BuildRequires: python3-setuptools-rust >= 1.7.0
BuildRequires: rust >= 1.64.0
BuildRequires: cargo
BuildRequires: rust-packaging
BuildRequires: python3-cffi
BuildRequires: gcc
BuildRequires: python3-pytest >= 3.2.1
BuildRequires: python3-pip
BuildRequires: python3-wheel
Obsoletes: %{name}-help < %{version}-%{release}
%description -n python3-bcrypt
Good password hashing for your software and your servers.
This library should be compatible with py-bcrypt and it will run on Python 3.7+.
%prep
%autosetup -n bcrypt-%{version} -p1 -a1
mkdir .cargo
cp %{SOURCE2} .cargo/
%build
%set_build_flags
%pyproject_build
%install
%set_build_flags
%pyproject_install
%check
export PYTHONPATH=%{buildroot}%{python3_sitearch}
pytest
%files -n python3-bcrypt
%doc README.rst
%{python3_sitearch}/*
%changelog
* Fri Dec 19 2025 zhang-ke <zhangke21@baidu.com> - 5.0.0-1
- Update to 5.0.0
- Update README.rst to reflect actual MSRV 1.74
* Thu Aug 21 2025 wangkai <13474090681@163.com> - 4.3.0-1
- Update to 4.3.0
* Dropped support for Python 3.7.
* We now support free-threaded Python 3.13 and PyPy 3.11.
* Sat Aug 09 2025 Funda Wang <fundawang@yeah.net> - 4.2.0-4
- correctly build extension with updated rust flags
- drop empty help sub package
* Sun Aug 03 2025 Funda Wang <fundawang@yeah.net> - 4.2.0-3
- drop unused buildrequires
* Fri Jan 24 2025 Shinwell Hu <micromotives@qq.com> - 4.2.0-2
- Use "cargo vendor" to avoid network access during build phase.
* Thu Oct 17 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 4.2.0-1
- Update package to version 4.2.0
- Switch to using the new pyo3 syntax for declarative modules
Update for new ruff syntax
* Sat May 11 2024 wangxiaomeng <wangxiaomeng@kylinos.cn> - 4.1.3-1
- Update to 4.1.3
- Dropped support for Python 3.6.
- Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting the BCRYPT_ALLOW_RUST_163 environment variable)
- Fixed the type signature on the kdf method.
- Fixed incompatibility with passlib package detection assumptions.
- Publish both py37 and py39 wheels. This should resolve some errors relating to initializing a module multiple times per process.
- Bump Rust dependency versions
* Wed Apr 10 2024 Ge Wang <wang__ge@126.com> - 4.0.1-1
- Update to 4.0.1
* Fri Apr 28 2023 yaoxin <yao_xin001@hoperun.com> - 3.2.2-1
- Update to 3.2.2
* Mon Jun 20 2022 tanyulong <tanyulong@kylinos.cn> - 3.2.0-2
- Delete unnecessary gdb from BuildRequires
* Wed Jul 14 2021 OpenStack_SIG <openstack@openeuler.org> - 3.2.0-1
- Upgrade to version 3.2.0
* Sat Feb 27 2021 extinctfire <shenyining_00@126.com> - 3.1.4-9
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Don't emit warning in test_kdf, there's no point whoops here
* Wed Oct 21 2020 jinzhimin<jinzhimin2@huawei.com> - 3.1.4-8
- remove python2-bcrypt subpackage
* Wed Nov 13 2019 Lijin Yang <yanglijin@huawei.com> - 3.1.4-7
- init package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。