[Checkins] SVN: Sandbox/janwijbrand/zope.errorview/trunk/ remove and rename files

Jan-Wijbrand Kolman janwijbrand at gmail.com
Tue Jan 18 09:48:24 EST 2011


Log message for revision 119649:
  remove and rename files

Changed:
  U   Sandbox/janwijbrand/zope.errorview/trunk/CHANGES.txt
  U   Sandbox/janwijbrand/zope.errorview/trunk/README.txt
  U   Sandbox/janwijbrand/zope.errorview/trunk/buildout.cfg
  U   Sandbox/janwijbrand/zope.errorview/trunk/setup.py
  D   Sandbox/janwijbrand/zope.errorview/trunk/src/zope/app/
  A   Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/
  D   Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/configure.zcml
  A   Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/errorviews.zcml

-=-
Modified: Sandbox/janwijbrand/zope.errorview/trunk/CHANGES.txt
===================================================================
--- Sandbox/janwijbrand/zope.errorview/trunk/CHANGES.txt	2011-01-18 14:40:02 UTC (rev 119648)
+++ Sandbox/janwijbrand/zope.errorview/trunk/CHANGES.txt	2011-01-18 14:48:23 UTC (rev 119649)
@@ -2,108 +2,7 @@
 CHANGES
 =======
 
-3.9.1 (unreleased)
-------------------
-
-- Nothing changed yet.
-
-
-3.9.0 (2010-09-17)
-------------------
-
-- Replaced a testing dependency on `zope.app.securitypolicy` with one on
-  `zope.securitypolicy`.
-
-- Removed test dependency on `zope.app.file` by moving the test which needs
-  this package to `zope.app.file`.
-
-
-3.8 (2010-04-19)
+1.0 (unreleased)
 ----------------
 
-- Remove dependency on `zope.app.testing` by using the
-  `zope.app.wsgi.testlayer` support instead.
-
-  At the time of this writing the test dependency on
-  `zope.app.zcmlfiles` cannot be removed however, because there is a
-  dependency on `zope.app.file` for testing, which pulls in the world.
-
-3.7 (2010-04-13)
-----------------
-
-- Remove unnecessary dependency on `zope.app.publisher`.
-
-- Fix for an edge case:
-  If someone does a ``defaultView`` for the context object and someone comes with
-  a not allowed method, the exception view fails on ``getAdapters``.
-
-3.6.1 (2010-01-08)
-------------------
-
-- Replaced the dependency on `zope.deprecation` with BBB imports
-
-- Made the dependency on `zope.app.publisher` explicit
-
-- Fix tests using a newer `zope.publisher` that requires `zope.login`.
-
-3.6.0 (2009-05-23)
-------------------
-
-- Moved ``IHTTPException``, ``IMethodNotAllowed``, and ``MethodNotAllowed`` from
-  `zope.app.http` to `zope.publisher.interfaces.http`, fixing dependency
-  cycles involving `zope.app.http`.
-
-3.5.2 (2009-04-01)
-------------------
-
-- Replaced deprecated ``zope:defaultView`` directive with
-  ``browser:defaultView``.
-
-3.5.1 (2009-03-12)
-------------------
-
-- If the 'CONTENT_LENGTH' header is provided, provide this length as
-  argument to the ``read`` method of the input stream object.
-
-3.5.0 (2009-02-01)
-------------------
-
-- Change dependency on `zope.app.container` to `zope.container`.
-
-3.4.5 (2010-01-28)
-------------------
-
-- Backport r108613 from trunk:
-  Fix for an edge case:
-  If someone does a ``defaultView`` for the context object and someone comes with
-  a not allowed method, the exception view fails on ``getAdapters``.
-
-3.4.4 (2009-01-29)
-------------------
-
-- Make tests compatible with new `zope.traversing` release.
-
-3.4.3 (2009-01-27)
-------------------
-
-- Added missing depencendy: `zope.app.zcmlfiles`.
-
-3.4.2 (2009-01-26)
-------------------
-
-- Add a couple of tests to the OPTIONS verb.
-
-- Substitute `zope.app.zapi` by direct calls to its wrapped APIs and get
-  rid of `zope.app.zapi` as a dependency. See bug #LP219302.
-
-
-3.4.1 (2007-10-31)
-------------------
-
-- Resolved ``ZopeSecurityPolicy`` deprecation warning.
-
-
-3.4.0 (2007-10-24)
-------------------
-
-- Initial release independent of the main Zope tree.
+- Nothing changed yet.

