[Checkins] SVN: zope.pagetemplate/trunk/ Moved to GitHub.
Stephen Richter
cvs-admin at zope.org
Fri Feb 22 16:57:42 UTC 2013
Log message for revision 129671:
Moved to GitHub.
Changed:
D zope.pagetemplate/trunk/CHANGES.txt
D zope.pagetemplate/trunk/COPYRIGHT.txt
D zope.pagetemplate/trunk/LICENSE.txt
D zope.pagetemplate/trunk/MANIFEST.in
A zope.pagetemplate/trunk/MOVED_TO_GITHUB
D zope.pagetemplate/trunk/README.txt
D zope.pagetemplate/trunk/bootstrap.py
D zope.pagetemplate/trunk/buildout.cfg
D zope.pagetemplate/trunk/setup.py
D zope.pagetemplate/trunk/src/
D zope.pagetemplate/trunk/tox.ini
-=-
Deleted: zope.pagetemplate/trunk/CHANGES.txt
===================================================================
--- zope.pagetemplate/trunk/CHANGES.txt 2013-02-22 16:43:48 UTC (rev 129670)
+++ zope.pagetemplate/trunk/CHANGES.txt 2013-02-22 16:57:41 UTC (rev 129671)
@@ -1,150 +0,0 @@
-=======
-CHANGES
-=======
-
-4.0.3 (unreleased)
-------------------
-
-- Nothing changed yet.
-
-
-4.0.2 (2013-02-22)
-------------------
-
-- Migrated from zope.security.untrustedpython to zope.untrustedpython.
-
-- Made zope.untrustedpython an extra dependency. Without it, python
- expressions are not protected, even though path expressions are still
- security wrapped.
-
-- Added support for Python 3.3.
-
-4.0.1 (2012-01-23)
-------------------
-
-- LP#732972: PageTemplateTracebackSupplement no longer passes
- ``check_macro_expansion=False`` to old templates which do not
- accept this argument.
-
-4.0.0 (2012-12-13)
-------------------
-
-- Replaced deprecated ``zope.interface.classProvides`` usage with equivalent
- ``zope.interface.provider`` decorator.
-
-- Replaced deprecated ``zope.interface.implements`` usage with equivalent
- ``zope.interface.implementer`` decorator.
-
-- Dropped support for Python 2.4 and 2.5.
-
-- PageTemplate.pt_render() has a new argument, check_macro_expansion,
- defaulting to True.
-
-- PageTemplateTracebackSupplement passes check_macro_expansion=False, to
- avoid LP#732972.
-
-3.6.3 (2011-09-21)
-------------------
-
-- Fixed test assertions to be compatible with zope.tal 3.6.
-
-3.6.2 (2011-09-21)
-------------------
-
-- Change interface for engine and program such that the return type of
- the ``cook`` method is a tuple ``(program, macros)``. This follows
- the interface for the TAL parser's ``getCode`` method.
-
- This fixes a legacy compatibility issue where code would expect an
- ``_v_macros`` volatile attribute which was missing.
-
-3.6.1 (2011-08-23)
-------------------
-
-- Fixed issue with missing default value for ``strictinsert``.
-
-3.6.0 (2011-08-20)
-------------------
-
-- Replaced StringIO stream class with a faster list-based implementation.
-
-- Abstract out the template engine and program interfaces and allow
- implementation replacement via a utility registration.
-
-- Removed ancient copyright from test files (LP: #607228)
-
-3.5.2 (2010-07-08)
-------------------
-
-- Fixed PTRuntimeError exception messages to be consistent across Python
- versions, and compatibile with the output under Python 2.4. (More
- readable than the previous output under Python 2.6 as well.)
-
-3.5.1 (2010-04-30)
-------------------
-
-- Removed use of 'zope.testing.doctestunit' in favor of stdlib's doctest.
-
-- Added dependency on "zope.security [untrustedpython]" because the 'engine'
- module uses it.
-
-3.5.0 (2009-05-25)
-------------------
-
-- Added test coverage reporting support.
-
-- Moved 'engine' module and related test scaffolding here from
- ``zope.app.pagetemplate`` package.
-
-3.4.2 (2009-03-17)
-------------------
-
-- Remove old zpkg-related DEPENDENCIES.cfg file.
-
-- Change package's mailing list address to zope-dev at zope.org, as
- zope3-dev at zope.org is now retired.
-
-- Change `cheeseshop` to `pypi` in the packages' homepage url.
-
-3.4.1 (2009-01-27)
-------------------
-
-- Fix test due to recent changes in zope.tal.
-
-
-3.4.0 (2007-10-02)
-------------------
-
-- Initial release independent of the Zope 3 tree.
-
-
-3.2.0 (2006-01-05)
-------------------
-
-- Corresponds to the version of the zope.pagetemplate package shipped
- as part of the Zope 3.2.0 release.
-
-- ZPTPage macro expansion: changed label text to match the corresponding
- label in Zope 2 and activated the name spaces for macro expansion
- in 'read'. See http://www.zope.org/Collectors/Zope3-dev/199
-
-- Coding style cleanups.
-
-
-3.1.0 (2005-10-03)
-------------------
-
-- Corresponds to the version of the zope.pagetemplate package shipped
- as part of the Zope 3.1.0 release.
-
-- Fixed apidoc and Cookie, which were using wrong descriptor class
- (changed to 'property'). See http://www.zope.org/Collectors/Zope3-dev/387
-
-- Documentation / style / testing cleanups.
-
-
-3.0.0 (2004-11-07)
-------------------
-
-- Corresponds to the version of the zope.pagetemplate package shipped
- as part of the Zope X3.0.0 release.
Deleted: zope.pagetemplate/trunk/COPYRIGHT.txt
===================================================================
--- zope.pagetemplate/trunk/COPYRIGHT.txt 2013-02-22 16:43:48 UTC (rev 129670)
+++ zope.pagetemplate/trunk/COPYRIGHT.txt 2013-02-22 16:57:41 UTC (rev 129671)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.pagetemplate/trunk/LICENSE.txt
===================================================================
--- zope.pagetemplate/trunk/LICENSE.txt 2013-02-22 16:43:48 UTC (rev 129670)
+++ zope.pagetemplate/trunk/LICENSE.txt 2013-02-22 16:57:41 UTC (rev 129671)
@@ -1,44 +0,0 @@
-Zope Public License (ZPL) Version 2.1
-
-A copyright notice accompanies this license document that identifies the
-copyright holders.
-
-This license has been certified as open source. It has also been designated as
-GPL compatible by the Free Software Foundation (FSF).
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions in source code must retain the accompanying copyright
-notice, this list of conditions, and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the accompanying copyright
-notice, this list of conditions, and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-
-3. Names of the copyright holders must not be used to endorse or promote
-products derived from this software without prior written permission from the
-copyright holders.
-
-4. The right to distribute this software or to use it for any purpose does not
-give you the right to use Servicemarks (sm) or Trademarks (tm) of the
-copyright
-holders. Use of them is covered by separate agreement with the copyright
-holders.
-
-5. If any files are modified, you must cause the modified files to carry
-prominent notices stating that you changed the files and the date of any
-change.
-
-Disclaimer
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
-OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Deleted: zope.pagetemplate/trunk/MANIFEST.in
===================================================================
--- zope.pagetemplate/trunk/MANIFEST.in 2013-02-22 16:43:48 UTC (rev 129670)
+++ zope.pagetemplate/trunk/MANIFEST.in 2013-02-22 16:57:41 UTC (rev 129671)
@@ -1,4 +0,0 @@
-include *.txt
-include bootstrap.py
-include buildout.cfg
-recursive-include src *.txt *.html *.pt
Added: zope.pagetemplate/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.pagetemplate/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.pagetemplate/trunk/MOVED_TO_GITHUB 2013-02-22 16:57:41 UTC (rev 129671)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.pagetemplate
\ No newline at end of file
Deleted: zope.pagetemplate/trunk/README.txt
===================================================================
--- zope.pagetemplate/trunk/README.txt 2013-02-22 16:43:48 UTC (rev 129670)
+++ zope.pagetemplate/trunk/README.txt 2013-02-22 16:57:41 UTC (rev 129671)
@@ -1,4 +0,0 @@
-Page Templates provide an elegant templating mechanism that achieves a
-clean separation of presentation and application logic while allowing
-for designers to work with templates in their visual editing tools
-(FrontPage, Dreamweaver, GoLive, etc.).
Deleted: zope.pagetemplate/trunk/bootstrap.py
===================================================================
--- zope.pagetemplate/trunk/bootstrap.py 2013-02-22 16:43:48 UTC (rev 129670)
+++ zope.pagetemplate/trunk/bootstrap.py 2013-02-22 16:57:41 UTC (rev 129671)
@@ -1,119 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Foundation 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.
-#
-##############################################################################
-"""Bootstrap a buildout-based project
-
-Simply run this script in a directory containing a buildout.cfg.
-The script accepts buildout command-line options, so you can
-use the -c option to specify an alternate configuration file.
-"""
-
-import os, shutil, sys, tempfile, urllib2
-from optparse import OptionParser
-
-tmpeggs = tempfile.mkdtemp()
-
-is_jython = sys.platform.startswith('java')
-
-# parsing arguments
-parser = OptionParser()
-parser.add_option("-v", "--version", dest="version",
- help="use a specific zc.buildout version")
-parser.add_option("-d", "--distribute",
- action="store_true", dest="distribute", default=False,
- help="Use Disribute rather than Setuptools.")
-
-parser.add_option("-c", None, action="store", dest="config_file",
- help=("Specify the path to the buildout configuration "
- "file to be used."))
-
-options, args = parser.parse_args()
-
-# if -c was provided, we push it back into args for buildout' main function
-if options.config_file is not None:
- args += ['-c', options.config_file]
-
-if options.version is not None:
- VERSION = '==%s' % options.version
-else:
- VERSION = ''
-
-USE_DISTRIBUTE = options.distribute
-args = args + ['bootstrap']
-
-to_reload = False
-try:
- import pkg_resources
- if not hasattr(pkg_resources, '_distribute'):
- to_reload = True
- raise ImportError
-except ImportError:
- ez = {}
- if USE_DISTRIBUTE:
- exec urllib2.urlopen('http://python-distribute.org/distribute_setup.py'
- ).read() in ez
- ez['use_setuptools'](to_dir=tmpeggs, download_delay=0, no_fake=True)
- else:
- exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
- ).read() in ez
- ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
- if to_reload:
- reload(pkg_resources)
- else:
- import pkg_resources
-
-if sys.platform == 'win32':
- def quote(c):
- if ' ' in c:
- return '"%s"' % c # work around spawn lamosity on windows
- else:
- return c
-else:
- def quote (c):
- return c
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-ws = pkg_resources.working_set
-
-if USE_DISTRIBUTE:
- requirement = 'distribute'
-else:
- requirement = 'setuptools'
-
-if is_jython:
- import subprocess
-
- assert subprocess.Popen([sys.executable] + ['-c', quote(cmd), '-mqNxd',
- quote(tmpeggs), 'zc.buildout' + VERSION],
- env=dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse(requirement)).location
- ),
- ).wait() == 0
-
-else:
- assert os.spawnle(
- os.P_WAIT, sys.executable, quote (sys.executable),
- '-c', quote (cmd), '-mqNxd', quote (tmpeggs), 'zc.buildout' + VERSION,
- dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse(requirement)).location
- ),
- ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout' + VERSION)
-import zc.buildout.buildout
-zc.buildout.buildout.main(args)
-shutil.rmtree(tmpeggs)
Deleted: zope.pagetemplate/trunk/buildout.cfg
===================================================================
--- zope.pagetemplate/trunk/buildout.cfg 2013-02-22 16:43:48 UTC (rev 129670)
+++ zope.pagetemplate/trunk/buildout.cfg 2013-02-22 16:57:41 UTC (rev 129671)
@@ -1,30 +0,0 @@
-[buildout]
-develop = .
-parts = py test testcompat coverage-test coverage-report
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.pagetemplate [test, untrusted]
-
-[testcompat]
-recipe = zc.recipe.testrunner
-eggs = zope.pagetemplate [test, untrusted]
- z3c.pt
- z3c.ptcompat
- Chameleon
-
-[py]
-recipe = zc.recipe.egg
-eggs = zope.pagetemplate
-interpreter = py
-
-[coverage-test]
-recipe = zc.recipe.testrunner
-eggs = zope.pagetemplate [test, untrusted]
-defaults = ['--coverage', '../../coverage']
-
-[coverage-report]
-recipe = zc.recipe.egg
-eggs = z3c.coverage
-scripts = coverage=coverage-report
-arguments = ('coverage', 'coverage/report')
Deleted: zope.pagetemplate/trunk/setup.py
===================================================================
--- zope.pagetemplate/trunk/setup.py 2013-02-22 16:43:48 UTC (rev 129670)
+++ zope.pagetemplate/trunk/setup.py 2013-02-22 16:57:41 UTC (rev 129671)
@@ -1,122 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Foundation 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.
-#
-##############################################################################
-# This package is developed by the Zope Toolkit project, documented here:
-# http://docs.zope.org/zopetoolkit
-# When developing and releasing this package, please follow the documented
-# Zope Toolkit policies as described by this documentation.
-##############################################################################
-"""Setup for zope.pagetemplate package
-"""
-import os
-from setuptools import setup, find_packages
-
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-def _modname(path, base, name=''):
- if path == base:
- return name
- dirname, basename = os.path.split(path)
- return _modname(dirname, base, basename + '.' + name)
-
-def alltests():
- import logging
- import pkg_resources
- import unittest
-
- class NullHandler(logging.Handler):
- level = 50
-
- def emit(self, record):
- pass
-
- logging.getLogger().addHandler(NullHandler())
-
- suite = unittest.TestSuite()
- base = pkg_resources.working_set.find(
- pkg_resources.Requirement.parse('zope.pagetemplate')).location
- for dirpath, dirnames, filenames in os.walk(base):
- if os.path.basename(dirpath) == 'tests':
- for filename in filenames:
- if ( filename.endswith('.py') and
- filename.startswith('test') ):
- mod = __import__(
- _modname(dirpath, base, os.path.splitext(filename)[0]),
- {}, {}, ['*'])
- suite.addTest(mod.test_suite())
- return suite
-
-TESTS_REQUIRE = [
- 'zope.testing',
- 'zope.proxy',
- 'zope.security',
-]
-
-setup(name='zope.pagetemplate',
- version='4.0.3.dev0',
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- description='Zope Page Templates',
- long_description=(
- read('README.txt')
- + '\n\n' +
- 'Detailed Documentation\n' +
- '----------------------'
- + '\n\n' +
- read('src', 'zope', 'pagetemplate', 'architecture.txt')
- + '\n\n' +
- read('src', 'zope', 'pagetemplate', 'readme.txt')
- + '\n\n' +
- read('CHANGES.txt')),
- keywords="zope3 page template",
- classifiers=[
- 'Development Status :: 5 - Production/Stable',
- 'Environment :: Web Environment',
- 'Intended Audience :: Developers',
- 'License :: OSI Approved :: Zope Public License',
- 'Programming Language :: Python',
- 'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.6',
- 'Programming Language :: Python :: 2.7',
- 'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.3',
- 'Natural Language :: English',
- 'Operating System :: OS Independent',
- 'Topic :: Internet :: WWW/HTTP',
- 'Framework :: Zope3'],
- url='http://pypi.python.org/pypi/zope.pagetemplate',
- license='ZPL 2.1',
- packages=find_packages('src'),
- package_dir={'': 'src'},
- namespace_packages=['zope'],
- extras_require=dict(
- test=TESTS_REQUIRE,
- untrusted=['zope.untrustedpython'],
- ),
- install_requires=['setuptools',
- 'six',
- 'zope.interface',
- 'zope.component',
- 'zope.tales',
- 'zope.tal',
- 'zope.i18n',
- 'zope.i18nmessageid',
- 'zope.traversing',
- ],
- include_package_data=True,
- zip_safe=False,
- tests_require=TESTS_REQUIRE,
- test_suite='__main__.alltests',
- )
Deleted: zope.pagetemplate/trunk/tox.ini
===================================================================
--- zope.pagetemplate/trunk/tox.ini 2013-02-22 16:43:48 UTC (rev 129670)
+++ zope.pagetemplate/trunk/tox.ini 2013-02-22 16:57:41 UTC (rev 129671)
@@ -1,11 +0,0 @@
-[tox]
-envlist =
- # py32 needs a py3k-compatible zope.security at the very least
- py26,py27,py33
-
-[testenv]
-deps =
- zope.pagetemplate[test]
-commands =
- python setup.py test -q
-
More information about the checkins
mailing list