[Checkins] SVN: zope.formlib/trunk/ Moved to GitHub.

Stephen Richter cvs-admin at zope.org
Wed Feb 27 20:31:38 UTC 2013


Log message for revision 129905:
  Moved to GitHub.

Changed:
  D   zope.formlib/trunk/CHANGES.txt
  D   zope.formlib/trunk/COPYRIGHT.txt
  D   zope.formlib/trunk/LICENSE.txt
  A   zope.formlib/trunk/MOVED_TO_GITHUB
  D   zope.formlib/trunk/README.txt
  D   zope.formlib/trunk/bootstrap.py
  D   zope.formlib/trunk/buildout.cfg
  D   zope.formlib/trunk/setup.py
  D   zope.formlib/trunk/src/

-=-
Deleted: zope.formlib/trunk/CHANGES.txt
===================================================================
--- zope.formlib/trunk/CHANGES.txt	2013-02-27 15:14:26 UTC (rev 129904)
+++ zope.formlib/trunk/CHANGES.txt	2013-02-27 20:31:38 UTC (rev 129905)
@@ -1,194 +0,0 @@
-=======
-Changes
-=======
-
-4.2.2 (unreleased)
-==================
-
-- Nothing changed yet.
-
-
-4.2.1 (2013-02-22)
-==================
-
-- Moved default values for the `BooleanDisplayWidget` from module to class
-  definition to make them changeable in instance.
-
-
-4.2.0 (2012-11-27)
-==================
-
-- LP #1017884:  Add redirect status codes (303, 307) to the set which prevent
-  form rendering.
-
-- Replaced deprecated ``zope.component.adapts`` usage with equivalent
-  ``zope.component.adapter`` decorator.
-
-- Replaced deprecated ``zope.interface.implements`` usage with equivalent
-  ``zope.interface.implementer`` decorator.
-
-- Dropped support for Python 2.5.
-
-- Make separator of ``SourceSequenceDisplayWidget`` configurable.
-
-
-4.1.1 (2012-03-16)
-==================
-
-- Added `ignoreContext` attribute to form classes to control whether
-  `checkInvariants` takes the context of the form into account when
-  checking interface invariants.
-
-  By default `ignoreContext` is set to ``False``.  On the `AddForm` it is
-  ``True`` by default because the context of this form is naturally not
-  suitable as context for the interface invariant.
-
-
-4.1.0 (2012-03-15)
-==================
-
-- `checkInvariants` now takes the context of the form into account when
-  checking interface invariants.
-
-- Tests are no longer compatible with Python 2.4.
-
-
-4.0.6 (2011-08-20)
-==================
-
-- Fixed bug in ``orderedSelectionList.pt`` template.
-
-4.0.5 (2010-09-16)
-==================
-
-- Fixed Action name parameter handling, since 4.0.3 all passed names were
-  lowercased.
-
-4.0.4 (2010-07-06)
-==================
-
-- Fixed tests to pass under Python 2.7.
-
-- Fix validation of "multiple" attributes in orderedSelectionList.pt.
-
-4.0.3 (2010-05-06)
-==================
-
-- Keep Actions from raising exceptions when passed Unicode lables [LP:528468].
-
-- Improve display of the "nothing selected" case for optional Choice fields
-  [LP:269782].
-
-- Improve truth testing for ItemDisplayWidget [LP:159232].
-
-- Don't blow up if TypeError raised during token conversion [LP:98491].
-
-4.0.2 (2010-03-07)
-==================
-
-- Adapted tests for Python 2.4 (enforce sorting for short pprint output)
-
-4.0.1 (2010-02-21)
-==================
-
-- Documentation uploaded to PyPI now contains widget documentation.
-- Escape MultiCheckBoxWidget content [LP:302427].
-
-4.0 (2010-01-08)
-================
-
-- Widget implementation and all widgets from zope.app.form have been
-  moved into zope.formlib, breaking zope.formlib's dependency on
-  zope.app.form (instead zope.app.form now depends on zope.formlib).
-
-  Widgets can all be imported from ``zope.formlib.widgets``.
-
-  Widget base classes and render functionality is in
-  ``zope.formlib.widget``.
-
-  All relevant widget interfaces are now in ``zope.formlib.interfaces``.
-
-3.10.0 (2009-12-22)
-===================
-
-- Use named template from zope.browserpage in favor of zope.app.pagetemplate.
-
-3.9.0 (2009-12-22)
-==================
-
-- Use ViewPageTemplateFile from zope.browserpage.
-
-3.8.0 (2009-12-22)
-==================
-
-- Adjusted test output to new zope.schema release.
-
-3.7.0 (2009-12-18)
-==================
-
-- Rid ourselves from zope.app test dependencies.
-
-- Fix: Button label needs escaping
-
-3.6.0 (2009-05-18)
-==================
-
-- Remove deprecated imports.
-
-- Remove dependency on zope.app.container (use ``IAdding`` from
-  ``zope.browser.interfaces``) instead.  Depend on
-  ``zope.browser>=1.1`` (the version with ``IAdding``).
-
-- Moved ``namedtemplate`` to ``zope.app.pagetemplate``, to cut some
-  dependencies on ``zope.formlib`` when using this feature. Left BBB
-  imports here.
-
-3.5.2 (2009-02-21)
-==================
-
-- Adapt tests for Python 2.5 output.
-
-3.5.1 (2009-01-31)
-==================
-
-- Adapt tests to upcoming zope.schema release 3.5.1.
-
-3.5.0 (2009-01-26)
-==================
-
-New Features
-------------
-
-- Test dependencies are declared in a `test` extra now.
-
-- Introduced ``zope.formlib.form.applyData`` which works like
-  ``applyChanges`` but returns a dictionary with information about
-  which attribute of which schema changed.  This information is then
-  sent along with the ``IObjectModifiedEvent``.
-
-  This fixes https://bugs.launchpad.net/zope3/+bug/98483.
-
-Bugs Fixed
-----------
-
-- Actions that cause a redirect (301, 302) do not cause the `render` method to
-  be called anymore.
-
-- The zope.formlib.form.Action class didn't fully implement
-  zope.formlib.interfaces.IAction.
-
-- zope.formlib.form.setupWidgets and zope.formlib.form.setupEditWidgets did
-  not check for write access on the adapter but on context. This fixes
-  https://bugs.launchpad.net/zope3/+bug/219948
-
-
-3.4.0 (2007-09-28)
-==================
-
-No further changes since 3.4.0a1.
-
-3.4.0a1 (2007-04-22)
-====================
-
-Initial release as a separate project, corresponds to zope.formlib
-from Zope 3.4.0a1

