Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
adc01aaaab
!20 Update to 23.13.1
From: @starlet-dx 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-06-14 06:12:16 +00:00
starlet-dx
5b77fe2cf8 Update to 23.13.1 2023-06-14 11:29:28 +08:00
openeuler-ci-bot
c73c2adee5
!12 Update package keyring of version 23.5.0
From: @renliang16 
Reviewed-by: @myeuler, @licihua 
Signed-off-by: @licihua, @myeuler
2022-08-08 12:24:36 +00:00
renliang16
9286d39ca0 Update package keyring of version 23.5.0 2022-08-08 09:32:29 +00:00
openeuler-ci-bot
b2feaff828
!9 [sync] PR-7: Update to 23.4.0
From: @openeuler-sync-bot 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-04-14 06:17:13 +00:00
jpzhang187
18e945b73b Update to 23.4.0
(cherry picked from commit d9b4273346e16ffc01825fcafadafb7be53a3e32)
2022-04-12 14:49:52 +08:00
openeuler-ci-bot
59467c88ab !6 Upgrade to 23.0.0 to support OpenStack-W
From: @huangtianhua
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-07-14 06:00:50 +00:00
huangtianhua
551c254894 Upgrade to 23.0.0 to support OpenStack-W 2021-07-14 04:33:09 +00:00
openeuler-ci-bot
fb9fd2ee58 !5 Update python-keyring to 21.5.0 version
From: @baizg1107
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-12-04 10:22:38 +08:00
baizg1107
e3505ce8a1 Update to 21.5.0 2020-12-03 15:21:59 +08:00
3 changed files with 91 additions and 33 deletions

Binary file not shown.

BIN
keyring-23.13.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,55 +1,113 @@
%global _empty_manifest_terminate_build 0
Name: python-keyring Name: python-keyring
Version: 13.2.1 Version: 23.13.1
Release: 5 Release: 1
Summary: Python library to access the system keyring service Summary: Store and access your passwords safely.
License: MIT and Python License: MIT License
URL: https://github.com/jaraco/keyring URL: https://github.com/jaraco/keyring
Source0: https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-setuptools_scm
BuildRequires: python3-toml
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 %description
The Python keyring lib provides a easy way to access the system keyring On Linux, the KWallet backend relies on dbus-python_, which does not always
service from python. It can be used in any application that needs safe install correctly when using pip (compilation is needed). For best results,
password storage. install dbus-python as a system package.
This package only provides file-based pseudo-keyrings. To interface with
gnome-keyring or KWallet, please install one of python-keyring-gnome or
python-keyring-kwallet.
%package -n python%{python3_pkgversion}-keyring %package -n python3-keyring
Summary: A library to get keyring service by python3 Summary: Store and access your passwords safely.
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-setuptools Provides: python-keyring
BuildRequires: python%{python3_pkgversion}-setuptools_scm BuildRequires: python3-devel
BuildRequires: python%{python3_pkgversion}-entrypoints python%{python3_pkgversion}-pytest BuildRequires: python3-setuptools
BuildRequires: python%{python3_pkgversion}-pytest-cov BuildRequires: python3-pip
BuildRequires: python3-pytest python3-wheel python3-importlib-metadata
Requires: python%{python3_pkgversion}-SecretStorage python%{python3_pkgversion}-entrypoints %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.
%{?python_provide:%python_provide python%{python3_pkgversion}-keyring} %package help
Summary: Development documents and examples for keyring
%description -n python%{python3_pkgversion}-keyring Provides: python3-keyring-doc
The Python keyring lib provides a easy way to access the system keyring %description help
service from python. It can be used in any application that needs safe On Linux, the KWallet backend relies on dbus-python_, which does not always
password storage. install correctly when using pip (compilation is needed). For best results,
install dbus-python as a system package.
%prep %prep
%autosetup -n keyring-%{version} -p1 %autosetup -n keyring-%{version} -p1
rm -frv keyring.egg-info
sed -i '1{\@^#!/usr/bin/env python@d}' keyring/cli.py
sed -i -e "\@use_vcs_version@s/^.*$/\tversion = \"%{version}\",/g" -e {/\'hgtools\'/d} setup.py
%build %build
%py3_build %pyproject_build
%install %install
%py3_install %pyproject_install
cp -a %{buildroot}%{_bindir}/keyring %{buildroot}%{_bindir}/keyring-python%{python3_pkgversion} 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
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python%{python3_pkgversion}-keyring %check
%{_bindir}/{keyring-python%{python3_pkgversion},keyring} export PYTHONPATH=%{buildroot}%{python3_sitelib}
%{python3_sitelib}/{keyring-%{version}-py%{python3_version}.egg-info,keyring} pytest
%doc CHANGES.rst README.rst
%files -n python3-keyring -f filelist.lst
%dir %{python3_sitelib}/*
%{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog %changelog
* 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 * Mon Aug 10 2020 lingsheng <lingsheng@huawei.com> - 13.2.1-5
- Remove python2-keyring subpackage - Remove python2-keyring subpackage