[Checkins] SVN: CMF/trunk/ - added Chameleon tests

Yvo Schubbe cvs-admin at zope.org
Wed Oct 16 11:10:31 CEST 2013


Log message for revision 130342:
  - added Chameleon tests

Changed:
  U   CMF/trunk/README.txt
  U   CMF/trunk/buildout-zope213.cfg
  U   CMF/trunk/buildout.cfg
  U   CMF/trunk/versions.cfg

-=-
Modified: CMF/trunk/README.txt
===================================================================
--- CMF/trunk/README.txt	2013-10-16 08:49:28 UTC (rev 130341)
+++ CMF/trunk/README.txt	2013-10-16 09:10:29 UTC (rev 130342)
@@ -51,6 +51,23 @@
   $ ./bin/buildout -c buildout-zope213.cfg
   $ ./bin/test
 
+------------------------------
+Experimental Chameleon support
+------------------------------
+
+Usage
+=====
+
+Just add the five.pt egg to the dependencies. The ``test-with-chameleon``
+script tests Chameleon compatibility. Currently this doesn't work on Windows.
+
+Known limitations
+=================
+
+- five.pt doesn't work with zope.pagetemplate 4 and Windows newlines
+
+- Issue #144: repeat/item/first/foo seems broken
+
 -------------------------
 Experimental WSGI support
 -------------------------

Modified: CMF/trunk/buildout-zope213.cfg
===================================================================
--- CMF/trunk/buildout-zope213.cfg	2013-10-16 08:49:28 UTC (rev 130341)
+++ CMF/trunk/buildout-zope213.cfg	2013-10-16 09:10:29 UTC (rev 130342)
@@ -8,6 +8,7 @@
 allow-picked-versions = false
 parts =
     test
+    test-with-chameleon
     scripts
     zopepy
     wsgi
@@ -31,6 +32,11 @@
 unzip = true
 
 
+[versions]
+# ZTK KGS overrides
+zope.pagetemplate = 3.6.3 ;# five.pt requires zope.pagetemplate >= 3.6.2
+
+
 [test]
 recipe = zc.recipe.testrunner
 eggs =
@@ -43,6 +49,13 @@
     Products.GenericSetup
 
 
+[test-with-chameleon]
+recipe = zc.recipe.testrunner
+eggs =
+    ${test:eggs}
+    five.pt
+
+
 [scripts]
 recipe = zc.recipe.egg
 eggs =

Modified: CMF/trunk/buildout.cfg
===================================================================
--- CMF/trunk/buildout.cfg	2013-10-16 08:49:28 UTC (rev 130341)
+++ CMF/trunk/buildout.cfg	2013-10-16 09:10:29 UTC (rev 130342)
@@ -8,6 +8,7 @@
 allow-picked-versions = false
 parts =
     test
+    test-with-chameleon
     scripts
     zopepy
     wsgi
@@ -66,6 +67,17 @@
     Products.GenericSetup
 
 
+[test-with-chameleon]
+recipe = zc.recipe.testrunner
+initialization =
+    import warnings
+    warnings.simplefilter('default', DeprecationWarning)
+    warnings.filterwarnings('ignore', module='RestrictedPython')
+eggs =
+    ${test:eggs}
+    five.pt
+
+
 [scripts]
 recipe = zc.recipe.egg
 eggs =

Modified: CMF/trunk/versions.cfg
===================================================================
--- CMF/trunk/versions.cfg	2013-10-16 08:49:28 UTC (rev 130341)
+++ CMF/trunk/versions.cfg	2013-10-16 09:10:29 UTC (rev 130342)
@@ -24,3 +24,9 @@
 zope.app.appsetup = 3.16.0
 zope.app.locales = 3.7.4
 zope.app.publication = 3.14.0
+
+# Chameleon
+Chameleon = 2.12 ;# z3c.pt requires Chameleon >= 2.4
+five.pt = 2.2.1
+sourcecodegen = 0.6.14 ;# five.pt requires sourcecodegen >= 0.6.14
+z3c.pt = 2.2.3 ;# five.pt requires z3c.pt >= 2.2



More information about the checkins mailing list