112 Star 0 Fork 17

src-openEuler / python-keyring
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-keyring.spec 3.37 KB
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2024-11-07 17:30 +08:00 . update to version 25.5.0
%global _empty_manifest_terminate_build 0
Name: python-keyring
Version: 25.5.0
Release: 1
Summary: Store and access your passwords safely.
License: MIT License
URL: https://github.com/jaraco/keyring
Source0: %{pypi_source keyring}
BuildArch: noarch
BuildRequires: python3-setuptools_scm
BuildRequires: python3-toml
BuildRequires: python3-jaraco-classes python3-jaraco-functools python3-jaraco-context
Requires: python3-importlib-metadata
Requires: python3-SecretStorage
Requires: python3-jeepney
Requires: python3-pywin32-ctypes
Requires: python3-sphinx
Requires: python3-pytest
Requires: python3-pytest-checkdocs
Requires: python3-pytest-flake8
Requires: python3-pytest-cov
Requires: python3-pytest-black
Requires: python3-pytest-mypy
%description
On Linux, the KWallet backend relies on dbus-python_, which does not always
install correctly when using pip (compilation is needed). For best results,
install dbus-python as a system package.
%package -n python3-keyring
Summary: Store and access your passwords safely.
Provides: python-keyring
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-pytest python3-wheel python3-importlib-metadata
%description -n python3-keyring
On Linux, the KWallet backend relies on dbus-python_, which does not always
install correctly when using pip (compilation is needed). For best results,
install dbus-python as a system package.
%package help
Summary: Development documents and examples for keyring
Provides: python3-keyring-doc
%description help
On Linux, the KWallet backend relies on dbus-python_, which does not always
install correctly when using pip (compilation is needed). For best results,
install dbus-python as a system package.
%prep
%autosetup -n keyring-%{version} -p1
#add double quotation mark for usage example in explanatory note to Eliminate testing mistake
sed -i "s/>>> fs = getfixture('fs')/\">>> fs = getfixture('fs')\"/g" keyring/core.py
sed -i 's/>>> disable()/\">>> disable()\"/g' keyring/core.py
%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
%check
export PYTHONPATH=%{buildroot}%{python3_sitelib}
pytest
%files -n python3-keyring
%{python3_sitelib}/*
%{_bindir}/keyring
%files help
%{_defaultdocdir}/*
%changelog
* Thu Nov 07 2024 Ge Wang <wang__ge@126.com> - 25.5.0-1
- Update to version 25.5.0
* Wed Jun 14 2023 yaoxin <yao_xin001@hoperun.com> - 23.13.1-1
- Update to 23.13.1
* Thu Jul 28 2022 renliang16 <renliang@uniontech.com> - 23.5.0-1
- Upgrade package python3-keyring to version 23.5.0
* Mon Dec 27 2021 zhangjiapeng <zhangjiapeng9@huawei.com> - 23.4.0-1
- Update to 23.4.0
* Wed Jul 14 2021 huangtianhua <huangtianhua@huawei.com> - 23.0.0-1
- Upgrade to 23.0.0 to support OpenStack-W
* Thu Dec 03 2020 baizhonggui <baizhonggui@huawei.com> - 21.5.0-1
- Update to 21.5.0
* Mon Aug 10 2020 lingsheng <lingsheng@huawei.com> - 13.2.1-5
- Remove python2-keyring subpackage
* Thu Nov 28 2019 wutao <wutao61@huawei.com> - 13.2.1-4
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-keyring.git
git@gitee.com:src-openeuler/python-keyring.git
src-openeuler
python-keyring
python-keyring
openEuler-25.03

搜索帮助