[63252] trunk/dports/math/cadabra/Portfile

gwright at macports.org gwright at macports.org
Sat Jan 30 09:06:43 PST 2010


Revision: 63252
          http://trac.macports.org/changeset/63252
Author:   gwright at macports.org
Date:     2010-01-30 09:06:43 -0800 (Sat, 30 Jan 2010)
Log Message:
-----------
Change +maxima variant to +maintainer_tests at request of the author,
since this is one of a number of features still under development and
not ready for general use. Bump revision.

Modified Paths:
--------------
    trunk/dports/math/cadabra/Portfile

Modified: trunk/dports/math/cadabra/Portfile
===================================================================
--- trunk/dports/math/cadabra/Portfile	2010-01-30 17:05:36 UTC (rev 63251)
+++ trunk/dports/math/cadabra/Portfile	2010-01-30 17:06:43 UTC (rev 63252)
@@ -4,7 +4,7 @@
 
 name		cadabra
 version		1.16
-revision	2
+revision	3
 categories	math
 platforms	darwin
 maintainers	gwright
@@ -28,7 +28,9 @@
 		  depends_run-append port:TeXmacs
 		}
 
-variant maxima description { test interoperation with maxima } {
+variant maintainer_tests description { debug tests used by the maintainer } {
+		  # 1.16 requires maxima to run the maintainer tests.
+		  # This should go away in 1.18 according to the author.
 		  depends_run-append port:maxima
 		}
 
@@ -55,10 +57,10 @@
 build.env	CC=${configure.cc} CXX=${configure.cxx}
 
 post-build	{
-		  if {[variant_isset maxima]} {
+		  if {[variant_isset maintainer_tests]} {
 			system "cd ${worksrcpath} && env CDB_LOG=1 ${build.cmd} test"
+		  	system "cd ${worksrcpath} && env CDB_LOG=1 ${build.cmd} advtest"
 		  }
-		  system "cd ${worksrcpath} && env CDB_LOG=1 ${build.cmd} advtest"
 		}
 
 post-activate	{
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100130/d5ee4ade/attachment.html>


More information about the macports-changes mailing list