开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
forked from src-openEuler/python-bcrypt
关闭
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
文件
master
分支 (41)
标签 (23)
master
openEuler-25.09
openEuler-25.03
openEuler-24.09
openEuler-23.09
openEuler-24.03-LTS
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-22.03-LTS
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS-Next
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS-SP1
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS-SP2
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
Multi-Version_OpenStack-Antelope_openEuler-24.03-LTS
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
项目仓库所选许可证以仓库主分支所使用许可证为准
master
分支 (41)
标签 (23)
master
openEuler-25.09
openEuler-25.03
openEuler-24.09
openEuler-23.09
openEuler-24.03-LTS
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-22.03-LTS
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS-Next
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS-SP1
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS-SP2
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
Multi-Version_OpenStack-Antelope_openEuler-24.03-LTS
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
master
分支 (41)
标签 (23)
master
openEuler-25.09
openEuler-25.03
openEuler-24.09
openEuler-23.09
openEuler-24.03-LTS
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-22.03-LTS
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS-Next
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS-SP1
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS-SP2
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
Multi-Version_OpenStack-Antelope_openEuler-24.03-LTS
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
python-bcrypt
/
python-bcrypt.spec
python-bcrypt
/
python-bcrypt.spec
python-bcrypt.spec 3.56 KB
一键复制 编辑 原始数据 按行查看 历史
wk333 提交于 2025年09月15日 09:53 +08:00 . Enable debugging to fix SP problem
Name: python-bcrypt
Version: 4.3.0
Release: 2
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
* Mon Sep 15 2025 wangkai <13474090681@163.com> - 4.3.0-2
- Enable debugging to fix SP problem
* 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
Loading...
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wk333/python-bcrypt.git
git@gitee.com:wk333/python-bcrypt.git
wk333
python-bcrypt
python-bcrypt
master
点此查找更多帮助

搜索帮助

仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /