Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37573720
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-ldap3

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname ldap3

Summary: A strictly RFC 4511 conforming LDAP V3 pure Python 3 client - Python 2 compatible
Name: python3-module-%oname
Version: 2.9
Release: alt1
License: LGPLv3
Group: Development/Python3
BuildArch: noarch
Url: https://pypi.org/project/ldap3/

# https://github.com/cannatag/ldap3.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3

%py3_provides %oname

%description
python-ldap provides an object-oriented API to access LDAP
directory servers from Python programs. Mainly it wraps the
OpenLDAP 2.x libs for that purpose.

Additionally the package contains modules for other LDAP-related
stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 sub-schema, etc.).

%prep
%setup

# it is stated in comment that this file is used for python2 only, remove it for python3

rm -f ldap3/utils/ordDict.py

%build
%python3_build_debug

%install
%python3_install

%files
%doc *.txt *.rst
%python3_sitelibdir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin