[med-svn] r21223 - trunk/packages/microbiomeutil/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Wed Jan 20 09:45:47 UTC 2016


Author: tille
Date: 2016-01-20 09:45:46 +0000 (Wed, 20 Jan 2016)
New Revision: 21223

Added:
   trunk/packages/microbiomeutil/trunk/debian/microbiomeutil.doc-base
Modified:
   trunk/packages/microbiomeutil/trunk/debian/changelog
   trunk/packages/microbiomeutil/trunk/debian/rules
Log:
Add doc-base file


Modified: trunk/packages/microbiomeutil/trunk/debian/changelog
===================================================================
--- trunk/packages/microbiomeutil/trunk/debian/changelog	2016-01-20 08:41:34 UTC (rev 21222)
+++ trunk/packages/microbiomeutil/trunk/debian/changelog	2016-01-20 09:45:46 UTC (rev 21223)
@@ -4,8 +4,10 @@
   * Moved debian/upstream to debian/upstream/metadata
   * cme fix dpkg-control
   * Cleanup d/rules
+  * Run build time tests at least on amd64 architecture
+  * Add doc-base file
 
- -- Andreas Tille <tille at debian.org>  Tue, 19 Jan 2016 19:34:40 +0100
+ -- Andreas Tille <tille at debian.org>  Wed, 20 Jan 2016 09:10:18 +0100
 
 microbiomeutil (20101212+dfsg-1) unstable; urgency=low
 

Added: trunk/packages/microbiomeutil/trunk/debian/microbiomeutil.doc-base
===================================================================
--- trunk/packages/microbiomeutil/trunk/debian/microbiomeutil.doc-base	                        (rev 0)
+++ trunk/packages/microbiomeutil/trunk/debian/microbiomeutil.doc-base	2016-01-20 09:45:46 UTC (rev 21223)
@@ -0,0 +1,9 @@
+Document: microbiomeutil
+Title: Microbiome Utilities of the Broad Institute
+Author: The Broad Institute <http://www.broadinstitute.org>
+Abstract: Microbiome Analysis Utilities
+Section: Science/Biology
+
+Format: html
+Index: /usr/share/doc/microbiomeutil/docs/microbiomeutil.html
+Files: /usr/share/doc/microbiomeutil/docs/microbiomeutil.html

Modified: trunk/packages/microbiomeutil/trunk/debian/rules
===================================================================
--- trunk/packages/microbiomeutil/trunk/debian/rules	2016-01-20 08:41:34 UTC (rev 21222)
+++ trunk/packages/microbiomeutil/trunk/debian/rules	2016-01-20 09:45:46 UTC (rev 21223)
@@ -7,9 +7,17 @@
 %:
 	dh $@
 
-#Kill the tests just now - they take too long.
-override_dh_auto_test :
-	true
+override_dh_auto_test:
+ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	echo 'skip testing due to DEB_BUILD_OPTIONS="$(DEB_BUILD_OPTIONS)"'
+else
+# Run test suite only on powerfull architectures (amd64) at build time
+ifneq (,$(filter $(DEB_HOST_ARCH),amd64 kfreebsd-amd64))
+	dh_auto_test
+else
+	echo "Do not run test suite when building on architecture $(DEB_HOST_ARCH)"
+endif
+endif
 
 override_dh_auto_build :
 	dh_auto_build




More information about the debian-med-commit mailing list