Modified: Sandbox/janwijbrand/zope.errorview/trunk/README.txt
===================================================================
--- Sandbox/janwijbrand/zope.errorview/trunk/README.txt	2011-01-18 14:40:02 UTC (rev 119648)
+++ Sandbox/janwijbrand/zope.errorview/trunk/README.txt	2011-01-18 14:48:23 UTC (rev 119649)
@@ -1,6 +1,2 @@
-zope.app.http
-*************
-
-This package implements the simplest HTTP behavior within the Zope
-Publisher. It implements all HTTP verbs as views and defines the necessary
-HTTP exceptions.
+zope.errorview
+==============

Modified: Sandbox/janwijbrand/zope.errorview/trunk/buildout.cfg
===================================================================
--- Sandbox/janwijbrand/zope.errorview/trunk/buildout.cfg	2011-01-18 14:40:02 UTC (rev 119648)
+++ Sandbox/janwijbrand/zope.errorview/trunk/buildout.cfg	2011-01-18 14:48:23 UTC (rev 119649)
@@ -1,18 +1,22 @@
 [buildout]
+extends = http://download.zope.org/zopetoolkit/index/1.1c1/ztk-versions.cfg
 develop = .
-parts = test coverage-test coverage-report
+parts =
+  test
+  coverage-test
+  coverage-report
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = zope.app.http [test]
+eggs = zope.errorview [test]
 
 [coverage-test]
 recipe = zc.recipe.testrunner
-eggs = zope.app.http [test]
+eggs = zope.errorview [test]
 defaults = ['--coverage', '../../coverage']
 
 [coverage-report]
 recipe = zc.recipe.egg
 eggs = z3c.coverage
 scripts = coverage=coverage-report
-arguments = ('coverage', 'coverage/report')
\ No newline at end of file
+arguments = ('coverage', 'coverage/report')

Modified: Sandbox/janwijbrand/zope.errorview/trunk/setup.py
===================================================================
--- Sandbox/janwijbrand/zope.errorview/trunk/setup.py	2011-01-18 14:40:02 UTC (rev 119648)
+++ Sandbox/janwijbrand/zope.errorview/trunk/setup.py	2011-01-18 14:48:23 UTC (rev 119649)
@@ -16,9 +16,7 @@
 # When developing and releasing this package, please follow the documented
 # Zope Toolkit policies as described by this documentation.
 ##############################################################################