Deleted: zope.formlib/trunk/COPYRIGHT.txt
===================================================================
--- zope.formlib/trunk/COPYRIGHT.txt	2013-02-27 15:14:26 UTC (rev 129904)
+++ zope.formlib/trunk/COPYRIGHT.txt	2013-02-27 20:31:38 UTC (rev 129905)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file

Deleted: zope.formlib/trunk/LICENSE.txt
===================================================================
--- zope.formlib/trunk/LICENSE.txt	2013-02-27 15:14:26 UTC (rev 129904)
+++ zope.formlib/trunk/LICENSE.txt	2013-02-27 20:31:38 UTC (rev 129905)
@@ -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.

Added: zope.formlib/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.formlib/trunk/MOVED_TO_GITHUB	                        (rev 0)
+++ zope.formlib/trunk/MOVED_TO_GITHUB	2013-02-27 20:31:38 UTC (rev 129905)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.formlib
\ No newline at end of file

Deleted: zope.formlib/trunk/README.txt
===================================================================
--- zope.formlib/trunk/README.txt	2013-02-27 15:14:26 UTC (rev 129904)
+++ zope.formlib/trunk/README.txt	2013-02-27 20:31:38 UTC (rev 129905)
@@ -1,9 +0,0 @@
-.. contents::
-
-========
-Overview
-========
-
-Forms are web components that use widgets to display and input data.
-Typically a template displays the widgets by accessing an attribute or
-method on an underlying class.

