[Python-modules-commits] [python-xlrd] 08/09: d/rules: reenable unittests

Vincent Bernat bernat at moszumanska.debian.org
Sun Jul 3 18:22:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

bernat pushed a commit to branch master
in repository python-xlrd.

commit 37d6ae0ca601fbca1bda58d0083b8282879eb377
Author: Vincent Bernat <vincent at bernat.im>
Date:   Sun Jul 3 20:06:38 2016 +0200

    d/rules: reenable unittests
---
 debian/changelog | 1 +
 debian/copyright | 2 +-
 debian/rules     | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2371749..135ccb7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ python-xlrd (1.0.0-1) UNRELEASED; urgency=medium
     now provided).
   * d/control: bump Standards-Version.
   * d/control: build-depends on python{,3}-setuptools.
+  * d/rules: re-enable unittests.
 
  -- Vincent Bernat <bernat at debian.org>  Sun, 03 Jul 2016 19:53:02 +0200
 
diff --git a/debian/copyright b/debian/copyright
index ca77e23..b2579ed 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -33,7 +33,7 @@ License: BSD-3-clause
  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  THE POSSIBILITY OF SUCH DAMAGE.
  .
- Based on the the Java version: Andrew Khan Copyright (c) 2000.
+ Based on the Java version: Andrew Khan Copyright (c) 2000.
  .
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
diff --git a/debian/rules b/debian/rules
index cc48149..a84f8e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME = xlrd
+export PYBUILD_BEFORE_TEST=ln -s {dir}/xlrd/examples {build_dir}/xlrd/.
+export PYBUILD_AFTER_TEST=rm {build_dir}/xlrd/examples
 
 %:
 	dh $@ --with python2,python3 --buildsystem pybuild
@@ -9,5 +11,3 @@ override_dh_auto_install:
 	dh_auto_install
 	mv debian/python-xlrd/usr/bin/runxlrd.py debian/python-xlrd/usr/bin/runxlrd
 	rm debian/python3-xlrd/usr/bin/runxlrd.py
-
-override_dh_auto_test:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-xlrd.git



More information about the Python-modules-commits mailing list