Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
a5ad849098
!21 Upgrade to version 1.1.1
From: @starlet-dx 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-10-25 06:22:18 +00:00
starlet-dx
ff511c1eaf Upgrade to version 1.1.1 2022-10-25 11:09:17 +08:00
openeuler-ci-bot
041c4ecc4f
!12 修复编译失败问题
Merge pull request !12 from 魔箭胖胖/master
2022-01-28 01:42:22 +00:00
MementoMori
768aaa78f8 update 2022-01-13 21:25:24 +08:00
openeuler-ci-bot
d95113bbe3 !10 update source and port to pytest4
From: @maminjie
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-01-12 15:06:24 +08:00
maminjie
1e30383b93 update source and port to pytest4 2021-01-12 10:48:50 +08:00
openeuler-ci-bot
a948cae9a1 !6 change Name to python-suds2 and remove Subpackage python2-suds
Merge pull request !6 from zhanghua/local
2020-07-23 19:02:48 +08:00
zhanghua1831
0fb1a8e3dc change Name to python-suds2 and remove Subpackage python2-suds 2020-07-22 18:03:56 +08:00
openeuler-ci-bot
4e4e0b830b !5 fix test error
Merge pull request !5 from jackie_wu123/master
2020-06-24 23:01:45 +08:00
jackie_wu
64283aa55c fix test error 2020-06-24 17:55:27 +08:00
7 changed files with 69 additions and 116 deletions

Binary file not shown.

View File

@ -1,32 +0,0 @@
diff -up jurko-suds-94664ddd46a6/tests/test_transport_http.py.httptestfix jurko-suds-94664ddd46a6/tests/test_transport_http.py
--- jurko-suds-94664ddd46a6/tests/test_transport_http.py.httptestfix 2015-07-27 05:08:20.000000000 -0400
+++ jurko-suds-94664ddd46a6/tests/test_transport_http.py 2016-01-09 23:29:22.749940293 -0500
@@ -120,6 +120,9 @@ class MockFP:
def readline():
raise MustNotBeCalled
+ def close(self):
+ pass
+
class MockURLOpenerSaboteur:
"""
@@ -295,12 +298,18 @@ def test_sending_using_network_sockets(s
self.__mocker.mock_sent_data += data
def settimeout(self, *args, **kwargs):
pass
+ def setsockopt(self, level, optname, value):
+ pass
class MockSocketReader(CountedMock):
def __init__(self):
super(MockSocketReader, self).__init__()
def readline(self, *args, **kwargs):
raise MyException
+ def close(self):
+ pass
+ def flush(self):
+ pass
# Setup.
host = "an-easily-recognizable-host-name-214894932"

View File

@ -1,80 +0,0 @@
Name: python-suds
Version: 0.7
Release: 2
Summary: A python SOAP client
License: LGPLv3+
URL: https://bitbucket.org/jurko/suds
Source0: https://bitbucket.org/jurko/suds/get/94664ddd46a6.tar.bz2
Patch0: fix_http_test.patch
BuildArch: noarch
%description
"Suds" is a lightweight SOAP-based web service client
for Python licensed under LGPL.
%package -n python2-suds
%{?python_provide:%python_provide python2-suds}
Summary: A python SOAP client
BuildRequires: python2-devel python2-pytest python2-six
%description -n python2-suds
"Suds" is a lightweight SOAP-based web service client
for Python licensed under LGPL.
%package -n python3-suds
%{?python_provide:%python_provide python3-suds}
Summary: A python SOAP client
BuildRequires: python3-devel python3-pytest python3-six
%description -n python3-suds
"Suds" is a lightweight SOAP-based web service client
for Python licensed under LGPL.
%prep
%setup -c -q
mv jurko-suds-94664ddd46a6 python2
cd python2
%patch0 -p1
cd -
cp -a python2 python3
%build
cd python2
%py2_build
cd -
cd python3
%py3_build
cd -
%install
cd python2
%py2_install
cd -
cd python3
%py3_install
cd -
%check
cd python2
%{__python2} setup.py test
cd -
cd python3
%{__python3} setup.py test
cd -
%files -n python2-suds
%doc python2/README.rst
%license python2/LICENSE.txt
%{python2_sitelib}/*
%files -n python3-suds
%doc python3/README.rst
%license python3/LICENSE.txt
%{python3_sitelib}/*
%changelog
* Sun Mar 22 2020 sunguoshuai <sunguoshuai@huawei.com> - 0.7-2
- Fix http test error.
* Thu Feb 13 2020 Ruijun Ge <geruijun@huawei.com> - 0.7-1
- init package

View File

@ -1,4 +0,0 @@
version_control: hg
src_repo: https://bitbucket.org/jurko/suds
tag_pattern: ^v
seperator: .

65
python-suds2.spec Normal file
View File

@ -0,0 +1,65 @@
%global srcname suds
Name: python-suds2
Version: 1.1.1
Release: 1
Summary: A python SOAP client
License: LGPLv3+
URL: https://github.com/suds-community/suds
Source0: https://github.com/suds-community/suds/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
Provides: python-suds = %{version}-%{release}
Obsoletes: python-suds < %{version}-%{release}
%description
"Suds" is a lightweight SOAP-based web service client
for Python licensed under LGPL.
%package -n python3-suds2
%{?python_provide:%python_provide python3-suds2}
Summary: A python SOAP client
BuildRequires: python3-devel python3-pytest python3-six
Provides: python3-suds = %{version}-%{release} python3-suds-community = %{version}-%{release}
Obsoletes: python3-suds < %{version}-%{release}
%description -n python3-suds2
"Suds" is a lightweight SOAP-based web service client
for Python licensed under LGPL.
%prep
%autosetup -n %{srcname}-%{version} -p1
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-suds2
%license LICENSE.txt
%{python3_sitelib}/*
%changelog
* Tue Oct 25 2022 yaoxin <yaoxin30@h-partners.com> - 1.1.1-1
- Upgrade to version 1.1.1
* Wed Jan 12 2022 Chengshaowei <chenshaowei3@huawei.com> - 1.0.0-1
- update to v 1.0.0
* Fri Jan 08 2021 maminjie <maminjie1@huawei.com> - 0.7.0-5
- update source and port to pytest4
* Wed Jul 8 2020 zhanghua <zhanghua40@huawei.com> - 0.7-4
- change Name to python-suds2 and remove Subpackage python2-suds
* Wed Jun 24 2020 wutao <wutao61@huawei.com> - 0.7-3
- Fix transport test error
* Sun Mar 22 2020 sunguoshuai <sunguoshuai@huawei.com> - 0.7-2
- Fix http test error.
* Thu Feb 13 2020 Ruijun Ge <geruijun@huawei.com> - 0.7-1
- init package

4
python-suds2.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: suds-community/suds
tag_prefix: "^v"
separator: "."

BIN
suds-1.1.1.tar.gz Normal file

Binary file not shown.