Deleted: zope.formlib/trunk/bootstrap.py
===================================================================
--- zope.formlib/trunk/bootstrap.py	2013-02-27 15:14:26 UTC (rev 129904)
+++ zope.formlib/trunk/bootstrap.py	2013-02-27 20:31:38 UTC (rev 129905)
@@ -1,127 +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.
-
-$Id$
-"""
-
-import os, shutil, sys, tempfile, urllib2
-from optparse import OptionParser
-
-tmpeggs = tempfile.mkdtemp()
-
-is_jython = sys.platform.startswith('java')
-
-# parsing arguments
-parser = OptionParser(
-    'This is a custom version of the zc.buildout %prog script.  It is '
-    'intended to meet a temporary need if you encounter problems with '
-    'the zc.buildout 1.5 release.')
-parser.add_option("-v", "--version", dest="version", default='1.4.4',
-                          help='Use a specific zc.buildout version.  *This '
-                          'bootstrap script defaults to '
-                          '1.4.4, unlike usual buildpout bootstrap scripts.*')
-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
-
-ws  = pkg_resources.working_set
-
-if USE_DISTRIBUTE:
-    requirement = 'distribute'
-else:
-    requirement = 'setuptools'
-
-env = dict(os.environ,
-           PYTHONPATH=
-           ws.find(pkg_resources.Requirement.parse(requirement)).location
-           )
-
-cmd = [quote(sys.executable),
-       '-c',
-       quote('from setuptools.command.easy_install import main; main()'),
-       '-mqNxd',
-       quote(tmpeggs)]
-
-if 'bootstrap-testing-find-links' in os.environ:
-    cmd.extend(['-f', os.environ['bootstrap-testing-find-links']])
-
-cmd.append('zc.buildout' + VERSION)
-
-if is_jython:
-    import subprocess
-    exitcode = subprocess.Popen(cmd, env=env).wait()
-else: # Windows prefers this, apparently; otherwise we would prefer subprocess
-    exitcode = os.spawnle(*([os.P_WAIT, sys.executable] + cmd + [env]))
-assert exitcode == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout' + VERSION)
-import zc.buildout.buildout
-zc.buildout.buildout.main(args)
-shutil.rmtree(tmpeggs)

Deleted: zope.formlib/trunk/buildout.cfg
===================================================================
--- zope.formlib/trunk/buildout.cfg	2013-02-27 15:14:26 UTC (rev 129904)
+++ zope.formlib/trunk/buildout.cfg	2013-02-27 20:31:38 UTC (rev 129905)
@@ -1,23 +0,0 @@
-[buildout]
-develop = .
-parts = test python coverage-test coverage-report
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.formlib [test]
-
-[python]
-recipe = zc.recipe.egg
-eggs = zope.formlib
-interpreter = python
-
-[coverage-test]
-recipe = zc.recipe.testrunner
-eggs = ${test:eggs}
-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

Deleted: zope.formlib/trunk/setup.py
===================================================================
--- zope.formlib/trunk/setup.py	2013-02-27 15:14:26 UTC (rev 129904)
+++ zope.formlib/trunk/setup.py	2013-02-27 20:31:38 UTC (rev 129905)
@@ -1,87 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006-2009 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.formlib package
-"""
-import os
-from setuptools import setup, find_packages
-
-def read(*rnames):
-    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-version = '4.2.2.dev0'
-
-setup(name='zope.formlib',
-      version=version,
-      url='http://pypi.python.org/pypi/zope.formlib',
-      license='ZPL 2.1',
-      description='Form generation and validation library for Zope',
-      author='Zope Foundation and Contributors',
-      author_email='zope-dev at zope.org',
-      classifiers=[
-        'Development Status :: 5 - Production/Stable',
-        'Environment :: Web Environment',
-        'Framework :: Zope3',
-        'Intended Audience :: Developers',
-        'License :: OSI Approved :: Zope Public License',
-        'License :: OSI Approved',
-        'Natural Language :: English',
-        'Operating System :: OS Independent',
-        'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.6',
-        'Programming Language :: Python :: 2.7',
-        'Programming Language :: Python',
-        'Topic :: Internet :: WWW/HTTP',
-        ],
-      long_description=(read('README.txt')
-                        + '\n\n' +
-                        read('src', 'zope', 'formlib', 'form.txt')
-                        + '\n\n' +
-                        read('src', 'zope', 'formlib', 'widgets.txt')
-                        + '\n\n' +
-                        read('src', 'zope', 'formlib', 'errors.txt')
-                        + '\n\n' +
-                        read('CHANGES.txt')
-                        ),
-      packages=find_packages('src'),
-      package_dir = {'': 'src'},
-      namespace_packages=['zope',],
-      extras_require=dict(
-          test=['zope.configuration',
-                'zope.testing',
-               ]
-          ),
-      install_requires=['setuptools',
-                        'pytz',
-                        'zope.browser>=1.1',
-                        'zope.browserpage>=3.11.0',
-                        'zope.component',
-                        'zope.event',
-                        'zope.i18n',
-                        'zope.i18nmessageid',
-                        'zope.interface',
-                        'zope.lifecycleevent',
-                        'zope.publisher',
-                        'zope.schema>=3.5.1',
-                        'zope.security',
-                        'zope.traversing',
-                        "zope.datetime",
-                        ],
-      include_package_data = True,
-      zip_safe = False,
-      )



More information about the checkins mailing list