[Checkins] SVN: zope.container/trunk/ Move to GitHub under https://github.com/zopefoundation/zope.container
Albertas Agejevas
cvs-admin at zope.org
Thu Feb 14 14:20:19 UTC 2013
Log message for revision 129409:
Move to GitHub under https://github.com/zopefoundation/zope.container
Changed:
D zope.container/trunk/CHANGES.txt
D zope.container/trunk/COPYRIGHT.txt
D zope.container/trunk/LICENSE.txt
D zope.container/trunk/README.txt
D zope.container/trunk/bootstrap.py
D zope.container/trunk/buildout.cfg
D zope.container/trunk/compat.cfg
D zope.container/trunk/include/
D zope.container/trunk/setup.py
D zope.container/trunk/src/
-=-
Deleted: zope.container/trunk/CHANGES.txt
===================================================================
--- zope.container/trunk/CHANGES.txt 2013-02-14 14:18:24 UTC (rev 129408)
+++ zope.container/trunk/CHANGES.txt 2013-02-14 14:20:19 UTC (rev 129409)
@@ -1,189 +0,0 @@
-=======
-CHANGES
-=======
-
-4.0.0 (unreleased)
--------------------
-
-- 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.4 and 2.5.
-
-- Send ``IContainerModifiedEvent`` *after* the container is modified
- (LP#705600).
-
-- Preserve the original exception traceback in
- OrderedContainer.__setitem__.
-
-- Handle Broken Objects more gracefully
-
-- Fix a bug that made it impossible to store None values in containers
- (LP#1070719).
-
-
-3.12.0 (2010-12-14)
--------------------
-
-- Fix detection of moving folders into itself or a subfolder of itself.
- (#118088)
-
-- Fixed ZCML-related tests and dependencies.
-
-- Added ``zcml`` extra dependencies.
-
-3.11.1 (2010-04-30)
--------------------
-
-- Prefer the standard libraries doctest module to the one from zope.testing.
-
-- Added compatibility with ZODB3 3.10 by importing the IBroken interface from
- it directly. Once we can rely on the new ZODB3 version exclusively, we can
- remove the dependency onto the zope.broken distribution.
-
-- Never fail if the suggested name is in a wrong type (#227617)
-
-- ``checkName`` first checks the parameter type before the emptiness.
-
-3.11.0 (2009-12-31)
--------------------
-
-- Copy two trivial classes from zope.cachedescriptors into this package, which
- allows us to remove that dependency. We didn't actually use any caching
- properties as the dependency suggested.
-
-3.10.1 (2009-12-29)
--------------------
-
-- Moved zope.copypastemove related tests into that package.
-
-- Removed no longer used zcml prefix from the configure file.
-
-- Stop importing DocTestSuite from zope.testing.doctestunit. Fixes
- compatibility problems with zope.testing 3.8.4.
-
-3.10.0 (2009-12-15)
--------------------
-
-- Break testing dependency on zope.app.testing.
-
-- Break testing dependency on zope.app.dependable by moving the code and tests
- into that package.
-
-- Import ISite from zope.component after it was moved there from
- zope.location.
-
-3.9.1 (2009-10-18)
-------------------
-
-- Rerelease 3.9.0 as it had a broken Windows 2.6 egg.
-
-- Marked as part of the ZTK.
-
-3.9.0 (2009-08-28)
-------------------
-
-- Previous releases should be versioned 3.9.0 as they are not pure bugfix
- releases and worth a "feature" release, increasing feature version.
-
- Packages that depend on any changes introduced in version 3.8.2 or 3.8.3
- should depend on version 3.9 or greater.
-
-3.8.3 (2009-08-27)
-------------------
-
-- Move IXMLRPCPublisher ZCML registrations for containers from
- zope.app.publisher.xmlrpc to zope.container for now.
-
-3.8.2 (2009-05-17)
-------------------
-
-- Rid ourselves of ``IContained`` interface. This interface was moved
- to ``zope.location.interfaces``. A b/w compat import still exists
- to keep old code running. Depend on ``zope.location``>=3.5.4.
-
-- Rid ourselves of the implementations of ``IObjectMovedEvent``,
- ``IObjectAddedEvent``, ``IObjectRemovedEvent`` interfaces and
- ``ObjectMovedEvent``, ``ObjectAddedEvent`` and
- ``ObjectRemovedEvent`` classes. B/w compat imports still exist.
- All of these were moved to ``zope.lifecycleevent``. Depend on
- ``zope.lifecycleevent``>=3.5.2.
-
-- Fix a bug in OrderedContainer where trying to set the value for a
- key that already exists (duplication error) would actually delete the
- key from the order, leaving a dangling reference.
-
-- Partially break dependency on ``zope.traversing`` by disusing
- zope.traversing.api.getPath in favor of using
- ILocationInfo(object).getPath(). The rest of the runtime
- dependencies on zope.traversing are currently interface
- dependencies.
-
-- Break runtime dependency on ``zope.app.dependable`` by using a zcml
- condition on the qsubscriber ZCML directive that registers the
- CheckDependency handler for IObjectRemovedEvent. If
- ``zope.app.dependable`` is not installed, this subscriber will never
- be registered. ``zope.app.dependable`` is now a testing dependency
- only.
-
-3.8.1 (2009-04-03)
-------------------
-
-- Fixed misspackaged 3.8.0
-
-
-3.8.0 (2009-04-03)
-------------------
-
-- Change configure.zcml to not depend on zope.app.component.
- Fixes: https://bugs.launchpad.net/bugs/348329
-
-- Moved the declaration of ``IOrderedContainer.updateOrder`` to a new, basic
- ``IOrdered`` interface and let ``IOrderedContainer`` inherit it. This allows
- easier reuse of the declaration.
-
-3.7.2 (2009-03-12)
-------------------
-
-- Fix: added missing ComponentLookupError, missing since revision 95429 and
- missing in last release.
-
-- Adapt to the move of IDefaultViewName from zope.component.interfaces
- to zope.publisher.interfaces.
-
-- Add support for reserved names for containers. To specify reserved
- names for some container, you need to provide an adapter from the
- container to the ``zope.container.interfaces.IReservedNames`` interface.
- The default NameChooser is now also aware of reserved names.
-
-3.7.1 (2009-02-05)
-------------------
-
-- Raise more "Pythonic" errors from ``__setitem__``, losing the dependency
- on ``zope.exceptions``:
-
- o ``zope.exceptions.DuplicationError`` -> ``KeyError``
-
- o ``zope.exceptions.UserError`` -> ``ValueError``
-
-- Moved import of ``IBroken`` interface to use new ``zope.broken``
- package, which has no dependencies beyond ``zope.interface``.
-
-- Made ``test`` part pull in the extra test requirements of this package.
-
-- Split the ``z3c.recipe.compattest`` configuration out into a new file,
- ``compat.cfg``, to reduce the burden of doing standard unit tests.
-
-- Stripped out bogus develop eggs from ``buildout.cfg``.
-
-3.7.0 (2009-01-31)
-------------------
-
-- Split this package off ``zope.app.container``. This package is
- intended to have far less dependencies than ``zope.app.container``.
-
-- This package also contains the container implementation that
- used to be in ``zope.app.folder``.
Deleted: zope.container/trunk/COPYRIGHT.txt
===================================================================
--- zope.container/trunk/COPYRIGHT.txt 2013-02-14 14:18:24 UTC (rev 129408)
+++ zope.container/trunk/COPYRIGHT.txt 2013-02-14 14:20:19 UTC (rev 129409)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.container/trunk/LICENSE.txt
===================================================================
--- zope.container/trunk/LICENSE.txt 2013-02-14 14:18:24 UTC (rev 129408)
+++ zope.container/trunk/LICENSE.txt 2013-02-14 14:20:19 UTC (rev 129409)
@@ -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.container/trunk/README.txt
===================================================================
--- zope.container/trunk/README.txt 2013-02-14 14:18:24 UTC (rev 129408)
+++ zope.container/trunk/README.txt 2013-02-14 14:20:19 UTC (rev 129409)
@@ -1,4 +0,0 @@
-This package define interfaces of container components, and provides
-container implementations such as a BTreeContainer and
-OrderedContainer, as well as the base class used by ``zope.site.folder``
-for the Folder implementation.
Deleted: zope.container/trunk/bootstrap.py
===================================================================
--- zope.container/trunk/bootstrap.py 2013-02-14 14:18:24 UTC (rev 129408)
+++ zope.container/trunk/bootstrap.py 2013-02-14 14:20:19 UTC (rev 129409)
@@ -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.container/trunk/buildout.cfg
===================================================================
--- zope.container/trunk/buildout.cfg 2013-02-14 14:18:24 UTC (rev 129408)
+++ zope.container/trunk/buildout.cfg 2013-02-14 14:20:19 UTC (rev 129409)
@@ -1,23 +0,0 @@
-[buildout]
-develop = .
-parts = test graph coverage-test coverage-report
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.container[test,zcml]
-
-[graph]
-recipe = zc.recipe.egg
-eggs = ${test:eggs}
- tl.eggdeps
-
-[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')
Deleted: zope.container/trunk/compat.cfg
===================================================================
--- zope.container/trunk/compat.cfg 2013-02-14 14:18:24 UTC (rev 129408)
+++ zope.container/trunk/compat.cfg 2013-02-14 14:20:19 UTC (rev 129409)
@@ -1,13 +0,0 @@
-[buildout]
-extends = buildout.cfg
-develop = .
-parts = test graph compat
-versions = versions
-
-[versions]
-ZODB3 = 3.8
-zope.app.apidoc = 3.5
-
-[compat]
-recipe = z3c.recipe.compattest
-max_jobs = 5
Deleted: zope.container/trunk/setup.py
===================================================================
--- zope.container/trunk/setup.py 2013-02-14 14:18:24 UTC (rev 129408)
+++ zope.container/trunk/setup.py 2013-02-14 14:20:19 UTC (rev 129409)
@@ -1,93 +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.container package
-"""
-import os
-from setuptools import setup, find_packages, Extension
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-setup(name='zope.container',
- version = '4.0.0dev',
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- description='Zope Container',
- long_description=(
- read('README.txt')
- + '\n\n' +
- '.. contents::\n'
- + '\n\n' +
- read('src', 'zope', 'container', 'constraints.txt')
- + '\n\n' +
- read('CHANGES.txt')
- ),
- keywords = "zope container",
- 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',
- 'Natural Language :: English',
- 'Operating System :: OS Independent',
- 'Topic :: Internet :: WWW/HTTP',
- 'Framework :: Zope3',
- ],
- url='http://pypi.python.org/pypi/zope.container',
- license='ZPL 2.1',
- packages=find_packages('src'),
- package_dir = {'': 'src'},
- namespace_packages=['zope'],
- ext_modules=[Extension("zope.container._zope_container_contained",
- [os.path.join("src", "zope", "container",
- "_zope_container_contained.c")
- ], include_dirs=['include']),
- ],
- extras_require=dict(
- test=['zope.testing',
- ],
- zcml=[
- 'zope.component[zcml]',
- 'zope.configuration',
- 'zope.security[zcml]>=3.8',
- ]),
- install_requires=['setuptools',
- 'zope.interface',
- 'zope.dottedname',
- 'zope.schema',
- 'zope.component',
- 'zope.event',
- 'zope.location>=3.5.4',
- 'zope.security',
- 'zope.lifecycleevent>=3.5.2',
- 'zope.i18nmessageid',
- 'zope.filerepresentation',
- 'zope.size',
- 'zope.traversing',
- 'zope.publisher',
- 'zope.broken',
- 'ZODB3',
- ],
- include_package_data = True,
- zip_safe = False,
- )
More information about the checkins
mailing list