-"""Setup for zope.app.http package
-
-$Id$
+"""Setup for zope.errorview package
 """
 import os
 from setuptools import setup, find_packages
@@ -26,17 +24,17 @@
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
-setup(name='zope.app.http',
-      version='3.9.1dev',
+setup(name='zope.errorview',
+      version='1.0dev',
       author='Zope Corporation and Contributors',
       author_email='zope-dev at zope.org',
-      description='HTTP Behavior for the Zope Publisher',
+      description='HTTP error views for the Zope Publisher',
       long_description=(
           read('README.txt')
           + '\n\n' +
           read('CHANGES.txt')
           ),
-      keywords="zope3 http publisher view",
+      keywords="zope3 http error view",
       classifiers=[
           'Development Status :: 5 - Production/Stable',
           'Environment :: Web Environment',
@@ -47,24 +45,16 @@
           'Operating System :: OS Independent',
           'Topic :: Internet :: WWW/HTTP',
           'Framework :: Zope3'],
-      url='http://pypi.python.org/pypi/zope.app.http',
+      url='http://pypi.python.org/pypi/zope.errorview',
       license='ZPL 2.1',
       packages=find_packages('src'),
       package_dir={'': 'src'},
-      namespace_packages=['zope', 'zope.app'],
-      extras_require=dict(
-          test=['zope.app.testing',
-                'zope.app.zcmlfiles',
-                'zope.app.wsgi >= 3.9.0',
-                'zope.securitypolicy',
-                'zope.site',
-                'zope.login',]),
-      install_requires=['setuptools',
-                        'zope.interface',
-                        'zope.publisher>=3.12',
-                        'zope.container',
-                        'zope.filerepresentation',
-                        ],
+      namespace_packages=['zope''],
+      extras_require={'test':[]},
+      install_requires=[
+          'setuptools',
+          'zope.interface',
+          ],
       include_package_data=True,
       zip_safe=False,
       )

Deleted: Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/configure.zcml
===================================================================
--- Sandbox/janwijbrand/zope.errorview/trunk/src/zope/app/http/exception/configure.zcml	2011-01-18 14:40:02 UTC (rev 119648)
+++ Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/configure.zcml	2011-01-18 14:48:23 UTC (rev 119649)
@@ -1,47 +0,0 @@
-<configure
-    xmlns="http://namespaces.zope.org/zope"
-    xmlns:browser="http://namespaces.zope.org/browser">
-
-<view
-    for="zope.security.interfaces.IUnauthorized"
-    type="zope.publisher.interfaces.http.IHTTPRequest"
-    name="index.html"
-    permission="zope.Public"
-    factory=".unauthorized.Unauthorized"
-    />
-
-<browser:defaultView
-    for="zope.security.interfaces.IUnauthorized"
-    layer="zope.publisher.interfaces.http.IHTTPRequest"
-    name="index.html"
-    />
-
-<view
-    for="zope.publisher.interfaces.ITraversalException"
-    type="zope.publisher.interfaces.http.IHTTPRequest"
-    name="index.html"
-    permission="zope.Public"
-    factory=".notfound.NotFound"
-    />
-
-<browser:defaultView
-    for="zope.publisher.interfaces.ITraversalException"
-    layer="zope.publisher.interfaces.http.IHTTPRequest"
-    name="index.html"
-    />
-
-<view
-    for="zope.publisher.interfaces.http.IMethodNotAllowed"
-    factory="zope.app.http.exception.methodnotallowed.MethodNotAllowedView"
-    name="index.html"
-    type="zope.publisher.interfaces.http.IHTTPRequest"
-    permission="zope.Public"
-    />
-
-<browser:defaultView
-    for="zope.publisher.interfaces.http.IMethodNotAllowed"
-    layer="zope.publisher.interfaces.http.IHTTPRequest"
-    name="index.html"
-    />
-
-</configure>

Added: Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/errorviews.zcml
===================================================================
--- Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/errorviews.zcml	                        (rev 0)
+++ Sandbox/janwijbrand/zope.errorview/trunk/src/zope/errorview/errorviews.zcml	2011-01-18 14:48:23 UTC (rev 119649)
@@ -0,0 +1,47 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:browser="http://namespaces.zope.org/browser">
+
+<view
+    for="zope.security.interfaces.IUnauthorized"
+    type="zope.publisher.interfaces.http.IHTTPRequest"
+    name="index.html"
+    permission="zope.Public"
+    factory=".unauthorized.Unauthorized"
+    />
+
+<browser:defaultView
+    for="zope.security.interfaces.IUnauthorized"
+    layer="zope.publisher.interfaces.http.IHTTPRequest"
+    name="index.html"
+    />
+
+<view
+    for="zope.publisher.interfaces.ITraversalException"
+    type="zope.publisher.interfaces.http.IHTTPRequest"
+    name="index.html"
+    permission="zope.Public"
+    factory=".notfound.NotFound"
+    />
+
+<browser:defaultView
+    for="zope.publisher.interfaces.ITraversalException"
+    layer="zope.publisher.interfaces.http.IHTTPRequest"
+    name="index.html"
+    />
+
+<view
+    for="zope.publisher.interfaces.http.IMethodNotAllowed"
+    factory="zope.app.http.exception.methodnotallowed.MethodNotAllowedView"
+    name="index.html"
+    type="zope.publisher.interfaces.http.IHTTPRequest"
+    permission="zope.Public"
+    />
+
+<browser:defaultView
+    for="zope.publisher.interfaces.http.IMethodNotAllowed"
+    layer="zope.publisher.interfaces.http.IHTTPRequest"
+    name="index.html"
+    />
+
+</configure>



More information about the checkins mailing list