File: 0002-Use-pyldap-for-both-Python2-and-Python3.patch

package info (click to toggle)
mockldap 0.3.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 252 kB
  • sloc: python: 642; makefile: 156
file content (24 lines) | stat: -rw-r--r-- 619 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Fri, 17 Mar 2017 21:26:14 +0100
Subject: Use pyldap for both Python2 and Python3.

---
 setup.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/setup.py b/setup.py
index fd80003..b82c1c5 100755
--- a/setup.py
+++ b/setup.py
@@ -40,10 +40,7 @@ setup(
     keywords=['mock', 'ldap'],
     install_requires=[
         'funcparserlib == 0.3.6',
-
-        'pyldap; python_version >= "3.0"',
-        'python-ldap >= 2.0; python_version < "3.0"',
-
+        'pyldap',
         'mock; python_version < "3.0"',
     ],
     setup_requires=[