[117148] trunk/base/tests/test/svn-and-patchsites/Portfile
cal at macports.org
cal at macports.org
Mon Feb 17 14:51:09 PST 2014
Revision: 117148
https://trac.macports.org/changeset/117148
Author: cal at macports.org
Date: 2014-02-17 14:51:09 -0800 (Mon, 17 Feb 2014)
Log Message:
-----------
svn-and-patchsites test: Use MacPorts infrastructure for the test to avoid sporadic failure because of problems at the previous remote svn server
Modified Paths:
--------------
trunk/base/tests/test/svn-and-patchsites/Portfile
Modified: trunk/base/tests/test/svn-and-patchsites/Portfile
===================================================================
--- trunk/base/tests/test/svn-and-patchsites/Portfile 2014-02-17 21:57:39 UTC (rev 117147)
+++ trunk/base/tests/test/svn-and-patchsites/Portfile 2014-02-17 22:51:09 UTC (rev 117148)
@@ -1,31 +1,42 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name svn-and-patchsites
-version 1
-categories test
-maintainers nomaintainer
-description Test port for svn+distant patchfiles functionalities
-homepage http://www.macports.org/
-platforms darwin
+name svn-and-patchsites
+version 2
-long_description ${description}
+categories test
+maintainers nomaintainer
+platforms darwin
+homepage http://www.macports.org/
+description Test port for svn+distant patchfiles functionalities
+long_description ${description}
+
+# use a MacPorts svn URL so we don't ping a remote SVN server every time the
+# tests are run
+# taken from the mpvim port
fetch.type svn
-svn.url http://svn.pythonmac.org/altgraph/altgraph/tags/altgraph-0.7.0/
-worksrcdir altgraph-0.7.0
+svn.url https://svn.macports.org/repository/macports/contrib/mpvim
-patch_sites http://home.uchicago.edu/~dgc/sw/mutt/
-patchfiles patch-1.5.14.dgc.xlabel_ext.9
-checksums patch-1.5.14.dgc.xlabel_ext.9 md5 c5badc733020187b6677f31b343195e8
+# use a MacPorts distfiles server to avoid hitting a remote server every time
+# the tests are run (and possibly causing failures when the server is down)
+# taken from the vim port
+patch_sites http://distfiles.macports.org/vim/7.4
+patchfiles 7.4.001 \
+ 7.4.002 \
+ 7.4.003
+checksums 7.4.001 md5 f234692c9ab5265ba6ba6f55c0f81764 \
+ 7.4.002 md5 a03e1a5ad3722f2011751dda977641af \
+ 7.4.003 md5 e6d070f592bb6da4d8cf2f7f134425e5
# Set depends_fetch to be empty to remove the dependency on svn added by base,
# as it is not available in the test suite. Otherwise MacPorts will try to
# verify a subversion port exists.
depends_fetch
-# disable the patch phase in case the svn code gets out of sync with the patch.
+# disable the patch phase because the patches would never apply
patch {}
extract {}
configure {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140217/5a591a66/attachment.html>
More information about the macports-changes
mailing list