Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
5c0e7e49a1
!13 Update to 3.3.3
From: @chen-jan 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-06-07 09:25:32 +00:00
chen-jan
0522c6cd1c Update to 3.3.3 2023-06-07 17:08:15 +08:00
openeuler-ci-bot
29703033f7
!9 Update to 3.3.2
From: @chen-jan 
Reviewed-by: @ruebb 
Signed-off-by: @ruebb
2022-07-08 06:36:08 +00:00
chen-jan
dfb8b84158 Update to 3.3.2 2022-07-08 10:22:51 +08:00
openeuler-ci-bot
8d5137973f
!8 License compliance rectification
From: @wu-leilei 
Reviewed-by: @ruebb 
Signed-off-by: @ruebb
2022-06-10 03:31:32 +00:00
wu-leilei
5ec21584d6 License compliance rectification 2022-05-11 15:32:25 +08:00
openeuler-ci-bot
813d0b38ee !4 update python-SecretStorage package for openstack wallaby
From: @liksh
Reviewed-by: 
Signed-off-by:
2021-08-19 06:15:55 +00:00
liksh
958b98acae update to 3.3.1 2021-08-17 19:42:11 +08:00
openeuler-ci-bot
391f6187af !3 Update python-SecretStorage to 3.3.0 version
From: @baizg1107
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-12-04 10:23:05 +08:00
baizg1107
ec6e8ae090 Update to 3.3.0 2020-12-03 17:39:30 +08:00
4 changed files with 104 additions and 85 deletions

Binary file not shown.

BIN
SecretStorage-3.3.3.tar.gz Normal file

Binary file not shown.

104
SecretStorage.spec Normal file
View File

@ -0,0 +1,104 @@
%global _empty_manifest_terminate_build 0
%global package_description \
This module provides a way for securely storing passwords and other secrets.
Name: python-SecretStorage
Version: 3.3.3
Release: 1
Summary: Python bindings to FreeDesktop.org Secret Service API
License: BSD-3-Clause
URL: https://github.com/mitya57/secretstorage
Source0: %{pypi_source SecretStorage}
BuildArch: noarch
%description
%{package_description}
%package -n python3-SecretStorage
Summary: Python bindings to FreeDesktop.org Secret Service API
Provides: python-secretstorage
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-cryptography
BuildRequires: python3-jeepney
# General requires
Requires: python3-cryptography
Requires: python3-jeepney
%description -n python3-SecretStorage
%{package_description}
%package help
Summary: Python bindings to FreeDesktop.org Secret Service API
Provides: python3-secretstorage-doc
%description help
%{package_description}
%prep
%autosetup -n SecretStorage-%{version}
%build
%py3_build
%install
%py3_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
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
popd
mv %{buildroot}/filelist.lst .
%check
# %{__python3} setup.py test
%files -n python3-SecretStorage -f filelist.lst
%dir %{python3_sitelib}/*
%files help
%{_docdir}/*
%changelog
* Wed Jun 07 2023 chenchen <chen_aka_jan@163.com> - 3.3.3-1
- Update to 3.3.3
* Fri Jul 08 2022 chenchen <chen_aka_jan@163.com> - 3.3.2-1
- Update to 3.3.2
* Wed May 11 2022 wulei <wulei80@h-partners.com> - 3.3.1-2
- License compliance rectification
* Mon Aug 09 2021 OpenStack_SIG <openstack@openeuler.org> - 3.3.1-1
- Package update to 3.3.1
* Tue Dec 1 2020 baizhonggui <baizhonggui@huawei.com> - 3.3.0-1
- Update to 3.3.0
* Mon Aug 10 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 2.3.1-12
- Remove python2
* Mon Nov 25 2019 lihao <lihao129@huawei.com> - 2.3.1-11
- Package Init
* Fri Nov 22 2019 lihao <lihao129@huawei.com> - 2.3.1-10.h1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix testcase error

View File

@ -1,85 +0,0 @@
%global package_description \
This package is designed for storing passwords in a more secure way. \
Its implemantaion depends on D-Bus Secret Service API which is supported by GNOME Keyring (>= 2.30) \
and KSecretsService. It provides the following two main classes: secretstorage.Item and secretstorage.Collection. \
The former represents a secret item that has a label, a secret and some attributes, while the latter represents \
a place items where secrets are stored. \
With the support by Secret Service, SecretStorage provides many functions such as creating and deleting collections, \
editing items, locking and unlocking collections (also support asynchronous unlocking).
Name: python-SecretStorage
Version: 2.3.1
Release: 12
Summary: Python bindings to FreeDesktop.org Secret Service API
License: BSD
URL: http://launchpad.net/python-secretstorage
Source0: https://files.pythonhosted.org/packages/source/S/SecretStorage/SecretStorage-%{version}.tar.gz
BuildArch: noarch
BuildRequires: gnome-keyring xorg-x11-server-Xvfb dbus-x11 python3-devel
BuildRequires: python3-nose python3-dbus python3-cryptography python3-sphinx
%description
%{package_description}
%package -n python3-SecretStorage
Summary: Python 3.x module for secure storing of passwords and secrets
Requires: python3-dbus python3-cryptography
Recommends: python3-gobject
%{?python_provide:%python_provide python3-SecretStorage}
%description -n python3-SecretStorage
%{package_description}
%package help
Summary: SecretStorage documentation
Provides: python-SecretStorage-doc = %{version}-%{release}
Obsoletes: python-SecretStorage-doc < %{version}-%{release}
%description help
Documentation for SecretStorage
%prep
%autosetup -n SecretStorage-%{version} -p1
rm -rf SecretStorage.egg-info
rm .gitignore
%build
%py3_build
%{__python3} setup.py build_sphinx
%install
%py3_install
rm -rf build/sphinx/html/.buildinfo
rm -rf build/sphinx/doctrees
%check
cd tests
export $(dbus-launch)
PYTHONPATH=%{buildroot}%{python3_sitelib} xvfb-run -a %{__python3} -m unittest discover
%files -n python3-SecretStorage
%doc docs changelog README.rst
%license LICENSE
%{python3_sitelib}/SecretStorage-%{version}-py?.?.egg-info
%{python3_sitelib}/secretstorage
%files help
%doc build/sphinx/html/*
%changelog
* Mon Aug 10 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 2.3.1-12
- Remove python2
* Mon Nov 25 2019 lihao <lihao129@huawei.com> - 2.3.1-11
- Package Init
* Fri Nov 22 2019 lihao <lihao129@huawei.com> - 2.3.1-10.h1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix testcase error