[Git][debian-gis-team/pysal][master] Use filter instead of findstring to prevent partial matches.

Bas Couwenberg gitlab at salsa.debian.org
Tue Jul 17 17:31:24 BST 2018


Bas Couwenberg pushed to branch master at Debian GIS Project / pysal


Commits:
989ea2ce by Bas Couwenberg at 2018-07-17T18:31:16+02:00
Use filter instead of findstring to prevent partial matches.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ pysal (1.14.3-2) UNRELEASED; urgency=medium
   * Bump Standards-Version to 4.1.5, no changes.
   * Drop ancient X-Python-Version field.
   * Strip trailing whitespace from control & rules files.
+  * Use filter instead of findstring to prevent partial matches.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 21 Jan 2018 10:32:03 +0100
 


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ export PYBUILD_TEST_ARGS=--verbose --exclude test_DistanceBand_arc --exclude tes
 
 override_dh_auto_test:
 # Ignore test failures on problematic architectures only
-ifneq (,$(findstring $(DEB_BUILD_ARCH),"i386"))
+ifneq (,$(filter $(DEB_BUILD_ARCH),i386))
 	dh_auto_test || echo "Ignoring test failures"
 else
 	dh_auto_test



View it on GitLab: https://salsa.debian.org/debian-gis-team/pysal/commit/989ea2ce5997b9860c9c28d9de98f1fb8b46cebb

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pysal/commit/989ea2ce5997b9860c9c28d9de98f1fb8b46cebb
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20180717/5709dfdf/attachment.html>


More information about the Pkg-grass-devel mailing list