[Checkins] SVN: zope.interface/branches/tseaver-better_unittests/ Quit trying to track this in SVN: point to Launchpad.

Tres Seaver tseaver at palladion.com
Sat May 1 15:11:54 EDT 2010


Log message for revision 111853:
  Quit trying to track this in SVN:  point to Launchpad.

Changed:
  D   zope.interface/branches/tseaver-better_unittests/CHANGES.txt
  D   zope.interface/branches/tseaver-better_unittests/COPYRIGHT.txt
  D   zope.interface/branches/tseaver-better_unittests/LICENSE.txt
  U   zope.interface/branches/tseaver-better_unittests/README.txt
  D   zope.interface/branches/tseaver-better_unittests/bootstrap.py
  D   zope.interface/branches/tseaver-better_unittests/build_ext_2.py
  D   zope.interface/branches/tseaver-better_unittests/build_ext_3.py
  D   zope.interface/branches/tseaver-better_unittests/buildout.cfg
  D   zope.interface/branches/tseaver-better_unittests/setup.py
  D   zope.interface/branches/tseaver-better_unittests/src/

-=-
Deleted: zope.interface/branches/tseaver-better_unittests/CHANGES.txt
===================================================================
--- zope.interface/branches/tseaver-better_unittests/CHANGES.txt	2010-05-01 18:55:09 UTC (rev 111852)
+++ zope.interface/branches/tseaver-better_unittests/CHANGES.txt	2010-05-01 19:11:53 UTC (rev 111853)
@@ -1,218 +0,0 @@
-CHANGES
-*******
-
-==================
-3.6.0 (unreleased)
-==================
-
-- LP #185974:  Clear the cache used by ``Specificaton.get`` inside
-  ``Specification.changed``.  Thanks to Jacob Holm for the patch.
-
-- Added support for Python 3.1. Contributors:
-    Lennart Regebro
-    Martin v Löwis
-    Thomas Lotze
-    Wolfgang Schnerring
-
-  The 3.1 support is completely backwards compatible. However, the implements
-  syntax used under Python 2.X does not work under 3.X, since it depends on
-  how metaclasses are implemented and this has changed. Instead it now supports
-  a decorator syntax (also under Python 2.X):
-
-    class Foo:
-        implements(IFoo)
-        ...
-
-  can now also be written
-
-    @implementor(IFoo):
-    class Foo:
-        ...
-
-  There are 2to3 fixers available to do this change automatically in the
-  zope.fixers package.
-
-- Python 2.3 is no longer supported.
-
-
-==================
-3.5.4 (2009-12-23)
-==================
-
-- Use the standard Python doctest module instead of zope.testing.doctest, which
-  has been deprecated.
-
-
-==================
-3.5.3 (2009-12-08)
-==================
-
-- Fix an edge case: make providedBy() work when a class has '__provides__' in
-  its __slots__ (see http://thread.gmane.org/gmane.comp.web.zope.devel/22490)
-
-
-==================
-3.5.2 (2009-07-01)
-==================
-
-- BaseAdapterRegistry.unregister, unsubscribe: Remove empty portions of
-  the data structures when something is removed.  This avoids leaving
-  references to global objects (interfaces) that may be slated for
-  removal from the calling application.
-
-
-==================
-3.5.1 (2009-03-18)
-==================
-
-- verifyObject: use getattr instead of hasattr to test for object attributes
-  in order to let exceptions other than AttributeError raised by properties
-  propagate to the caller
-
-- Add Sphinx-based documentation building to the package buildout
-  configuration. Use the ``bin/docs`` command after buildout.
-
-- Improve package description a bit. Unify changelog entries formatting.
-
-- Change package's mailing list address to zope-dev at zope.org as
-  zope3-dev at zope.org is now retired.
-
-
-==================
-3.5.0 (2008-10-26)
-==================
-
-- Fixed declaration of _zope_interface_coptimizations, it's not a top level
-  package.
-
-- Add a DocTestSuite for odd.py module, so their tests are run.
-
-- Allow to bootstrap on Jython.
-
-- Fix https://bugs.launchpad.net/zope3/3.3/+bug/98388: ISpecification
-  was missing a declaration for __iro__.
-
-- Added optional code optimizations support, which allows the building
-  of C code optimizations to fail (Jython).
-
-- Replaced `_flatten` with a non-recursive implementation, effectively making
-  it 3x faster.
-
-
-==================
-3.4.1 (2007-10-02)
-==================
-
-- Fixed a setup bug that prevented installation from source on systems
-  without setuptools.
-
-
-==================
-3.4.0 (2007-07-19)
-==================
-
-- Final release for 3.4.0.
-
-
-====================
-3.4.0b3 (2007-05-22)
-====================
-
-
-- Objects with picky custom comparison methods couldn't be added to
-  component registries.  Now, when checking whether an object is
-  already registered, identity comparison is used.
-
-
-====================
-3.3.0.1 (2007-01-03)
-====================
-
-- Made a reference to OverflowWarning, which disappeared in Python
-  2.5, conditional.
-
-
-==================
-3.3.0 (2007/01/03)
-==================
-
-New Features
-============
-
-- The adapter-lookup algorithim was refactored to make it
-  much simpler and faster.  
-
-  Also, more of the adapter-lookup logic is implemented in C, making
-  debugging of application code easier, since there is less
-  infrastructre code to step through.
-
-- We now treat objects without interface declarations as if they
-  declared that they provide zope.interface.Interface.
-
-- There are a number of richer new adapter-registration interfaces
-  that provide greater control and introspection.
-
-- Added a new interface decorator to zope.interface that allows the
-  setting of tagged values on an interface at definition time (see
-  zope.interface.taggedValue).
-
-Bug Fixes
-=========
-
-- A bug in multi-adapter lookup sometimes caused incorrect adapters to
-  be returned.
-
-
-====================
-3.2.0.2 (2006-04-15)
-====================
-
-- Fix packaging bug:  'package_dir' must be a *relative* path.
-
-
-====================
-3.2.0.1 (2006-04-14)
-====================
-
-- Packaging change:  suppress inclusion of 'setup.cfg' in 'sdist' builds.
-
-
-==================
-3.2.0 (2006-01-05)
-==================
-
-- Corresponds to the verison of the zope.interface package shipped as part of
-  the Zope 3.2.0 release.
-
-
-==================
-3.1.0 (2005-10-03)
-==================
-
-- Corresponds to the verison of the zope.interface package shipped as part of
-  the Zope 3.1.0 release.
-
-- Made attribute resolution order consistent with component lookup order,
-  i.e. new-style class MRO semantics.
-
-- Deprecated 'isImplementedBy' and 'isImplementedByInstancesOf' APIs in
-  favor of 'implementedBy' and 'providedBy'.
-
-
-==================
-3.0.1 (2005-07-27)
-==================
-
-- Corresponds to the verison of the zope.interface package shipped as part of
-  the Zope X3.0.1 release.
-
-- Fixed a bug reported by James Knight, which caused adapter registries
-  to fail occasionally to reflect declaration changes.
-
-
-==================
-3.0.0 (2004-11-07)
-==================
-
-- Corresponds to the verison of the zope.interface package shipped as part of
-  the Zope X3.0.0 release.

Deleted: zope.interface/branches/tseaver-better_unittests/COPYRIGHT.txt
===================================================================
--- zope.interface/branches/tseaver-better_unittests/COPYRIGHT.txt	2010-05-01 18:55:09 UTC (rev 111852)
+++ zope.interface/branches/tseaver-better_unittests/COPYRIGHT.txt	2010-05-01 19:11:53 UTC (rev 111853)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file

Deleted: zope.interface/branches/tseaver-better_unittests/LICENSE.txt
===================================================================
--- zope.interface/branches/tseaver-better_unittests/LICENSE.txt	2010-05-01 18:55:09 UTC (rev 111852)
+++ zope.interface/branches/tseaver-better_unittests/LICENSE.txt	2010-05-01 19:11:53 UTC (rev 111853)
@@ -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.

Modified: zope.interface/branches/tseaver-better_unittests/README.txt
===================================================================
--- zope.interface/branches/tseaver-better_unittests/README.txt	2010-05-01 18:55:09 UTC (rev 111852)
+++ zope.interface/branches/tseaver-better_unittests/README.txt	2010-05-01 19:11:53 UTC (rev 111853)
@@ -1,9 +1,10 @@
-*This package is intended to be independently reusable in any Python
-project. It is maintained by the* `Zope Toolkit project <http://docs.zope.org/zopetoolkit/>`_.
+Please see the Launchpad branch for this work:  tracking the revisions
+is much easier for me to do there:
 
-This package provides an implementation of `object interfaces` for Python.
-Interfaces are a mechanism for labeling objects as conforming to a given
-API or contract. So, this package can be considered as implementation of
-the `Design By Contract`_ methodology support in Python.
+Check it out:
 
-.. _Design By Contract: http://en.wikipedia.org/wiki/Design_by_contract
+  $ bzr co lp:~tseaver/zope.interface/better_unittests
+
+Browse it:
+
+  https://code.launchpad.net/~tseaver/zope.interface/better_unittests

Deleted: zope.interface/branches/tseaver-better_unittests/bootstrap.py
===================================================================
--- zope.interface/branches/tseaver-better_unittests/bootstrap.py	2010-05-01 18:55:09 UTC (rev 111852)
+++ zope.interface/branches/tseaver-better_unittests/bootstrap.py	2010-05-01 19:11:53 UTC (rev 111853)
@@ -1,68 +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: bootstrap.py 72703 2007-02-20 11:49:26Z jim $
-"""
-
-import os, shutil, sys, tempfile, urllib2
-
-tmpeggs = tempfile.mkdtemp()
-
-ez = {}
-exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
-                     ).read() in ez
-ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
-import pkg_resources
-
-is_jython = sys.platform.startswith('java')
-
-if is_jython:
-    import subprocess
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-if sys.platform == 'win32':
-    cmd = '"%s"' % cmd # work around spawn lamosity on windows
-
-ws = pkg_resources.working_set
-
-if is_jython:
-    assert subprocess.Popen([sys.executable] + ['-c', cmd, '-mqNxd', tmpeggs,
-    'zc.buildout'],
-    env = dict(os.environ,
-          PYTHONPATH=
-          ws.find(pkg_resources.Requirement.parse('setuptools')).location
-          ),
-    ).wait() == 0
-
-else:
-    assert os.spawnle(
-        os.P_WAIT, sys.executable, sys.executable,
-        '-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout',
-        dict(os.environ,
-            PYTHONPATH=
-            ws.find(pkg_resources.Requirement.parse('setuptools')).location
-            ),
-        ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout')
-import zc.buildout.buildout
-zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
-shutil.rmtree(tmpeggs)

Deleted: zope.interface/branches/tseaver-better_unittests/build_ext_2.py
===================================================================
--- zope.interface/branches/tseaver-better_unittests/build_ext_2.py	2010-05-01 18:55:09 UTC (rev 111852)
+++ zope.interface/branches/tseaver-better_unittests/build_ext_2.py	2010-05-01 19:11:53 UTC (rev 111853)
@@ -1,38 +0,0 @@
-import sys
-from distutils.errors import (CCompilerError, DistutilsExecError, 
-                              DistutilsPlatformError)
-try:
-    from setuptools.command.build_ext import build_ext
-except ImportError:
-    from distutils.command.build_ext import build_ext
-    
-
-class optional_build_ext(build_ext):
-    """This class subclasses build_ext and allows
-       the building of C extensions to fail.
-    """
-    def run(self):
-        try:
-            build_ext.run(self)
-        
-        except DistutilsPlatformError, e:
-            self._unavailable(e)
-
-    def build_extension(self, ext):
-        try:
-            build_ext.build_extension(self, ext)
-        
-        except (CCompilerError, DistutilsExecError), e:
-            self._unavailable(e)
-
-    def _unavailable(self, e):
-        print >> sys.stderr, '*' * 80
-        print >> sys.stderr, """WARNING:
-
-        An optional code optimization (C extension) could not be compiled.
-
-        Optimizations for this package will not be available!"""
-        print >> sys.stderr
-        print >> sys.stderr, e
-        print >> sys.stderr, '*' * 80
-        
\ No newline at end of file

Deleted: zope.interface/branches/tseaver-better_unittests/build_ext_3.py
===================================================================
--- zope.interface/branches/tseaver-better_unittests/build_ext_3.py	2010-05-01 18:55:09 UTC (rev 111852)
+++ zope.interface/branches/tseaver-better_unittests/build_ext_3.py	2010-05-01 19:11:53 UTC (rev 111853)
@@ -1,40 +0,0 @@
-import os
-import sys
-from distutils.errors import (CCompilerError, DistutilsExecError, 
-                              DistutilsPlatformError)
-try:
-    from setuptools.command.build_ext import build_ext
-    from pkg_resources import (normalize_path, working_set, 
-                               add_activation_listener, require)
-except ImportError:
-    from distutils.command.build_ext import build_ext
-    
-
-class optional_build_ext(build_ext):
-    """This class subclasses build_ext and allows
-       the building of C extensions to fail.
-    """
-    def run(self):
-        try:
-            build_ext.run(self)
-        
-        except DistutilsPlatformError as e:
-            self._unavailable(e)
-
-    def build_extension(self, ext):
-        try:
-            build_ext.build_extension(self, ext)
-        
-        except (CCompilerError, DistutilsExecError) as e:
-            self._unavailable(e)
-
-    def _unavailable(self, e):
-        print('*' * 80, file=sys.stderr)
-        print("""WARNING:
-
-        An optional code optimization (C extension) could not be compiled.
-
-        Optimizations for this package will not be available!""", file=sys.stderr)
-        print(file=sys.stderr)
-        print(e, file=sys.stderr)
-        print('*' * 80, file=sys.stderr)

Deleted: zope.interface/branches/tseaver-better_unittests/buildout.cfg
===================================================================
--- zope.interface/branches/tseaver-better_unittests/buildout.cfg	2010-05-01 18:55:09 UTC (rev 111852)
+++ zope.interface/branches/tseaver-better_unittests/buildout.cfg	2010-05-01 19:11:53 UTC (rev 111853)
@@ -1,19 +0,0 @@
-[buildout]
-develop = .
-parts = test python docs
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.interface
-
-[python]
-recipe = zc.recipe.egg
-eggs = zope.interface
-interpreter = python
-
-[docs]
-recipe = z3c.recipe.sphinxdoc
-eggs = zope.interface [docs]
-build-dir = ${buildout:directory}/docs
-default.css =
-layout.html =

Deleted: zope.interface/branches/tseaver-better_unittests/setup.py
===================================================================
--- zope.interface/branches/tseaver-better_unittests/setup.py	2010-05-01 18:55:09 UTC (rev 111852)
+++ zope.interface/branches/tseaver-better_unittests/setup.py	2010-05-01 19:11:53 UTC (rev 111853)
@@ -1,131 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2004-2007 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.interface package
-
-$Id$
-"""
-
-import os, sys
-
-try:
-    from setuptools import setup, Extension, Feature
-except ImportError:
-    # do we need to support plain distutils for building when even
-    # the package itself requires setuptools for installing?
-    from distutils.core import setup, Extension
-
-    if sys.version_info[:2] >= (2, 4):
-        extra = dict(
-            package_data={
-                'zope.interface': ['*.txt'],
-                'zope.interface.tests': ['*.txt'],
-                }
-            )
-    else:
-        extra = {}
-
-else:
-    codeoptimization = Feature("Optional code optimizations",
-                               standard = True,
-                               ext_modules = [Extension(
-                                             "zope.interface._zope_interface_coptimizations",
-                                             [os.path.normcase(
-                                             os.path.join('src', 'zope',
-                                             'interface',
-                                             '_zope_interface_coptimizations.c')
-                                             )]
-                                             )])
-    extra = dict(
-        namespace_packages=["zope"],
-        include_package_data = True,
-        zip_safe = False,
-        tests_require = [],
-        install_requires = ['setuptools'],
-        extras_require={'docs': ['z3c.recipe.sphinxdoc']},
-        features = {'codeoptimization': codeoptimization}
-        )
-
-def read(*rnames):
-    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-long_description=(
-        read('README.txt')
-        + '\n' +
-        'Detailed Documentation\n'
-        '**********************\n'
-        + '\n.. contents::\n\n' +
-        read('src', 'zope', 'interface', 'README.txt')
-        + '\n' +
-        read('src', 'zope', 'interface', 'adapter.txt')
-        + '\n' +
-        read('src', 'zope', 'interface', 'human.txt')
-        + '\n' +
-        read('CHANGES.txt')
-        + '\n' +
-        'Download\n'
-        '********\n'
-        )
-
-try: # Zope 3 setuptools versions
-    from build_ext_3 import optional_build_ext
-    # This is Python 3. Setuptools is now required, and so is zope.fixers.
-    extra['install_requires'] = ['setuptools']
-    extra['setup_requires'] = ['zope.fixers']
-    extra['use_2to3'] = True
-    extra['convert_2to3_doctests'] = [
-        'src/zope/interface/README.ru.txt',
-        'src/zope/interface/README.txt',
-        'src/zope/interface/adapter.ru.txt',
-        'src/zope/interface/adapter.txt',
-        'src/zope/interface/human.ru.txt',
-        'src/zope/interface/human.txt',
-        'src/zope/interface/index.txt',
-        'src/zope/interface/verify.txt',
-        ]
-    extra['use_2to3_fixers'] = ['zope.fixers']
-
-except (ImportError, SyntaxError):
-    from build_ext_2 import optional_build_ext
-    
-setup(name='zope.interface',
-      version = '3.6.0dev',
-      url='http://pypi.python.org/pypi/zope.interface',
-      license='ZPL 2.1',
-      description='Interfaces for Python',
-      author='Zope Foundation and Contributors',
-      author_email='zope-dev at zope.org',
-      long_description=long_description,
-      classifiers=[
-        "Development Status :: 5 - Production/Stable",
-        "Intended Audience :: Developers",
-        "License :: OSI Approved :: Zope Public License",
-        "Operating System :: OS Independent",
-        "Programming Language :: Python :: 2.4",
-        "Programming Language :: Python :: 2.5",
-        "Programming Language :: Python :: 2.6",
-        "Programming Language :: Python :: 3.1",
-        "Topic :: Software Development :: Libraries :: Python Modules",
-      ],
-
-      packages = ['zope', 'zope.interface', 'zope.interface.tests'],
-      package_dir = {'': 'src'},
-      cmdclass = {'build_ext': optional_build_ext,
-                  },
-      test_suite = 'zope.interface.tests',
-      **extra)



More information about the checkins mailing list