[Python-modules-commits] r26664 - in packages/django-ldapdb/trunk/debian (3 files)
obergix at users.alioth.debian.org
obergix at users.alioth.debian.org
Wed Dec 4 14:05:43 UTC 2013
Date: Wednesday, December 4, 2013 @ 14:05:42
Author: obergix
Revision: 26664
Ready for initial upload (waiting for mockldap)
Modified:
packages/django-ldapdb/trunk/debian/control
packages/django-ldapdb/trunk/debian/rules
Deleted:
packages/django-ldapdb/trunk/debian/README.source
Deleted: packages/django-ldapdb/trunk/debian/README.source
===================================================================
--- packages/django-ldapdb/trunk/debian/README.source 2013-12-04 13:46:56 UTC (rev 26663)
+++ packages/django-ldapdb/trunk/debian/README.source 2013-12-04 14:05:42 UTC (rev 26664)
@@ -1,8 +0,0 @@
-The package sources are maintained in a git repository (see
-debian/control's Vcs-Git) cloned from upstream author's, and built
-using git-buildpackage (with the --git-debian-branch=debian option).
-
-You may alternatively download upstream's tarball using
- $ debian/rules get-orig-source
-
- -- Olivier Berger <obergix at debian.org>, Tue, 26 Nov 2013 18:30:58 +0100
Modified: packages/django-ldapdb/trunk/debian/control
===================================================================
--- packages/django-ldapdb/trunk/debian/control 2013-12-04 13:46:56 UTC (rev 26663)
+++ packages/django-ldapdb/trunk/debian/control 2013-12-04 14:05:42 UTC (rev 26664)
@@ -7,8 +7,8 @@
Standards-Version: 3.9.4
X-Python-Version: >= 2.6
Homepage: https://github.com/jlaine/django-ldapdb
-Vcs-Git: git://anonscm.debian.org/git/python-modules/packages/django-ldapdb.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/obergix/django-ldapdb.git
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/django-ldapdb/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/django-ldapdb/trunk/
Package: python-django-ldapdb
Architecture: all
Modified: packages/django-ldapdb/trunk/debian/rules
===================================================================
--- packages/django-ldapdb/trunk/debian/rules 2013-12-04 13:46:56 UTC (rev 26663)
+++ packages/django-ldapdb/trunk/debian/rules 2013-12-04 14:05:42 UTC (rev 26664)
@@ -7,7 +7,13 @@
dh $@ --with python2 --buildsystem=pybuild
override_dh_auto_test:
- django-admin test --settings=settings --pythonpath=.
+ # Explicitely enumerate tests to avoid import error when
+ # building with svn-buildpackage, where tests will be run
+ # inside folder that isn't a python module, like: ERROR:
+ # django-ldapdb-0.2.0.examples.tests
+ # (unittest2.loader.ModuleImportFailure)
+ # django-admin test --settings=settings --pythonpath=.
+ django-admin test --settings=settings --pythonpath=. examples.tests ldapdb.tests
override_dh_installexamples:
find examples/ -name '*.pyc' -exec rm {} \;
More information about the Python-modules-commits
mailing list