[Debian-hebrew-package] r1017 - in /pkg/hspell/trunk/debian: changelog control patches/series patches/test_bashism.patch rules

tzafrir at users.alioth.debian.org tzafrir at users.alioth.debian.org
Wed Sep 2 21:19:59 UTC 2015


Author: tzafrir
Date: Wed Sep  2 21:19:59 2015
New Revision: 1017

URL: http://svn.debian.org/wsvn/debian-hebrew/?sc=1&rev=1017
Log:
Enable self-tests (require hunspell)

Added:
    pkg/hspell/trunk/debian/patches/test_bashism.patch
Modified:
    pkg/hspell/trunk/debian/changelog
    pkg/hspell/trunk/debian/control
    pkg/hspell/trunk/debian/patches/series
    pkg/hspell/trunk/debian/rules

Modified: pkg/hspell/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hspell/trunk/debian/changelog?rev=1017&op=diff
==============================================================================
--- pkg/hspell/trunk/debian/changelog	(original)
+++ pkg/hspell/trunk/debian/changelog	Wed Sep  2 21:19:59 2015
@@ -2,6 +2,7 @@
 
   * reproducible_build.patch: remove date from aspell / hunspell affix files 
   * Switch to a dh-style rules file, compat level 9 
+  * Enable self-tests (require hunspell)
 
  -- Tzafrir Cohen <tzafrir at debian.org>  Wed, 02 Sep 2015 23:50:15 +0300
 

Modified: pkg/hspell/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hspell/trunk/debian/control?rev=1017&op=diff
==============================================================================
--- pkg/hspell/trunk/debian/control	(original)
+++ pkg/hspell/trunk/debian/control	Wed Sep  2 21:19:59 2015
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Hebrew Packaging Team <debian-hebrew-package at lists.alioth.debian.org>
 Uploaders: Baruch Even <baruch at debian.org>, Lior Kaplan <kaplan at debian.org>, Shachar Shemesh <shachar at debian.org>, Tzafrir Cohen <tzafrir at debian.org>
-Build-Depends: debhelper (>= 9), perl, zlib1g-dev
+Build-Depends: debhelper (>= 9), perl, zlib1g-dev, hunspell
 Build-Depends-Indep: dictionaries-common-dev
 Standards-Version: 3.9.3
 Vcs-Svn: svn://svn.debian.org/svn/debian-hebrew/pkg/hspell

Modified: pkg/hspell/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hspell/trunk/debian/patches/series?rev=1017&op=diff
==============================================================================
--- pkg/hspell/trunk/debian/patches/series	(original)
+++ pkg/hspell/trunk/debian/patches/series	Wed Sep  2 21:19:59 2015
@@ -2,3 +2,4 @@
 make-install.patch
 whatsnew-utf8.patch
 reproducible_build.patch
+test_bashism.patch

Added: pkg/hspell/trunk/debian/patches/test_bashism.patch
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hspell/trunk/debian/patches/test_bashism.patch?rev=1017&op=file
==============================================================================
--- pkg/hspell/trunk/debian/patches/test_bashism.patch	(added)
+++ pkg/hspell/trunk/debian/patches/test_bashism.patch	Wed Sep  2 21:19:59 2015
@@ -0,0 +1,32 @@
+From: Tzafrir Cohen <tzafrir at debian.org>
+Subject: bashism in the test script
+
+--- a/test/test1
++++ b/test/test1
+@@ -11,7 +11,7 @@
+ DIR=test
+ 
+ TMPLOG=/tmp/test1.log
+-function dotest(){
++dotest(){
+ 	# Run the given "ispell -a"-like command and expect all the words to
+ 	# be correct, or all incorrect, as requested.
+ 	local TESTNAME="$1"
+@@ -50,7 +50,7 @@
+ }
+ 
+ TMPFILE=/tmp/test1.in
+-function test_all(){
++test_all(){
+ 	TESTNAME="$1"
+ 	shift
+ 	>$TMPFILE
+@@ -64,7 +64,7 @@
+ 			dotest "$TESTNAME/$section" "$TMPFILE" "$SECHEAD" "$@"
+ 			>$TMPFILE
+ 			SECHEAD="$line"
+-			let section++
++			section=$((section+1))
+ 			;;
+ 		*)
+ 			echo "$line" >>$TMPFILE

Modified: pkg/hspell/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-hebrew/pkg/hspell/trunk/debian/rules?rev=1017&op=diff
==============================================================================
--- pkg/hspell/trunk/debian/rules	(original)
+++ pkg/hspell/trunk/debian/rules	Wed Sep  2 21:19:59 2015
@@ -21,6 +21,3 @@
 
 override_dh_auto_build:
 	$(MAKE) hunspell
-
-# Disable tests for now
-override_dh_auto_test:




More information about the Debian-hebrew-package mailing list