Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
1ffccf12e2
!12 [sync] PR-9: Upgrade to support OpenStack Yoga
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-10-26 07:23:30 +00:00
huangtianhua
ec223f7a59 Upgrade to support OpenStack Yoga
(cherry picked from commit 4c6f4a321fd5dacd737ad6f7d28d77fd7eae5965)
2022-10-26 14:43:25 +08:00
openeuler-ci-bot
17bca68d01 !7 Upgrade or init package for OpenStack Wallaby support
From: @sean-lau
Reviewed-by: @yangzhao_kl,@solarhu
Signed-off-by: @yangzhao_kl
2021-08-05 09:18:57 +00:00
sean-lau
52f9a88ae3 Upgrade package to version 0.58.0 for OpenStack Wallaby support 2021-08-05 15:38:46 +08:00
openeuler-ci-bot
68e43e3cd8 !6 remove python2 dependency
From: @xinghe_1
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 15:45:13 +08:00
19909236985
a83fc60a08 remove python2 dependency 2020-10-30 14:37:59 +08:00
openeuler-ci-bot
f47dbdbb99 !4 update package to 0.57.0
Merge pull request !4 from 季新杰/master
2020-07-20 11:03:00 +08:00
zhouhaibo055
cc02e93d2e update package to 0.57.0 2020-07-16 10:38:27 +08:00
openeuler-ci-bot
8b281dde53 !3 Add python-websocket-client.yaml
Merge pull request !3 from huanghaitao/master
2020-05-13 15:40:51 +08:00
hht8
d38254e48c Add python-websocket-client.yaml 2020-05-09 16:50:46 +08:00
4 changed files with 23 additions and 31 deletions

View File

@ -1,10 +1,10 @@
Name: python-websocket-client
Version: 0.47.0
Release: 6
Version: 1.2.3
Release: 1
Summary: WebSocket client for python
License: LGPLv2
URL: https://github.com/websocket-client/websocket-client
Source0: https://files.pythonhosted.org/packages/source/w/websocket-client/websocket_client-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/b6/fa/72e77d094563208174abbbaa73c32f28c43a31193b843bddf233c7c87644/websocket-client-1.2.3.tar.gz
BuildArch: noarch
%description
@ -13,22 +13,11 @@ This provide the low level APIs for WebSocket. All APIs
are the synchronous functions.
websocket-client supports only hybi-13.
%package -n python2-websocket-client
%{?python_provide:%python_provide python2-websocket-client}
Summary: WebSocket client for python
BuildRequires: python2-devel, python-setuptools, python2-backports-ssl_match_hostname, python2-six
Requires: python2-backports-ssl_match_hostname, python2-six
%description -n python2-websocket-client
websocket-client module is WebSocket client for python.
This provide the low level APIs for WebSocket. All APIs
are the synchronous functions.
websocket-client supports only hybi-13.
%package -n python3-websocket-client
%{?python_provide:%python_provide python3-websocket-client}
Summary: WebSocket client for python
BuildRequires: python3-devel, python3-setuptools, python3-six
BuildRequires: python3-devel, python3-setuptools, python3-six, python3-pytest
Requires: python3-six
Conflicts: python2-websocket-client <= 0.40.0-4
@ -39,42 +28,41 @@ are the synchronous functions.
websocket-client supports only hybi-13.
%prep
%autosetup -n websocket_client-%{version} -p1
%autosetup -n websocket-client-%{version} -p1
rm -rf websocket_client.egg-info
%build
%py2_build
%py3_build
%install
%py2_install
rm -rf $RPM_BUILD_ROOT%{python2_sitelib}/websocket/cacert.pem
ln -s /etc/pki/tls/cert.pem $RPM_BUILD_ROOT%{python2_sitelib}/websocket/cacert.pem
rm -rf $RPM_BUILD_ROOT%{python2_sitelib}/websocket/tests
%py3_install
rm -rf $RPM_BUILD_ROOT%{python3_sitelib}/websocket/cacert.pem
ln -s /etc/pki/tls/cert.pem $RPM_BUILD_ROOT%{python3_sitelib}/websocket/cacert.pem
rm -r $RPM_BUILD_ROOT%{python3_sitelib}/websocket/tests
mv $RPM_BUILD_ROOT%{_bindir}/wsdump.py $RPM_BUILD_ROOT%{_bindir}/wsdump
%check
%{__python3} setup.py test
%{__python2} setup.py test
%files -n python2-websocket-client
%license LICENSE
%doc README.rst
%{python2_sitelib}/*
pytest
%files -n python3-websocket-client
%license LICENSE
%doc README.rst
%{python3_sitelib}/*
%{_bindir}/wsdump
%changelog
* Mon Jul 18 2022 OpenStack_SIG <openstack@openeuler.org> - 1.2.3-1
- Upgrade package to version 1.2.3
* Thu Aug 05 2021 liusheng <liusheng2048@gmail.com> - 0.58.0-1
- Upgrade to version 0.58.0
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 0.57.0-2
- remove python2 dependency
* Thu Jul 16 2020 jixinjie <jixinjie@huawei.com> - 0.57.0-1
- update package to 0.57.0
* Sat Feb 22 2020 hy-euler <eulerstoragemt@huawei.com> - 0.47.0-6
- modify the require of python-backports-ssl_match_hostname and python-six to python2
* Thu Feb 13 2020 Ruijun Ge <geruijun@huawei.com> - 0.47.0-5
- init package

View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: websocket-client
tag_pattern: ^v
seperator: .

Binary file not shown.

Binary file not shown.