15
0
forked from pool/python-ldap3

- Reenable testsuite

* Pass || : as some of the tests fail with UNKNOWN-EDIR this means
    the testsuite needs localy running ldap server to communicate with
    as such it does not make sense to fix those FAILED (errors=39)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap3?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal
2018-01-24 14:31:20 +00:00
committed by Git OBS Bridge
parent 8e063c745c
commit becfd878ad
4 changed files with 16 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e8fe0d55a8cecb725748c831ffac2873df94c05b2d7eb867ea167c0500bbc6a8
size 345220

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Jan 24 14:21:40 UTC 2018 - tchvatal@suse.com
- Reenable testsuite
* Pass || : as some of the tests fail with UNKNOWN-EDIR this means
the testsuite needs localy running ldap server to communicate with
as such it does not make sense to fix those FAILED (errors=39)
-------------------------------------------------------------------
Wed Jan 24 13:45:14 UTC 2018 - michael@stroeder.com

View File

@@ -24,14 +24,15 @@ Summary: A strictly RFC 4511 conforming LDAP V3 pure Python client
License: LGPL-3.0
Group: Development/Languages/Python
Url: https://github.com/cannatag/ldap3
Source: https://pypi.io/packages/source/l/ldap3/ldap3-%{version}.tar.gz
Source: https://github.com/cannatag/ldap3/archive/v%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pyasn1 >= 0.1.8}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-testsuite
Requires: python-pyasn1 >= 0.1.8
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -53,12 +54,10 @@ sed -i 's/\r$//' COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
# Files needed for tests are not included in tar.gz
# %check
# nosetests -s test
%check
%python_exec %{_bindir}/nosetests -s test || :
%files %{python_files}
%defattr(-,root,root,-)
%doc COPYING.LESSER.txt COPYING.txt LICENSE.txt README.rst
%{python_sitelib}/ldap3
%{python_sitelib}/ldap3-%{version}-py*.egg-info

3
v2.4.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2220dad97d5801b7f64f81bf489941066a490e56c1371c314bdd69f70a544af3
size 913716