[Python-modules-commits] r32794 - in packages/mockldap/trunk/debian (3 files)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Wed May 27 18:56:19 UTC 2015


    Date: Wednesday, May 27, 2015 @ 18:56:18
  Author: fladi-guest
Revision: 32794

Drop python3-mockldap binary package as it is not compatible with python3-ldap3 and there is no python3-ldap (Closes: #784645).

Modified:
  packages/mockldap/trunk/debian/control
  packages/mockldap/trunk/debian/rules
Deleted:
  packages/mockldap/trunk/debian/python3-mockldap.docs

Modified: packages/mockldap/trunk/debian/control
===================================================================
--- packages/mockldap/trunk/debian/control	2015-05-27 15:32:38 UTC (rev 32793)
+++ packages/mockldap/trunk/debian/control	2015-05-27 18:56:18 UTC (rev 32794)
@@ -13,12 +13,9 @@
                python-mock-doc,
                python-setuptools,
                python-sphinx (>= 1.0.7+dfsg),
-               python-unittest2,
-               python3-all,
-               python3-setuptools
+               python-unittest2
 Standards-Version: 3.9.6
 X-Python-Version: >= 2.5
-X-Python3-Version: >= 3.3
 Homepage: http://bitbucket.org/psagers/mockldap/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/mockldap/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/mockldap/trunk/
@@ -44,29 +41,6 @@
  LDAP operations–this obviously isn’t a complete Python LDAP server
  implementation–but those simple operations tend to cover a lot of cases.
 
-Package: python3-mockldap
-Architecture: all
-Depends: ${misc:Depends}, ${python3:Depends}
-Suggests: python-mockldap-doc
-Description: simple mock implementation of python-ldap (Python3 version)
- This project provides a mock replacement for python-ldap. It’s useful for any
- project that would like to write unit tests against LDAP code without relying
- on a running LDAP server.
- .
- The goal of mockldap is to provide a mock instance of LDAPObject in response to
- any call to ldap.initialize. In the general case, you would register return
- values for all LDAPObject calls that you expect the code under test to make.
- Your assertions would then verify that the tested code behaved correctly given
- this set of return values from the LDAP APIs.
- .
- As a convenience, the mock LDAPObject isn’t just a dumb mock object. The
- typical way to use mockldap is to provide some static directory content and
- then let LDAPObject generate real return values. This will only work for simple
- LDAP operations–this obviously isn’t a complete Python LDAP server
- implementation–but those simple operations tend to cover a lot of cases.
- .
- This package contains the Python 3 version of the library.
-
 Package: python-mockldap-doc
 Section: doc
 Architecture: all

Deleted: packages/mockldap/trunk/debian/python3-mockldap.docs
===================================================================
--- packages/mockldap/trunk/debian/python3-mockldap.docs	2015-05-27 15:32:38 UTC (rev 32793)
+++ packages/mockldap/trunk/debian/python3-mockldap.docs	2015-05-27 18:56:18 UTC (rev 32794)
@@ -1 +0,0 @@
-README

Modified: packages/mockldap/trunk/debian/rules
===================================================================
--- packages/mockldap/trunk/debian/rules	2015-05-27 15:32:38 UTC (rev 32793)
+++ packages/mockldap/trunk/debian/rules	2015-05-27 18:56:18 UTC (rev 32794)
@@ -4,10 +4,9 @@
 #export DH_VERBOSE=1
 
 export PYBUILD_NAME=mockldap
-export PYBUILD_DISABLE_python3=test
 
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
 	dh_auto_build




More information about the Python-modules-commits mailing list