[Checkins] SVN: z3ext.cacheheaders/tags/1.0.3/ release tag
Nikolay Kim
fafhrd at datacom.kz
Wed Apr 15 01:29:46 EDT 2009
Log message for revision 99180:
release tag
Changed:
A z3ext.cacheheaders/tags/1.0.3/
D z3ext.cacheheaders/tags/1.0.3/CHANGES.txt
A z3ext.cacheheaders/tags/1.0.3/CHANGES.txt
D z3ext.cacheheaders/tags/1.0.3/setup.py
A z3ext.cacheheaders/tags/1.0.3/setup.py
D z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/configure.zcml
A z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/configure.zcml
D z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/default.py
A z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/default.py
-=-
Deleted: z3ext.cacheheaders/tags/1.0.3/CHANGES.txt
===================================================================
--- z3ext.cacheheaders/trunk/CHANGES.txt 2009-04-14 15:08:48 UTC (rev 99170)
+++ z3ext.cacheheaders/tags/1.0.3/CHANGES.txt 2009-04-15 05:29:46 UTC (rev 99180)
@@ -1,16 +0,0 @@
-=======
-CHANGES
-=======
-
-1.0.1 (2008-03-28)
-------------------
-
-- Added buldout config for tests
-
-- Code moved to svn.zope.org
-
-
-1.0.0 (2008-02-02)
-------------------
-
-- Initial release
Copied: z3ext.cacheheaders/tags/1.0.3/CHANGES.txt (from rev 99179, z3ext.cacheheaders/trunk/CHANGES.txt)
===================================================================
--- z3ext.cacheheaders/tags/1.0.3/CHANGES.txt (rev 0)
+++ z3ext.cacheheaders/tags/1.0.3/CHANGES.txt 2009-04-15 05:29:46 UTC (rev 99180)
@@ -0,0 +1,22 @@
+=======
+CHANGES
+=======
+
+1.0.3 (2009-04-17)
+------------------
+
+- Do no use zope.component.interfaces.IView
+
+
+1.0.1 (2008-03-28)
+------------------
+
+- Added buldout config for tests
+
+- Code moved to svn.zope.org
+
+
+1.0.0 (2008-02-02)
+------------------
+
+- Initial release
Deleted: z3ext.cacheheaders/tags/1.0.3/setup.py
===================================================================
--- z3ext.cacheheaders/trunk/setup.py 2009-04-14 15:08:48 UTC (rev 99170)
+++ z3ext.cacheheaders/tags/1.0.3/setup.py 2009-04-15 05:29:46 UTC (rev 99180)
@@ -1,74 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2007 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Setup for z3ext.cacheheaders package
-
-$Id$
-"""
-import sys, os
-from setuptools import setup, find_packages
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-version = '1.0.3dev'
-
-setup(name='z3ext.cacheheaders',
- version=version,
- description="Cache headers manager",
- long_description=(
- 'Detailed Dcoumentation\n' +
- '======================\n'
- + '\n\n' +
- read('src', 'z3ext', 'cacheheaders', 'README.txt')
- + '\n\n' +
- read('CHANGES.txt')
- ),
- classifiers=[
- 'Development Status :: 5 - Production/Stable',
- 'Environment :: Web Environment',
- 'Intended Audience :: Developers',
- 'License :: OSI Approved :: Zope Public License',
- 'Programming Language :: Python',
- 'Natural Language :: English',
- 'Operating System :: OS Independent',
- 'Topic :: Internet :: WWW/HTTP',
- 'Framework :: Zope3'],
- author='Nikolay Kim',
- author_email='fafhrd91 at gmail.com',
- url='http://z3ext.net/',
- license='ZPL 2.1',
- packages=find_packages('src'),
- package_dir = {'':'src'},
- namespace_packages=['z3ext'],
- install_requires = ['setuptools',
- 'zope.proxy',
- 'zope.event',
- 'zope.schema',
- 'zope.datetime',
- 'zope.component',
- 'zope.interface',
- 'zope.publisher',
- 'zope.dublincore',
- 'zope.cachedescriptors',
- 'zope.app.publication',
- ],
- extras_require = dict(test=['zope.app.testing',
- 'zope.testing',
- 'zope.traversing',
- 'zope.security',
- 'zope.app.security',
- ]),
- include_package_data = True,
- zip_safe = False
- )
Copied: z3ext.cacheheaders/tags/1.0.3/setup.py (from rev 99179, z3ext.cacheheaders/trunk/setup.py)
===================================================================
--- z3ext.cacheheaders/tags/1.0.3/setup.py (rev 0)
+++ z3ext.cacheheaders/tags/1.0.3/setup.py 2009-04-15 05:29:46 UTC (rev 99180)
@@ -0,0 +1,76 @@
+##############################################################################
+#
+# Copyright (c) 2007 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Setup for z3ext.cacheheaders package
+
+$Id$
+"""
+import sys, os
+from setuptools import setup, find_packages
+
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+
+version = '1.0.3'
+
+
+setup(name='z3ext.cacheheaders',
+ version=version,
+ description="Cache headers manager",
+ long_description=(
+ 'Detailed Dcoumentation\n' +
+ '======================\n'
+ + '\n\n' +
+ read('src', 'z3ext', 'cacheheaders', 'README.txt')
+ + '\n\n' +
+ read('CHANGES.txt')
+ ),
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+ 'Environment :: Web Environment',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: Zope Public License',
+ 'Programming Language :: Python',
+ 'Natural Language :: English',
+ 'Operating System :: OS Independent',
+ 'Topic :: Internet :: WWW/HTTP',
+ 'Framework :: Zope3'],
+ author='Nikolay Kim',
+ author_email='fafhrd91 at gmail.com',
+ url='http://z3ext.net/',
+ license='ZPL 2.1',
+ packages=find_packages('src'),
+ package_dir = {'':'src'},
+ namespace_packages=['z3ext'],
+ install_requires = ['setuptools',
+ 'zope.proxy',
+ 'zope.event',
+ 'zope.schema',
+ 'zope.datetime',
+ 'zope.component',
+ 'zope.interface',
+ 'zope.publisher',
+ 'zope.dublincore',
+ 'zope.cachedescriptors',
+ 'zope.app.publication',
+ ],
+ extras_require = dict(test=['zope.app.testing',
+ 'zope.testing',
+ 'zope.traversing',
+ 'zope.security',
+ 'zope.app.security',
+ ]),
+ include_package_data = True,
+ zip_safe = False
+ )
Deleted: z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/configure.zcml
===================================================================
--- z3ext.cacheheaders/trunk/src/z3ext/cacheheaders/configure.zcml 2009-04-14 15:08:48 UTC (rev 99170)
+++ z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/configure.zcml 2009-04-15 05:29:46 UTC (rev 99180)
@@ -1,33 +0,0 @@
-<configure xmlns="http://namespaces.zope.org/zope">
-
- <include package="zope.app.publication" />
-
- <publisher
- name="BROWSER"
- factory=".publication.BrowserFactory"
- methods="GET HEAD"
- mimetypes="*"
- priority="9" />
-
- <!-- cache -->
- <utility
- provides=".interfaces.ISiteUID"
- factory=".siteuid.SiteUID" />
-
- <class class=".siteuid.SiteUID">
- <allow attributes="uid" />
- </class>
-
- <class class=".siteuid.PersistentSiteUID">
- <allow attributes="uid" />
- </class>
-
- <adapter
- for="zope.location.interfaces.ILocation"
- factory=".default.ModificationInfo" />
-
- <adapter
- for="zope.component.interfaces.IView"
- factory=".default.viewModificationInfo" />
-
-</configure>
Copied: z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/configure.zcml (from rev 99179, z3ext.cacheheaders/trunk/src/z3ext/cacheheaders/configure.zcml)
===================================================================
--- z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/configure.zcml (rev 0)
+++ z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/configure.zcml 2009-04-15 05:29:46 UTC (rev 99180)
@@ -0,0 +1,33 @@
+<configure xmlns="http://namespaces.zope.org/zope">
+
+ <include package="zope.app.publication" />
+
+ <publisher
+ name="BROWSER"
+ factory=".publication.BrowserFactory"
+ methods="GET HEAD"
+ mimetypes="*"
+ priority="9" />
+
+ <!-- cache -->
+ <utility
+ provides=".interfaces.ISiteUID"
+ factory=".siteuid.SiteUID" />
+
+ <class class=".siteuid.SiteUID">
+ <allow attributes="uid" />
+ </class>
+
+ <class class=".siteuid.PersistentSiteUID">
+ <allow attributes="uid" />
+ </class>
+
+ <adapter
+ for="zope.location.interfaces.ILocation"
+ factory=".default.ModificationInfo" />
+
+ <adapter
+ for="*"
+ factory=".default.viewModificationInfo" />
+
+</configure>
Deleted: z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/default.py
===================================================================
--- z3ext.cacheheaders/trunk/src/z3ext/cacheheaders/default.py 2009-04-14 15:08:48 UTC (rev 99170)
+++ z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/default.py 2009-04-15 05:29:46 UTC (rev 99180)
@@ -1,43 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2007 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""
-
-$Id$
-"""
-import time
-from zope import interface
-from zope.security.proxy import removeSecurityProxy
-from zope.dublincore.interfaces import ICMFDublinCore
-
-from interfaces import IModificationInfo
-
-
-class ModificationInfo(object):
- interface.implements(IModificationInfo)
-
- def __init__(self, context):
- dc = ICMFDublinCore(context, None)
- if dc is not None:
- self.time = long(time.mktime(dc.modified.utctimetuple()))
- else:
- context = removeSecurityProxy(context)
- mtime = getattr(context, '_p_mtime', 0)
- self.time = long(mtime)
-
- def modified(self, default=long(0)):
- return self.time
-
- at interface.implementer(IModificationInfo)
-def viewModificationInfo(view):
- return IModificationInfo(view.context)
Copied: z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/default.py (from rev 99179, z3ext.cacheheaders/trunk/src/z3ext/cacheheaders/default.py)
===================================================================
--- z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/default.py (rev 0)
+++ z3ext.cacheheaders/tags/1.0.3/src/z3ext/cacheheaders/default.py 2009-04-15 05:29:46 UTC (rev 99180)
@@ -0,0 +1,44 @@
+##############################################################################
+#
+# Copyright (c) 2007 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""
+
+$Id$
+"""
+import time
+from zope import interface
+from zope.security.proxy import removeSecurityProxy
+from zope.dublincore.interfaces import ICMFDublinCore
+
+from interfaces import IModificationInfo
+
+
+class ModificationInfo(object):
+ interface.implements(IModificationInfo)
+
+ def __init__(self, context):
+ dc = ICMFDublinCore(context, None)
+ if dc is not None:
+ self.time = long(time.mktime(dc.modified.utctimetuple()))
+ else:
+ context = removeSecurityProxy(context)
+ mtime = getattr(context, '_p_mtime', 0)
+ self.time = long(mtime)
+
+ def modified(self, default=long(0)):
+ return self.time
+
+
+ at interface.implementer(IModificationInfo)
+def viewModificationInfo(view):
+ return IModificationInfo(view.context)
More information about the Checkins
mailing list