Hello community,

here is the log from the commit of package python-pysaml2 for openSUSE:Factory 
checked in at 2017-08-24 18:32:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pysaml2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-pysaml2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pysaml2"

Thu Aug 24 18:32:57 2017 rev:6 rq:507290 version:4.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pysaml2/python-pysaml2.changes    
2016-03-07 13:23:37.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-pysaml2.new/python-pysaml2.changes       
2017-08-24 18:33:06.180487479 +0200
@@ -1,0 +2,16 @@
+Mon Jun 19 08:57:42 UTC 2017 - [email protected]
+
+- Convert to singlespec
+
+-------------------------------------------------------------------
+Tue Nov 22 15:18:26 UTC 2016 - [email protected]
+
+- fix requires
+
+-------------------------------------------------------------------
+Thu Nov 17 14:42:09 UTC 2016 - [email protected]
+
+- update to 4.4.0
+- added LICENSE.txt to docs
+
+-------------------------------------------------------------------

Old:
----
  pysaml2-2.4.0.tar.gz

New:
----
  pysaml2-4.4.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pysaml2.spec ++++++
--- /var/tmp/diff_new_pack.ljFmYd/_old  2017-08-24 18:33:07.180346615 +0200
+++ /var/tmp/diff_new_pack.ljFmYd/_new  2017-08-24 18:33:07.184346052 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pysaml2
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,46 +16,55 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
 # Test reqs are heavy, thus only have it on demand:
 %bcond_with tests 
 
 Name:           python-pysaml2
-Version:        2.4.0
+%global modname pysaml2
+Version:        4.4.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/pysaml2
-Source:         
https://pypi.python.org/packages/source/p/pysaml2/pysaml2-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+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-M2Crypto
-BuildRequires:  python-decorator
-BuildRequires:  python-mako
-BuildRequires:  python-mongodict
-BuildRequires:  python-pyasn1
-BuildRequires:  python-pymongo
-BuildRequires:  python-pytest
-BuildRequires:  python-python-memcached
-BuildRequires:  python-repoze.who
-BuildRequires:  python-requests >= 1.0.0
+BuildRequires:  %{python_module decorator}
+BuildRequires:  %{python_module future}
+BuildRequires:  %{python_module mako}
+BuildRequires:  %{python_module mongodict}
+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
 %if 0%{?suse_release}
 # NOTE(saschpe): xmlsec has a lot of deps and some issues, thus not require it:
 Recommends:     python-xmlsec
 %endif
-Requires:       python-M2Crypto
 Requires:       python-Paste
-Requires:       python-argparse
 Requires:       python-decorator
+Requires:       python-future
 Requires:       python-pyOpenSSL
-Requires:       python-pycrypto >= 2.2
+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
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -64,37 +73,38 @@
 BuildArch:      noarch
 %endif
 
+%python_subpackages
+
 %description
-PySAML2 should be compatible with any python >= 2.6 not 3.X yet.
-To be able to sign/verify, encrypt/decrypt you need xmlsec1.
-The repoze stuff works best together with repoze.who .
+PySAML2 is a pure python implementation of SAML2.
+It contains all necessary pieces for building a
+SAML2 service provider or an identity provider.
 
 %prep
-%setup -q -n pysaml2-%{version}
+%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/#!.*$//'
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%fdupes %{buildroot}%{_prefix}
 
 %if %{with tests}
 %check
-python setup.py test
+%python_exec setup.py test
 %endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc README
-%{_bindir}/make_metadata.py
-%{_bindir}/parse_xsd2.py
-%{_bindir}/mdexport.py
-%{_bindir}/merge_metadata.py
-%{python_sitelib}/pysaml2-%{version}-py%{py_ver}.egg-info
-%{python_sitelib}/s2repoze
-%{python_sitelib}/saml2
-%{python_sitelib}/xmldsig
-%{python_sitelib}/xmlenc
+%doc README.rst LICENSE.txt
+%python3_only %{_bindir}/make_metadata.py
+%python3_only %{_bindir}/parse_xsd2.py
+%python3_only %{_bindir}/mdexport.py
+%python3_only %{_bindir}/merge_metadata.py
+%{python_sitelib}/*
 
 %changelog

++++++ pysaml2-2.4.0.tar.gz -> pysaml2-4.4.0.tar.gz ++++++
++++ 34981 lines of diff (skipped)


Reply via email to