Hello community, here is the log from the commit of package python-pysaml2 for openSUSE:Factory checked in at 2019-01-03 18:05:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pysaml2 (Old) and /work/SRC/openSUSE:Factory/.python-pysaml2.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pysaml2" Thu Jan 3 18:05:59 2019 rev:10 rq:656000 version:4.6.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pysaml2/python-pysaml2.changes 2018-10-11 11:57:03.425901079 +0200 +++ /work/SRC/openSUSE:Factory/.python-pysaml2.new.28833/python-pysaml2.changes 2019-01-03 18:06:00.816173126 +0100 @@ -1,0 +2,12 @@ +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 + +------------------------------------------------------------------- Old: ---- pysaml2-4.5.0.tar.gz New: ---- v4.6.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pysaml2.spec ++++++ --- /var/tmp/diff_new_pack.U5Byw4/_old 2019-01-03 18:06:07.096167544 +0100 +++ /var/tmp/diff_new_pack.U5Byw4/_new 2019-01-03 18:06:07.096167544 +0100 @@ -17,43 +17,20 @@ %{?!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.6.5 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} +URL: https://github.com/IdentityPython/pysaml2 +Source: https://github.com/IdentityPython/pysaml2/archive/v%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# Test requirements: -%if %{with tests} -BuildRequires: %{python_module cryptography} -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 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 Requires: python-Paste -Requires: python-cryptography -Requires: python-decorator +Requires: python-cryptography >= 1.4 Requires: python-defusedxml Requires: python-future Requires: python-pyOpenSSL @@ -63,9 +40,28 @@ Requires: python-requests >= 1.0.0 Requires: python-six Requires: python-zope.interface -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - +BuildRequires: %{python_module Paste} +BuildRequires: %{python_module cryptography >= 1.4} +BuildRequires: %{python_module defusedxml} +BuildRequires: %{python_module future} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pyOpenSSL} +BuildRequires: %{python_module pymongo} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-dateutil} +BuildRequires: %{python_module pytz} +BuildRequires: %{python_module repoze.who} +BuildRequires: %{python_module requests >= 1.0.0} +BuildRequires: %{python_module responses} +BuildRequires: %{python_module six} +BuildRequires: %{python_module zope.interface} +# This is needed as xmlsec itself does not pull any backend by default +# Will be fixed in future xmlsec releases +BuildRequires: libxmlsec1-openssl1 +BuildRequires: python2-gdbm +BuildRequires: python3-dbm +BuildRequires: xmlsec1 %python_subpackages %description @@ -75,25 +71,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 +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} %files %{python_files} -%license LICENSE.txt -%doc README.rst +%license LICENSE +%doc README.rst CHANGELOG.md %python3_only %{_bindir}/make_metadata.py %python3_only %{_bindir}/parse_xsd2.py %python3_only %{_bindir}/mdexport.py
