Hello community,
here is the log from the commit of package python-pysaml2 for
openSUSE:Leap:15.2 checked in at 2020-03-09 18:11:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pysaml2 (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-pysaml2.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pysaml2"
Mon Mar 9 18:11:10 2020 rev:12 rq:777004 version:4.8.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-pysaml2/python-pysaml2.changes
2020-01-15 15:52:09.903553942 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-pysaml2.new.26092/python-pysaml2.changes
2020-03-09 18:11:11.149181097 +0100
@@ -1,0 +2,57 @@
+Tue Jan 7 11:37:57 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Use python dbm dependency instead of legacy gdbm
+
+-------------------------------------------------------------------
+Mon Jul 22 14:57:53 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 4.8.0:
+ * Refactor the way ForceAuthn is set: check for "true" and "1"
+ * Allow to set NameQualifier and SPNameQualifier attributes for ePTID
+ * Parse assertions with Holder-of-Key profile
+ * Add created_at timestamps to all mongodb documents
+ * Look for existing persistent id's before creating new ones
+ * Do not add AllowCreate property for default transient NameID
+ * Enable entity category import from module search path
+ * Add SAML subject identifier attributes to saml2_uri attributemap
+ * Fix deprecation warning regarding the cgi module - use the html module
when available
+ * Misc minor improvements
+ * tests: Be compatible with latest pytest
+ * tests: Make tests pass after 2024
+ * tests: Add py37 as a test target
+ * docs: Correct instructions to run tests
+ * docs: Fix misc typos
+
+-------------------------------------------------------------------
+Wed Jun 5 09:39:57 UTC 2019 - Marketa Calabkova <[email protected]>
+
+- Update to 4.7.0
+ * Add support for MDQ signature verification
+ * Raise XmlsecError if xmlsec1 operations do not succeed
+ * Handle non standard response error status codes correctly
+ * Remove the python-future dependency and only use six
+
+-------------------------------------------------------------------
+Fri Dec 7 10:43:13 UTC 2018 - Tomáš Chvátal <[email protected]>
+
+- Update to 4.6.5:
+ * Many many changes everywhere, see CHANGELOG.md for details
+- Use github tarball to include license/tests
+
+-------------------------------------------------------------------
+Tue Dec 4 12:52:47 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------
+Wed Oct 10 06:08:56 UTC 2018 - Dirk Mueller <[email protected]>
+
+- cleanup filelist
+
+-------------------------------------------------------------------
+Tue Oct 9 15:50:52 UTC 2018 - Colleen Murphy <[email protected]>
+
+- Replace python-pycryptodomex dep with python-cryptography
+ - Dependency was swapped in afdf5b4
+
+-------------------------------------------------------------------
Old:
----
pysaml2-4.5.0.tar.gz
New:
----
v4.8.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pysaml2.spec ++++++
--- /var/tmp/diff_new_pack.RC0ym0/_old 2020-03-09 18:11:12.573183138 +0100
+++ /var/tmp/diff_new_pack.RC0ym0/_new 2020-03-09 18:11:12.573183138 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pysaml2
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,60 +12,52 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
-# Test reqs are heavy, thus only have it on demand:
-%bcond_with tests
-
-Name: python-pysaml2
%global modname pysaml2
-Version: 4.5.0
+Name: python-pysaml2
+Version: 4.8.0
Release: 0
Summary: Python implementation of SAML Version 2 to be used in a WSGI
environment
License: Apache-2.0
-Group: Development/Languages/Python
-Url: https://github.com/rohe/%{modname}
-Source:
https://pypi.io/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
-BuildRequires: %{python_module devel}
-BuildRequires: %{python_module setuptools}
-BuildRequires: fdupes
-BuildRequires: python-rpm-macros
-# Test requirements:
-%if %{with tests}
-BuildRequires: %{python_module decorator}
-BuildRequires: %{python_module future}
-BuildRequires: %{python_module mako}
-BuildRequires: %{python_module mongodict}
+URL: https://github.com/IdentityPython/pysaml2
+Source:
https://github.com/IdentityPython/pysaml2/archive/v%{version}.tar.gz
+BuildRequires: %{python_module Paste}
+BuildRequires: %{python_module cryptography >= 1.4}
+BuildRequires: %{python_module dbm}
+BuildRequires: %{python_module defusedxml}
+BuildRequires: %{python_module mock}
BuildRequires: %{python_module pyOpenSSL}
-BuildRequires: %{python_module pyasn1}
-BuildRequires: %{python_module pycryptodomex}
BuildRequires: %{python_module pymongo}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil}
-BuildRequires: %{python_module python-memcached}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module repoze.who}
BuildRequires: %{python_module requests >= 1.0.0}
-%endif
+BuildRequires: %{python_module responses}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module six}
+BuildRequires: %{python_module zope.interface}
+BuildRequires: fdupes
+# This is needed as xmlsec itself does not pull any backend by default
+# Will be fixed in future xmlsec releases
+BuildRequires: libxmlsec1-openssl1
+BuildRequires: python-rpm-macros
+BuildRequires: xmlsec1
Requires: python-Paste
-Requires: python-decorator
+Requires: python-cryptography >= 1.4
Requires: python-defusedxml
-Requires: python-future
Requires: python-pyOpenSSL
-Requires: python-pycryptodomex
Requires: python-python-dateutil
Requires: python-pytz
Requires: python-repoze.who
Requires: python-requests >= 1.0.0
Requires: python-six
Requires: python-zope.interface
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
-
%python_subpackages
%description
@@ -75,25 +67,24 @@
%prep
%setup -q -n %{modname}-%{version}
-sed -i "s/python-memcached == 1.51/python-memcached/" setup.py
# delete shebang of files not in executable path
find src/ -name '*.py' -print0 | xargs -0 sed -i '1s/#!.*$//'
+# remove tests that poll internet
+rm -f tests/test_30_mdstore*.py
%build
%python_build
%install
%python_install
-%fdupes %{buildroot}%{_prefix}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with tests}
%check
-%python_exec setup.py test
-%endif
+%pytest tests
%files %{python_files}
-%defattr(-,root,root,-)
-%doc README.rst LICENSE.txt
+%license LICENSE
+%doc README.rst CHANGELOG.md
%python3_only %{_bindir}/make_metadata.py
%python3_only %{_bindir}/parse_xsd2.py
%python3_only %{_bindir}/mdexport.py