forked from pool/python-ldap3
- added eDirectory 9.1.4 (EDIR_9_1_4) to offline schemas - added json converter for timedelta (thanks dirkjanm) - strip parameter defaults to False in utils.dn.parse_dn() - escaped space is allowed as trailing character in attribute_value in utils.dn.parse_dn() (thanks phi1010) - connection.extend.standard.paged_search doesn't raise exceptions when raise_exceptions is False - the Search operation returns the entries fetched by the server when size or time limits are reached even if raise_exceptions is set to True - Handle the minimum value that can be stored in an Int64 in format_ad_timedelta (thanks mprahl) - EntryState: `entry_raw_attributes` is populated instead of `raw_attributes` (thanks Christian) - Removed restriction to perform rename and move simultaneously in modify_dn (thanks Fabian) - fixed checking for hexdigits in parse_dn (thanks Michael) - fixed escaping when multiple backslashes are present in parse_dn (thanks Phillip) - fixed multiple NoneType exceptions in entry_to_json() (thanks David and cfelder) - allowing Microsoft specific syntax (<WKGUID=xxx>) for WellKnownObjects in DN (thanks David) - connection.extend.standard.paged_search() now follows referrals when auto_referrals=True (thanks kprativa) - fixed a bug in decoding replica list in connection.extend.novell.list_replicas() - fixed a bug when adding duplicate alias in CaseInsensitiveWithAliasDict() - added ignore_duplicates=False in set_aliases in CaseInsensitiveWithAliasDict() to ignore a duplicate alias (either in aliases or in keys) - Schema info now uses CaseInsensitiveWithAlias dict as default so object and attributes can also be referentiated with OID (thanks ahoffm11) - added block mode and timeout parameters to next() method of persistent_search - when using the pyasn1 decoder raw_dn is not returned as a pyasn1 object anymore but as bytes - Return offset timezone aware datetime for max AD timestamp (thanks Jussi) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap3?expand=0&rev=25
66 lines
2.1 KiB
RPMSpec
66 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package python-ldap3
|
|
#
|
|
# Copyright (c) 2019 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
Name: python-ldap3
|
|
Version: 2.6.1
|
|
Release: 0
|
|
Summary: A strictly RFC 4511 conforming LDAP V3 pure Python client
|
|
License: LGPL-3.0-only
|
|
URL: https://github.com/cannatag/ldap3
|
|
Source: https://github.com/cannatag/ldap3/archive/v%{version}.tar.gz
|
|
BuildRequires: %{python_module nose}
|
|
BuildRequires: %{python_module pyasn1 >= 0.1.8}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: dos2unix
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
BuildRequires: python3-testsuite
|
|
Requires: python-pyasn1 >= 0.1.8
|
|
BuildArch: noarch
|
|
%python_subpackages
|
|
|
|
%description
|
|
ldap3 is a strictly RFC 4511 conforming LDAP V3 pure Python **client**.
|
|
The same codebase works with Python, Python 3, PyPy and PyPy3.
|
|
|
|
This project was formerly named **python3-ldap**.
|
|
The name has been changed to avoid confusion with the python-ldap library.
|
|
|
|
%prep
|
|
%setup -q -n ldap3-%{version}
|
|
dos2unix COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
|
|
|
%check
|
|
%python_exec %{_bindir}/nosetests -s test || :
|
|
|
|
%files %{python_files}
|
|
%license COPYING.LESSER.txt COPYING.txt LICENSE.txt
|
|
%doc README.rst
|
|
%{python_sitelib}/ldap3
|
|
%{python_sitelib}/ldap3-%{version}-py*.egg-info
|
|
|
|
%changelog
|