[pybtex] 24/108: Respect the ‘nocheck’ build option.

Daniel Stender stender at moszumanska.debian.org
Fri Jul 21 10:18:26 UTC 2017


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

stender pushed a commit to branch master
in repository pybtex.

commit 3bf15ec72c2a2a32b4db8c6f5ef456bece1aec84
Author: Jakub Wilk <jwilk at debian.org>
Date:   Tue Feb 16 17:09:51 2010 +0000

    Respect the ‘nocheck’ build option.
---
 debian/changelog | 1 +
 debian/rules     | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8364057..42f0778 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ pybtex (0.12-3) UNRELEASED; urgency=low
   * Bump standards version to 3.8.4 (no changes needed).
   * Update my e-mail address.
   * Remove requires.txt (dpkg is better at handling dependencies).
+  * Respect the ‘nocheck’ build option.
 
  -- Jakub Wilk <jwilk at debian.org>  Fri, 05 Feb 2010 22:06:58 +0100
 
diff --git a/debian/rules b/debian/rules
index 6ef2e13..0224420 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,9 @@ override_dh_installman:
 
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	python setup.py nosetests
+endif
 
 .PHONY: override_dh_installchangelog
 override_dh_installchangelogs:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybtex.git



More information about the debian-science-commits mailing list