[Checkins] SVN: z3checkins/trunk/ - Declated all required install dependencies.
Michael Howitz
mh at gocept.com
Wed Nov 17 02:48:48 EST 2010
Log message for revision 118432:
- Declated all required install dependencies.
- Added test extra to declare test dependency on ``zope.app.testing``.
- Made sure functional tests are run.
- Fixed test set up to run with ZTK 1.0.
Changed:
A z3checkins/trunk/CHANGES.txt
U z3checkins/trunk/buildout.cfg
U z3checkins/trunk/setup.py
U z3checkins/trunk/src/z3checkins/ftests/ftesting.zcml
-=-
Added: z3checkins/trunk/CHANGES.txt
===================================================================
--- z3checkins/trunk/CHANGES.txt (rev 0)
+++ z3checkins/trunk/CHANGES.txt 2010-11-17 07:48:48 UTC (rev 118432)
@@ -0,0 +1,19 @@
+============
+ Change log
+============
+
+0.2 (unreleased)
+================
+
+- Declated all required install dependencies.
+
+- Added test extra to declare test dependency on ``zope.app.testing``.
+
+- Made sure functional tests are run.
+
+- Fixed test set up to run with ZTK 1.0.
+
+0.1 (20??-??-??)
+================
+
+- Initial release
Property changes on: z3checkins/trunk/CHANGES.txt
___________________________________________________________________
Added: svn:keywords
+ Id Rev Date
Added: svn:eol-style
+ native
Modified: z3checkins/trunk/buildout.cfg
===================================================================
--- z3checkins/trunk/buildout.cfg 2010-11-17 07:30:59 UTC (rev 118431)
+++ z3checkins/trunk/buildout.cfg 2010-11-17 07:48:48 UTC (rev 118432)
@@ -1,8 +1,8 @@
[buildout]
develop = .
parts = test
-find-links = http://download.zope.org/distribution/
[test]
recipe = zc.recipe.testrunner
-eggs = z3checkins
+eggs = z3checkins [test]
+defaults = ['--tests-pattern=^f?test']
Modified: z3checkins/trunk/setup.py
===================================================================
--- z3checkins/trunk/setup.py 2010-11-17 07:30:59 UTC (rev 118431)
+++ z3checkins/trunk/setup.py 2010-11-17 07:48:48 UTC (rev 118432)
@@ -4,13 +4,26 @@
name = 'z3checkins',
version = '0.1',
author = 'Zope Corporation and Contributors',
- author_email = 'zope3-dev at zope.org',
+ author_email = 'zope-dev at zope.org',
description = '',
license = 'ZPL 2.1',
-
packages = find_packages('src'),
package_dir = {'': 'src'},
- install_requires = ['setuptools', 'ZODB3', 'zope.interface',
- 'zope.publisher', 'zope.datetime', 'zope.dublincore'],
+ install_requires = ['setuptools',
+ 'ZODB3',
+ 'zope.app.container',
+ 'zope.app.file',
+ 'zope.app.form',
+ 'zope.app.pagetemplate',
+ 'zope.datetime',
+ 'zope.dublincore >= 3.7',
+ 'zope.interface',
+ 'zope.publisher',
+ ],
+ extras_require=dict(
+ test=[
+ 'zope.app.testing',
+ 'zope.app.zcmlfiles',
+ ]),
zip_safe = False,
)
Modified: z3checkins/trunk/src/z3checkins/ftests/ftesting.zcml
===================================================================
--- z3checkins/trunk/src/z3checkins/ftests/ftesting.zcml 2010-11-17 07:30:59 UTC (rev 118431)
+++ z3checkins/trunk/src/z3checkins/ftests/ftesting.zcml 2010-11-17 07:48:48 UTC (rev 118432)
@@ -10,12 +10,13 @@
<include package="zope.app.zcmlfiles" />
<include package="zope.app.zcmlfiles" file="ftesting.zcml" />
- <include package="zope.app.securitypolicy" file="meta.zcml" />
- <include package="zope.app.securitypolicy" />
+ <include package="zope.securitypolicy" file="meta.zcml" />
+ <include package="zope.securitypolicy" />
<include package="zope.app.authentication" />
+ <include package="zope.login" />
<securityPolicy
- component="zope.app.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
+ component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
<role id="zope.Anonymous" title="Everybody"
description="All users have this role implicitly" />
@@ -25,13 +26,11 @@
<!-- Replace the following directive if you don't want public access -->
<grant permission="zope.View"
role="zope.Anonymous" />
- <grant permission="zope.app.dublincore.view"
+ <grant permission="zope.dublincore.view"
role="zope.Anonymous" />
<grantAll role="zope.Manager" />
- <include package="zope.app.securitypolicy.tests" file="functional.zcml" />
-
<!-- Principals -->
<unauthenticatedPrincipal
@@ -60,15 +59,8 @@
login="mgr"
password="mgrpw" />
- <!-- Bootstrap principal used to make local grant to the principal above -->
- <principal
- id="zope.globalmgr"
- title="Manager"
- login="globalmgr"
- password="globalmgrpw" />
+ <grant role="zope.Manager" principal="zope.mgr" />
- <grant role="zope.Manager" principal="zope.globalmgr" />
-
<include package="z3checkins" />
</configure>
More information about the checkins
mailing list