Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2018 06:44:02 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470677 - in head/math/spectra: . files
Message-ID:  <201805230644.w4N6i2HN037272@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed May 23 06:44:01 2018
New Revision: 470677
URL: https://svnweb.freebsd.org/changeset/ports/470677

Log:
  math/spectra: Update 0.6.1 -> 0.6.2
  
  Also add do-test target.
  
  Reported by:	portscout

Added:
  head/math/spectra/files/
  head/math/spectra/files/patch-test_Makefile   (contents, props changed)
Modified:
  head/math/spectra/Makefile
  head/math/spectra/distinfo

Modified: head/math/spectra/Makefile
==============================================================================
--- head/math/spectra/Makefile	Wed May 23 06:10:02 2018	(r470676)
+++ head/math/spectra/Makefile	Wed May 23 06:44:01 2018	(r470677)
@@ -2,7 +2,7 @@
 
 PORTNAME=	spectra
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.6.1
+DISTVERSION=	0.6.2
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -16,7 +16,12 @@ GH_ACCOUNT=	yixuan
 NO_BUILD=	yes
 NO_ARCH=	yes
 
+TEST_RUN_DEPENDS=	gmake>0:devel/gmake
+
 do-install:
 	cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX}
+
+do-test: # some tests are known to fail: https://github.com/yixuan/spectra/issues/47
+	@cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} CXXFLAGS=-I${LOCALBASE}/include/eigen3 ${GMAKE} all test
 
 .include <bsd.port.mk>

Modified: head/math/spectra/distinfo
==============================================================================
--- head/math/spectra/distinfo	Wed May 23 06:10:02 2018	(r470676)
+++ head/math/spectra/distinfo	Wed May 23 06:44:01 2018	(r470677)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1524467637
-SHA256 (yixuan-spectra-v0.6.1_GH0.tar.gz) = 8cd78754de89ffa2990576d6fb7832ff5504a0fbd9f3d2ec9bda4993f9a639a1
-SIZE (yixuan-spectra-v0.6.1_GH0.tar.gz) = 164458
+TIMESTAMP = 1527051358
+SHA256 (yixuan-spectra-v0.6.2_GH0.tar.gz) = 28ef6a11707678cd6d678b2006786aa7d1af75773a4e2cacbadcdbe2710190cc
+SIZE (yixuan-spectra-v0.6.2_GH0.tar.gz) = 168066

Added: head/math/spectra/files/patch-test_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/spectra/files/patch-test_Makefile	Wed May 23 06:44:01 2018	(r470677)
@@ -0,0 +1,8 @@
+--- test/Makefile.orig	2018-05-22 20:39:55 UTC
++++ test/Makefile
+@@ -1,4 +1,4 @@
+-CXXFLAGS = -std=c++11 -Wall -O2 -Wno-parentheses -Wno-misleading-indentation -Wno-int-in-bool-context
++CXXFLAGS += -std=c++11 -Wall -O2 -Wno-parentheses
+ CPPFLAGS = -I../include
+ LDFLAGS =
+ LIBS =



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