Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Dec 2016 22:05:54 +0000 (UTC)
From:      Mikhail Pchelin <misha@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429382 - in head/mail/notmuch: . files
Message-ID:  <201612242205.uBOM5s0e050495@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: misha
Date: Sat Dec 24 22:05:54 2016
New Revision: 429382
URL: https://svnweb.freebsd.org/changeset/ports/429382

Log:
  - update from 0.23.3 to 0.23.4
  - update TEST_DEPENDS
  - patch port's test infrastructure to use GNU coreutils
  
  Approved by:	jpaetzel (mentor)

Added:
  head/mail/notmuch/files/
  head/mail/notmuch/files/patch-test_test-lib-common.sh   (contents, props changed)
Modified:
  head/mail/notmuch/Makefile
  head/mail/notmuch/distinfo

Modified: head/mail/notmuch/Makefile
==============================================================================
--- head/mail/notmuch/Makefile	Sat Dec 24 21:54:59 2016	(r429381)
+++ head/mail/notmuch/Makefile	Sat Dec 24 22:05:54 2016	(r429382)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	notmuch
-PORTVERSION=	0.23.3
+PORTVERSION=	0.23.4
 CATEGORIES=	mail
 MASTER_SITES=	http://notmuchmail.org/releases/
 
@@ -19,7 +19,13 @@ LIB_DEPENDS=	libgmime-2.6.so:mail/gmime2
 TEST_DEPENDS=	bash:shells/bash \
 		emacs:editors/emacs-nox11 \
 		dtach:misc/dtach \
-		base64:converters/base64
+		gdate:sysutils/coreutils \
+		gbase64:sysutils/coreutils \
+		gwc:sysutils/coreutils \
+		gsed:sysutils/coreutils \
+		gsha256sum:sysutils/coreutils \
+		gpg:security/gnupg \
+		${PREFIX}/bin/gdb:devel/gdb
 
 BROKEN_powerpc64=	Does not build
 
@@ -31,13 +37,11 @@ USE_LDCONFIG=	yes
 
 MAKE_ENV+=	PYTHONCMD=${PYTHON_CMD}
 
-## a lot of tests are failing because they're Linux oriented and need
-## some tweaking to run on FreeBSD
-TEST_ENV+=	NOTMUCH_SKIP_TESTS="basic new count insert tagging json sexp \
-		emacs emacs-large-search-buffer crypto smime atomicity ruby \
-		parse-time-string upgrade thread-search thread-breakage \
-		message-property lock" V=1 \
-		TEST_CFLAGS="-g -O0 -I${LOCALBASE}/include -L${LOCALBASE}/lib"
+TEST_ENV+=	NOTMUCH_SKIP_TESTS="basic count insert smime atomicity \
+		message-property" \
+		V=1 \
+		TEST_CFLAGS="-g -O0 -I${LOCALBASE}/include -L${LOCALBASE}/lib" \
+		BSD_GDB=${PREFIX}/bin/gdb
 
 TEST_TARGET=	test
 

Modified: head/mail/notmuch/distinfo
==============================================================================
--- head/mail/notmuch/distinfo	Sat Dec 24 21:54:59 2016	(r429381)
+++ head/mail/notmuch/distinfo	Sat Dec 24 22:05:54 2016	(r429382)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1481130627
-SHA256 (notmuch-0.23.3.tar.gz) = 0f5da5cf0203b774e345c50d56e975a87c2fc5407ef4ea284b6e2b55a8951882
-SIZE (notmuch-0.23.3.tar.gz) = 691361
+TIMESTAMP = 1482605015
+SHA256 (notmuch-0.23.4.tar.gz) = 106dd6e39c4955871a49a84488d06394c1cecf66c1542b11834f8e8d5c66453b
+SIZE (notmuch-0.23.4.tar.gz) = 691851

Added: head/mail/notmuch/files/patch-test_test-lib-common.sh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/notmuch/files/patch-test_test-lib-common.sh	Sat Dec 24 22:05:54 2016	(r429382)
@@ -0,0 +1,19 @@
+--- test/test-lib-common.sh.orig	2016-12-24 18:44:17 UTC
++++ test/test-lib-common.sh
+@@ -24,6 +24,16 @@
+ #
+ type die >/dev/null 2>&1 || die () { echo "$@" >&2; exit 1; }
+ 
++# allow using aliases in scripts
++shopt -s expand_aliases
++
++alias date=gdate
++alias base64=gbase64
++alias gdb=$BSD_GDB
++alias wc=gwc
++alias sed=gsed
++alias sha256sum=gsha256sum
++
+ find_notmuch_path ()
+ {
+     dir="$1"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612242205.uBOM5s0e050495>