Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ldaptor for openSUSE:Factory checked in at 2021-05-03 22:08:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ldaptor (Old) and /work/SRC/openSUSE:Factory/.python-ldaptor.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ldaptor" Mon May 3 22:08:00 2021 rev:5 rq:889743 version:21.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ldaptor/python-ldaptor.changes 2021-02-08 11:47:21.353703057 +0100 +++ /work/SRC/openSUSE:Factory/.python-ldaptor.new.2988/python-ldaptor.changes 2021-05-03 22:08:06.072508778 +0200 @@ -1,0 +2,34 @@ +Fri Apr 30 20:08:05 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to 21.2.0 + * fix ModuleNotFoundError: No module named 'cStringIO' in + ldaptor-ldap2pdns. + * move scripts to console_scripts entry_points + * replace deprecated calls to base64.decodestring and base64. + encodestring. + * This will be the last Ldaptor release to support Python 3.5. + * Updated the object representations of pureber and pureldap + containers to directly pass on their contained item object + representations. Previously they always passed on the repr + after decoding to str with utf-8. + * Dropped support for Python 2 + * removed Travis CI + * The next release v20.1.0 will drop support for Python 2, and + require Python~=3.5 + * PyPI release is now done via GitHub Action + * the ldaptor whl is now built with pep517. + * the ldaptor whl is tested with tox. The sdist is now untested, + deprecated and should only be used for compatability with very + old packaging tools. + * the setup.py file is deprecated and will be removed in a + future release. + * SASL Bind without credentials caused list index out of range. + Issue #157. + * ldaptor.protocols.ldap.ldapserver.LDAPServer. + handle_LDAPSearchRequest now returns an LDAPSearchResultEntry + without any attributes when there is no match between the + requested attributes and the entrie's attributes. Issue #166. +- Use pep517 +- Fix u-a scriptlets + +------------------------------------------------------------------- Old: ---- ldaptor-19.1.0.tar.gz New: ---- ldaptor-21.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ldaptor.spec ++++++ --- /var/tmp/diff_new_pack.J1u8Dy/_old 2021-05-03 22:08:06.704506081 +0200 +++ /var/tmp/diff_new_pack.J1u8Dy/_new 2021-05-03 22:08:06.704506081 +0200 @@ -18,8 +18,9 @@ %define binaries ldaptor-fetchschema ldaptor-find-server ldaptor-getfreenumber ldaptor-ldap2dhcpconf ldaptor-ldap2dnszones ldaptor-ldap2maradns ldaptor-ldap2passwd ldaptor-ldap2pdns ldaptor-ldifdiff ldaptor-ldifpatch ldaptor-namingcontexts ldaptor-passwd ldaptor-rename ldaptor-search %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-ldaptor -Version: 19.1.0 +Version: 21.2.0 Release: 0 Summary: A Pure-Python Twisted library for LDAP License: MIT @@ -28,9 +29,11 @@ Source: https://files.pythonhosted.org/packages/source/l/ldaptor/ldaptor-%{version}.tar.gz BuildRequires: %{python_module Twisted} BuildRequires: %{python_module passlib} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pyparsing} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module zope.interface} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -39,7 +42,7 @@ Requires: python-pyparsing Requires: python-zope.interface Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -54,12 +57,13 @@ %prep %setup -q -n ldaptor-%{version} +sed -i '1 {/env python/ d}' ldaptor/ldapfilter.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install for b in %{binaries}; do %python_clone -a %{buildroot}%{_bindir}/$b done @@ -69,32 +73,22 @@ %pytest %post -for b in %{binaries}; do - %python_install_alternative $b -done +%{lua:for b in rpm.expand("%{binaries}"):gmatch("%S+") do + print(rpm.expand("%python_install_alternative " .. b .. "\n")) +end} %postun -for b in %{binaries}; do - %python_uninstall_alternative $b -done +%{lua:for b in rpm.expand("%{binaries}"):gmatch("%S+") do + print(rpm.expand("%python_uninstall_alternative " .. b.. "\n")) +end} %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* -%python_alternative %{_bindir}/ldaptor-fetchschema -%python_alternative %{_bindir}/ldaptor-find-server -%python_alternative %{_bindir}/ldaptor-getfreenumber -%python_alternative %{_bindir}/ldaptor-ldap2dhcpconf -%python_alternative %{_bindir}/ldaptor-ldap2dnszones -%python_alternative %{_bindir}/ldaptor-ldap2maradns -%python_alternative %{_bindir}/ldaptor-ldap2passwd -%python_alternative %{_bindir}/ldaptor-ldap2pdns -%python_alternative %{_bindir}/ldaptor-ldifdiff -%python_alternative %{_bindir}/ldaptor-ldifpatch -%python_alternative %{_bindir}/ldaptor-namingcontexts -%python_alternative %{_bindir}/ldaptor-passwd -%python_alternative %{_bindir}/ldaptor-rename -%python_alternative %{_bindir}/ldaptor-search +%{python_sitelib}/ldaptor +%{python_sitelib}/ldaptor-%{version}*-info +%{lua:for b in rpm.expand("%{binaries}"):gmatch("%S+") do + print(rpm.expand("%python_alternative %{_bindir}/" .. b.. "\n")) +end} %changelog ++++++ ldaptor-19.1.0.tar.gz -> ldaptor-21.2.0.tar.gz ++++++ ++++ 37335 lines of diff (skipped)