Your message dated Sat, 22 Apr 2017 12:28:16 +0000
with message-id <[email protected]>
and subject line unblock pysal
has caused the Debian Bug report #860773,
regarding unblock: pysal/1.13.0-4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
860773: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860773
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock

Please unblock package pysal

It "fixes" #860694 by ignoring test failure on i386 where it's normally
not built (the source only builds arch:all packages).

unblock pysal/1.13.0-4

Kind Regards,

Bas
diff -Nru pysal-1.13.0/debian/changelog pysal-1.13.0/debian/changelog
--- pysal-1.13.0/debian/changelog       2017-01-28 12:38:13.000000000 +0100
+++ pysal-1.13.0/debian/changelog       2017-04-19 11:19:27.000000000 +0200
@@ -1,3 +1,11 @@
+pysal (1.13.0-4) unstable; urgency=medium
+
+  * Team upload.
+  * Ignore test failures on i386, package not normally built there.
+    (closes: #860694)
+
+ -- Bas Couwenberg <[email protected]>  Wed, 19 Apr 2017 11:19:27 +0200
+
 pysal (1.13.0-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru pysal-1.13.0/debian/rules pysal-1.13.0/debian/rules
--- pysal-1.13.0/debian/rules   2017-01-28 12:36:16.000000000 +0100
+++ pysal-1.13.0/debian/rules   2017-04-19 11:18:38.000000000 +0200
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
 export PYBUILD_NAME=pysal
 export PYBUILD_TEST_NOSE=1
 export PYBUILD_TEST_ARGS=--exclude test_DistanceBand_arc  
--exclude-dir=pysal/contrib --exclude-dir pysal/network
@@ -8,6 +10,14 @@
 %:
        dh  $@ --with python2,python3 --buildsystem pybuild
 
+override_dh_auto_test:
+# Ignore test failures on problematic architectures only
+ifneq (,$(findstring $(DEB_BUILD_ARCH),"i386"))
+       dh_auto_test || echo "Ignoring test failures"
+else
+       dh_auto_test
+endif
+
 override_dh_python2:
        dh_python2 -ppython-pysal
        dh_numpy -ppython-pysal

--- End Message ---
--- Begin Message ---
Unblocked pysal.

--- End Message ---

Reply via email to