14
0

Accepting request 1188825 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1188825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pywinrm?expand=0&rev=9
This commit is contained in:
2024-07-22 15:17:53 +00:00
committed by Git OBS Bridge
4 changed files with 27 additions and 12 deletions

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Jul 20 10:29:56 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.5.0
What's Changed
* Migrate to PEP 517 compliant build.
* Added ignore revs file for tracking commits with bulk sanity
changes.
* Add type annotations.
* Add WSManFaultError.
* Add new public APIs for header and command output.
* Fix up subpackages in dist.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 9 12:40:08 UTC 2023 - Johannes Kastl <kastl@b1-systems.de> Tue May 9 12:40:08 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pywinrm # spec file for package python-pywinrm
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pywinrm Name: python-pywinrm
Version: 0.4.3 Version: 0.5.0
Release: 0 Release: 0
Summary: Python library for Windows Remote Management Summary: Python library for Windows Remote Management
License: MIT License: MIT
@@ -26,17 +26,17 @@ Group: Development/Languages/Python
URL: https://github.com/diyan/pywinrm/ URL: https://github.com/diyan/pywinrm/
Source: https://github.com/diyan/pywinrm/archive/refs/tags/v%{version}.tar.gz#/pywinrm-%{version}.tar.gz Source: https://github.com/diyan/pywinrm/archive/refs/tags/v%{version}.tar.gz#/pywinrm-%{version}.tar.gz
BuildRequires: %{python_module kerberos} BuildRequires: %{python_module kerberos}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.9.1} BuildRequires: %{python_module requests >= 2.9.1}
BuildRequires: %{python_module requests_ntlm >= 0.3.0} BuildRequires: %{python_module requests_ntlm >= 1.1.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module xmltodict} BuildRequires: %{python_module xmltodict}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-requests >= 2.9.1 Requires: python-requests >= 2.9.1
Requires: python-requests_ntlm >= 0.3.0 Requires: python-requests_ntlm >= 1.1.0
Requires: python-six
Requires: python-xmltodict Requires: python-xmltodict
Suggests: python-requests-credssp >= 0.0.1 Suggests: python-requests-credssp >= 0.0.1
Suggests: python-requests-kerberos >= 0.10.0 Suggests: python-requests-kerberos >= 0.10.0
@@ -57,11 +57,12 @@ Microsoft's WinRM http://msdn.microsoft.com/en-us/library/aa384426.aspx
%setup -q -n pywinrm-%{version} %setup -q -n pywinrm-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_expand rm -Rv %{buildroot}%{$python_sitelib}/winrm/tests
%check %check
# https://github.com/diyan/pywinrm/issues/345 # https://github.com/diyan/pywinrm/issues/345
@@ -71,6 +72,7 @@ sed -i 's:import mock:from unittest import mock:' winrm/tests/test_transport.py
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%{python_sitelib}/* %{python_sitelib}/winrm
%{python_sitelib}/pywinrm-%{version}.dist-info
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:253d2af9a6f1ec1ae8e21919a174e178b2e0475060956e3add0746584520ae84
size 38576

BIN
pywinrm-0.5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.