[Checkins] SVN: zope.site/trunk/ Moved to github
Stephen Richter
cvs-admin at zope.org
Wed Feb 20 21:54:19 UTC 2013
Log message for revision 129548:
Moved to github
Changed:
D zope.site/trunk/CHANGES.txt
D zope.site/trunk/COPYRIGHT.txt
D zope.site/trunk/LICENSE.txt
D zope.site/trunk/MANIFEST.in
A zope.site/trunk/MOVED_TO_GITHUB
D zope.site/trunk/README.txt
D zope.site/trunk/ZODB-4.0.0dev.tar.gz
D zope.site/trunk/bootstrap.py
D zope.site/trunk/buildout.cfg
D zope.site/trunk/setup.py
D zope.site/trunk/src/
D zope.site/trunk/tox.ini
D zope.site/trunk/zope.publisher-4.0.0dev.tar.gz
-=-
Deleted: zope.site/trunk/CHANGES.txt
===================================================================
--- zope.site/trunk/CHANGES.txt 2013-02-20 21:53:59 UTC (rev 129547)
+++ zope.site/trunk/CHANGES.txt 2013-02-20 21:54:18 UTC (rev 129548)
@@ -1,130 +0,0 @@
-=======
-CHANGES
-=======
-
-4.0.0a2 (unreleased)
---------------------
-
-- Nothing changed yet.
-
-
-4.0.0a1 (2013-02-20)
---------------------
-
-- Added support for Python 3.3.
-
-- Replaced deprecated ``zope.interface.implements`` usage with equivalent
- ``zope.interface.implementer`` decorator.
-
-- Dropped support for Python 2.4 and 2.5.
-
-- Include zcml dependencies in configure.zcml, added tests for zcml.
-
-
-3.9.2 (2010-09-25)
-------------------
-
-- Added not declared, but needed test dependency on `zope.testing`.
-
-3.9.1 (2010-04-30)
-------------------
-
-- Removed use of 'zope.testing.doctest' in favor of stdlib's 'doctest.
-
-- Removed use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
-
-3.9.0 (2009-12-29)
-------------------
-
-- Avoid a test dependency on zope.copypastemove by testing the correct
- persistent behavior of a site manager using the normal pickle module.
-
-3.8.0 (2009-12-15)
-------------------
-
-- Removed functional testing setup and dependency on zope.app.testing.
-
-3.7.1 (2009-11-18)
-------------------
-
-- Moved the zope.site.hooks functionality to zope.component.hooks as it isn't
- actually dealing with zope.site's concept of a site.
-
-- Import ISite and IPossibleSite from zope.component after they were moved
- there from zope.location.
-
-3.7.0 (2009-09-29)
-------------------
-
-- Cleaned up the undeclared dependency on zope.app.publication by moving the
- two relevant subscriber registrations and their tests to that package.
-
-- Dropped the dependency on zope.traversing which was only used to access
- zope.location functionality. Configure zope.location for some tests.
-
-- Demoted zope.configuration to a testing dependency.
-
-3.6.4 (2009-09-01)
-------------------
-
-- Set __parent__ and __name__ in the LocalSiteManager's constructor
- after calling constructor of its superclasses, so __name__ doesn't
- get overwritten with empty string by the Components constructor.
-
-- Don't set __parent__ and __name__ attributes of site manager in
- SiteManagerContainer's ``setSiteManager`` method, as they're
- already set for LocalSiteManager. Other site manager implementations
- are not required to have those attributes at all, so we're not
- adding them anymore.
-
-3.6.3 (2009-07-27)
-------------------
-
-- Propagate an ObjectRemovedEvent to the SiteManager upon removal of a
- SiteManagerContainer.
-
-3.6.2 (2009-07-24)
-------------------
-
-- Fixed tests to pass with latest packages.
-
-- Removed failing test of persistent interfaces, since it did not test
- anything in this package and used the deprecated ``zodbcode`` module.
-
-- Fix NameError when calling ``zope.site.testing.siteSetUp(site=True)``.
-
-- The ``getNextUtility`` and ``queryNextUtility`` functions was moved to
- ``zope.component``. While backward-compatibility imports are provided, it's
- strongly recommended to update your imports.
-
-3.6.1 (2009-02-28)
-------------------
-
-- Import symbols moved from zope.traversing to zope.location from the new
- location.
-
-- Don't fail when changing component registry bases while moving ISite
- object to non-ISite object.
-
-- Allow specify whether to create 'default' SiteManagementFolder on
- initializing LocalSiteManager. Use the ``default_folder`` argument.
-
-- Add a containment constraint to the SiteManagementFolder that makes
- it only available to be contained in ILocalSiteManagers and other
- ISiteManagementFolders.
-
-- Change package's mailing list address to zope-dev at zope.org, as
- zope3-dev at zope.org is now retired.
-
-- Remove old unused code. Update package description.
-
-3.6.0 (2009-01-31)
-------------------
-
-- Use zope.container instead of zope.app.container.
-
-3.5.1 (2009-01-27)
-------------------
-
-- Extracted from zope.app.component (trunk, 3.5.1 under development)
- as part of an effort to clean up dependencies between Zope packages.
Deleted: zope.site/trunk/COPYRIGHT.txt
===================================================================
--- zope.site/trunk/COPYRIGHT.txt 2013-02-20 21:53:59 UTC (rev 129547)
+++ zope.site/trunk/COPYRIGHT.txt 2013-02-20 21:54:18 UTC (rev 129548)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.site/trunk/LICENSE.txt
===================================================================
--- zope.site/trunk/LICENSE.txt 2013-02-20 21:53:59 UTC (rev 129547)
+++ zope.site/trunk/LICENSE.txt 2013-02-20 21:54:18 UTC (rev 129548)
@@ -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.site/trunk/MANIFEST.in
===================================================================
--- zope.site/trunk/MANIFEST.in 2013-02-20 21:53:59 UTC (rev 129547)
+++ zope.site/trunk/MANIFEST.in 2013-02-20 21:54:18 UTC (rev 129548)
@@ -1,9 +0,0 @@
-include *.rst
-include *.txt
-include *.py
-include buildout.cfg
-include tox.ini
-
-recursive-include src *
-
-global-exclude *.pyc
Added: zope.site/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.site/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.site/trunk/MOVED_TO_GITHUB 2013-02-20 21:54:18 UTC (rev 129548)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.site
Deleted: zope.site/trunk/README.txt
===================================================================
--- zope.site/trunk/README.txt 2013-02-20 21:53:59 UTC (rev 129547)
+++ zope.site/trunk/README.txt 2013-02-20 21:54:18 UTC (rev 129548)
@@ -1,9 +0,0 @@
-=====================================
-Zope 3's Local Component Architecture
-=====================================
-
-This package provides a local and persistent site manager
-implementation, so that one can register local utilities and
-adapters. It uses local adapter registries for its adapter and utility
-registry. The module also provides some facilities to organize the
-local software and ensures the correct behavior inside the ZODB.
Deleted: zope.site/trunk/ZODB-4.0.0dev.tar.gz
===================================================================
(Binary files differ)
Deleted: zope.site/trunk/bootstrap.py
===================================================================
--- zope.site/trunk/bootstrap.py 2013-02-20 21:53:59 UTC (rev 129547)
+++ zope.site/trunk/bootstrap.py 2013-02-20 21:54:18 UTC (rev 129548)
@@ -1,165 +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
-from optparse import OptionParser
-
-tmpeggs = tempfile.mkdtemp()
-
-usage = '''\
-[DESIRED PYTHON FOR BUILDOUT] bootstrap.py [options]
-
-Bootstraps a buildout-based project.
-
-Simply run this script in a directory containing a buildout.cfg, using the
-Python that you want bin/buildout to use.
-
-Note that by using --setup-source and --download-base to point to
-local resources, you can keep this script from going over the network.
-'''
-
-parser = OptionParser(usage=usage)
-parser.add_option("-v", "--version", help="use a specific zc.buildout version")
-
-parser.add_option("-t", "--accept-buildout-test-releases",
- dest='accept_buildout_test_releases',
- action="store_true", default=False,
- help=("Normally, if you do not specify a --version, the "
- "bootstrap script and buildout gets the newest "
- "*final* versions of zc.buildout and its recipes and "
- "extensions for you. If you use this flag, "
- "bootstrap and buildout will get the newest releases "
- "even if they are alphas or betas."))
-parser.add_option("-c", "--config-file",
- help=("Specify the path to the buildout configuration "
- "file to be used."))
-parser.add_option("-f", "--find-links",
- help=("Specify a URL to search for buildout releases"))
-
-
-options, args = parser.parse_args()
-
-######################################################################
-# load/install distribute
-
-to_reload = False
-try:
- import pkg_resources, setuptools
- if not hasattr(pkg_resources, '_distribute'):
- to_reload = True
- raise ImportError
-except ImportError:
- ez = {}
-
- try:
- from urllib.request import urlopen
- except ImportError:
- from urllib2 import urlopen
-
- exec(urlopen('http://python-distribute.org/distribute_setup.py').read(), ez)
- setup_args = dict(to_dir=tmpeggs, download_delay=0, no_fake=True)
- ez['use_setuptools'](**setup_args)
-
- if to_reload:
- reload(pkg_resources)
- import pkg_resources
- # This does not (always?) update the default working set. We will
- # do it.
- for path in sys.path:
- if path not in pkg_resources.working_set.entries:
- pkg_resources.working_set.add_entry(path)
-
-######################################################################
-# Install buildout
-
-ws = pkg_resources.working_set
-
-cmd = [sys.executable, '-c',
- 'from setuptools.command.easy_install import main; main()',
- '-mZqNxd', tmpeggs]
-
-find_links = os.environ.get(
- 'bootstrap-testing-find-links',
- options.find_links or
- ('http://downloads.buildout.org/'
- if options.accept_buildout_test_releases else None)
- )
-if find_links:
- cmd.extend(['-f', find_links])
-
-distribute_path = ws.find(
- pkg_resources.Requirement.parse('distribute')).location
-
-requirement = 'zc.buildout'
-version = options.version
-if version is None and not options.accept_buildout_test_releases:
- # Figure out the most recent final version of zc.buildout.
- import setuptools.package_index
- _final_parts = '*final-', '*final'
- def _final_version(parsed_version):
- for part in parsed_version:
- if (part[:1] == '*') and (part not in _final_parts):
- return False
- return True
- index = setuptools.package_index.PackageIndex(
- search_path=[distribute_path])
- if find_links:
- index.add_find_links((find_links,))
- req = pkg_resources.Requirement.parse(requirement)
- if index.obtain(req) is not None:
- best = []
- bestv = None
- for dist in index[req.project_name]:
- distv = dist.parsed_version
- if _final_version(distv):
- if bestv is None or distv > bestv:
- best = [dist]
- bestv = distv
- elif distv == bestv:
- best.append(dist)
- if best:
- best.sort()
- version = best[-1].version
-if version:
- requirement = '=='.join((requirement, version))
-cmd.append(requirement)
-
-import subprocess
-if subprocess.call(cmd, env=dict(os.environ, PYTHONPATH=distribute_path)) != 0:
- raise Exception(
- "Failed to execute command:\n%s",
- repr(cmd)[1:-1])
-
-######################################################################
-# Import and run buildout
-
-ws.add_entry(tmpeggs)
-ws.require(requirement)
-import zc.buildout.buildout
-
-if not [a for a in args if '=' not in a]:
- args.append('bootstrap')
-
-# if -c was provided, we push it back into args for buildout' main function
-if options.config_file is not None:
- args[0:0] = ['-c', options.config_file]
-
-zc.buildout.buildout.main(args)
-shutil.rmtree(tmpeggs)
Deleted: zope.site/trunk/buildout.cfg
===================================================================
--- zope.site/trunk/buildout.cfg 2013-02-20 21:53:59 UTC (rev 129547)
+++ zope.site/trunk/buildout.cfg 2013-02-20 21:54:18 UTC (rev 129548)
@@ -1,26 +0,0 @@
-[buildout]
-develop = .
-find-links =
- ${buildout:directory}/zope.publisher-4.0.0dev.tar.gz
- ${buildout:directory}/ZODB-4.0.0dev.tar.gz
-parts = test coverage-test coverage-report
-versions = versions
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.site [test]
-
-[coverage-test]
-recipe = zc.recipe.testrunner
-eggs = zope.site [test]
-defaults = ['--coverage', '../../coverage']
-
-[coverage-report]
-recipe = zc.recipe.egg
-eggs = z3c.coverage
-scripts = coverage=coverage-report
-arguments = ('coverage', 'coverage/report')
-
-[versions]
-ZODB = 4.0.0dev
-zope.publisher = 4.0.0dev
Deleted: zope.site/trunk/setup.py
===================================================================
--- zope.site/trunk/setup.py 2013-02-20 21:53:59 UTC (rev 129547)
+++ zope.site/trunk/setup.py 2013-02-20 21:54:18 UTC (rev 129548)
@@ -1,109 +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.site package
-"""
-import os
-from setuptools import setup, find_packages
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-def alltests():
- import os
- import sys
- import unittest
- # use the zope.testrunner machinery to find all the
- # test suites we've put under ourselves
- import zope.testrunner.find
- import zope.testrunner.options
- here = os.path.abspath(os.path.join(os.path.dirname(__file__), 'src'))
- args = sys.argv[:]
- defaults = ["--test-path", here]
- options = zope.testrunner.options.get_options(args, defaults)
- suites = list(zope.testrunner.find.find_suites(options))
- return unittest.TestSuite(suites)
-
-setup(name='zope.site',
- version='4.0.0a2.dev0',
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- description='Local registries for zope component architecture',
- long_description=(
- read('README.txt')
- + '\n\n'
- + '.. contents::\n\n' +
- read('src', 'zope', 'site', 'site.txt')
- + '\n\n' +
- read('CHANGES.txt')
- ),
- keywords = "zope component architecture local",
- 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',
- 'Programming Language :: Python :: Implementation :: CPython',
- 'Natural Language :: English',
- 'Operating System :: OS Independent',
- 'Topic :: Internet :: WWW/HTTP',
- 'Framework :: Zope3'],
- url='http://pypi.python.org/pypi/zope.site',
- license='ZPL 2.1',
- packages=find_packages('src'),
- package_dir = {'': 'src'},
- namespace_packages=['zope'],
- extras_require=dict(
- test=[
- 'zope.component[zcml]',
- 'zope.configuration',
- 'zope.security[zcml]',
- 'zope.testing',
- 'ZODB',
- ]),
- install_requires=[
- 'setuptools',
- 'zope.annotation',
- 'zope.container>=4.0.0a1',
- 'zope.security>=4.0.0a3',
- 'zope.component>=3.8.0',
- 'zope.event',
- 'zope.interface',
- 'zope.lifecycleevent',
- 'zope.location>=3.7.0',
- ],
- tests_require = [
- 'zope.testing',
- 'zope.testrunner',
- 'zope.component[zcml]',
- 'zope.configuration',
- 'zope.security[zcml]',
- 'zope.testing',
- 'ZODB',
- ],
- test_suite = '__main__.alltests',
- include_package_data = True,
- zip_safe = False,
- )
-
Deleted: zope.site/trunk/tox.ini
===================================================================
--- zope.site/trunk/tox.ini 2013-02-20 21:53:59 UTC (rev 129547)
+++ zope.site/trunk/tox.ini 2013-02-20 21:54:18 UTC (rev 129548)
@@ -1,24 +0,0 @@
-[tox]
-envlist =
- py26,py27,py33
-
-[testenv]
-commands =
- python setup.py test -q
-# without explicit deps, setup.py test will download a bunch of eggs into $PWD
-# (and it seems I can't use zope.dottedname[testing] here, so forget DRY)
-deps =
- {toxinidir}/zope.publisher-4.0.0dev.tar.gz
- {toxinidir}/ZODB-4.0.0dev.tar.gz
- zope.annotation
- zope.component[zcml]
- zope.configuration
- zope.container
- zope.event
- zope.interface
- zope.lifecycleevent
- zope.location
- zope.security[zcml]>=4.0.0a3
- zope.testing
- zope.testrunner
-
Deleted: zope.site/trunk/zope.publisher-4.0.0dev.tar.gz
===================================================================
(Binary files differ)
More information about the checkins
mailing list