[Checkins] SVN: RestrictedPython/trunk/ Moved to GitHub.
Stephen Richter
cvs-admin at zope.org
Thu Feb 28 15:03:29 UTC 2013
Log message for revision 129928:
Moved to GitHub.
Changed:
D RestrictedPython/trunk/CHANGES.txt
D RestrictedPython/trunk/COPYRIGHT.txt
D RestrictedPython/trunk/LICENSE.txt
A RestrictedPython/trunk/MOVED_TO_GITHUB
D RestrictedPython/trunk/README.txt
D RestrictedPython/trunk/bootstrap.py
D RestrictedPython/trunk/buildout.cfg
D RestrictedPython/trunk/setup.py
D RestrictedPython/trunk/src/
-=-
Deleted: RestrictedPython/trunk/CHANGES.txt
===================================================================
--- RestrictedPython/trunk/CHANGES.txt 2013-02-28 14:09:27 UTC (rev 129927)
+++ RestrictedPython/trunk/CHANGES.txt 2013-02-28 15:03:29 UTC (rev 129928)
@@ -1,97 +0,0 @@
-Changes
-=======
-
-3.6.1 (unreleased)
-------------------
-
-
-3.6.0 (2010-07-09)
-------------------
-
-- Added name check for names assigned during imports using the
- "from x import y" format.
-
-- Added test for name check when assigning an alias using multiple-context with
- statements in Python 2.7.
-
-- Added tests for protection of the iterators for dict and set comprehensions
- in Python 2.7.
-
-3.6.0a1 (2010-06-05)
---------------------
-
-- Removed support for DocumentTemplate.sequence - this is handled in the
- DocumentTemplate package itself.
-
-3.5.2 (2010-04-30)
-------------------
-
-- Removed a testing dependency on zope.testing.
-
-3.5.1 (2009-03-17)
-------------------
-
-- Added tests for ``Utilities`` module.
-
-- Filtered DeprecationWarnings when importing Python's ``sets`` module.
-
-3.5.0 (2009-02-09)
-------------------
-
-- Dropped legacy support for Python 2.1 / 2.2 (``__future__`` imports
- of ``nested_scopes`` / ``generators``.).
-
-3.4.3 (2008-10-26)
-------------------
-
-- Fixed deprecation warning: ``with`` is now a reserved keyword on
- Python 2.6. That means RestrictedPython should run on Python 2.6
- now. Thanks to Ranjith Kannikara, GSoC Student for the patch.
-
-- Added tests for ternary if expression and for 'with' keyword and
- context managers.
-
-3.4.2 (2007-07-28)
-------------------
-
-- Changed homepage URL to the CheeseShop site
-
-- Greatly improved README.txt
-
-3.4.1 (2007-06-23)
-------------------
-
-- Fixed http://www.zope.org/Collectors/Zope/2295: Bare conditional in
- a Zope 2 PythonScript followed by a comment causes SyntaxError.
-
-3.4.0 (2007-06-04)
-------------------
-
-- RestrictedPython now has its own release cycle as a separate egg.
-
-- Synchronized with RestrictedPython from Zope 2 tree.
-
-3.2.0 (2006-01-05)
-------------------
-
-- Corresponds to the verison of the RestrictedPython package shipped
- as part of the Zope 3.2.0 release.
-
-- No changes from 3.1.0.
-
-3.1.0 (2005-10-03)
-------------------
-
-- Corresponds to the verison of the RestrictedPython package shipped
- as part of the Zope 3.1.0 release.
-
-- Removed unused fossil module, ``SafeMapping``.
-
-- Replaced use of deprecated 'whrandom' module with 'random' (aliased
- to 'whrandom' for backward compatibility).
-
-3.0.0 (2004-11-07)
-------------------
-
-- Corresponds to the verison of the RestrictedPython package shipped
- as part of the Zope X3.0.0 release.
Deleted: RestrictedPython/trunk/COPYRIGHT.txt
===================================================================
--- RestrictedPython/trunk/COPYRIGHT.txt 2013-02-28 14:09:27 UTC (rev 129927)
+++ RestrictedPython/trunk/COPYRIGHT.txt 2013-02-28 15:03:29 UTC (rev 129928)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: RestrictedPython/trunk/LICENSE.txt
===================================================================
--- RestrictedPython/trunk/LICENSE.txt 2013-02-28 14:09:27 UTC (rev 129927)
+++ RestrictedPython/trunk/LICENSE.txt 2013-02-28 15:03:29 UTC (rev 129928)
@@ -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: RestrictedPython/trunk/MOVED_TO_GITHUB
===================================================================
--- RestrictedPython/trunk/MOVED_TO_GITHUB (rev 0)
+++ RestrictedPython/trunk/MOVED_TO_GITHUB 2013-02-28 15:03:29 UTC (rev 129928)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/RestrictedPython
\ No newline at end of file
Deleted: RestrictedPython/trunk/README.txt
===================================================================
--- RestrictedPython/trunk/README.txt 2013-02-28 14:09:27 UTC (rev 129927)
+++ RestrictedPython/trunk/README.txt 2013-02-28 15:03:29 UTC (rev 129928)
@@ -1 +0,0 @@
-Please refer to src/RestrictedPython/README.txt.
Deleted: RestrictedPython/trunk/bootstrap.py
===================================================================
--- RestrictedPython/trunk/bootstrap.py 2013-02-28 14:09:27 UTC (rev 129927)
+++ RestrictedPython/trunk/bootstrap.py 2013-02-28 15:03:29 UTC (rev 129928)
@@ -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: RestrictedPython/trunk/buildout.cfg
===================================================================
--- RestrictedPython/trunk/buildout.cfg 2013-02-28 14:09:27 UTC (rev 129927)
+++ RestrictedPython/trunk/buildout.cfg 2013-02-28 15:03:29 UTC (rev 129928)
@@ -1,12 +0,0 @@
-[buildout]
-develop = .
-parts = interpreter test
-
-[interpreter]
-recipe = zc.recipe.egg
-interpreter = python
-eggs = RestrictedPython
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = RestrictedPython
Deleted: RestrictedPython/trunk/setup.py
===================================================================
--- RestrictedPython/trunk/setup.py 2013-02-28 14:09:27 UTC (rev 129927)
+++ RestrictedPython/trunk/setup.py 2013-02-28 15:03:29 UTC (rev 129928)
@@ -1,39 +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.
-#
-##############################################################################
-"""Setup for RestrictedPython package
-"""
-import os
-from setuptools import setup, find_packages
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-setup(name='RestrictedPython',
- version='3.6.1dev',
- url='http://pypi.python.org/pypi/RestrictedPython',
- license='ZPL 2.1',
- description='RestrictedPython provides a restricted execution '
- 'environment for Python, e.g. for running untrusted code.',
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- long_description=(read('src', 'RestrictedPython', 'README.txt')
- + '\n' +
- read('CHANGES.txt')),
-
- packages = find_packages('src'),
- package_dir = {'': 'src'},
- install_requires = ['setuptools'],
- include_package_data = True,
- zip_safe = False,
- )
More information about the checkins
mailing list