[Checkins] SVN: z3c.recipe.compattest/trunk/ Moved to GitHub.
Stephen Richter
cvs-admin at zope.org
Sat Mar 2 02:11:50 UTC 2013
Log message for revision 129995:
Moved to GitHub.
Changed:
D z3c.recipe.compattest/trunk/CHANGES.txt
D z3c.recipe.compattest/trunk/COPYRIGHT.txt
D z3c.recipe.compattest/trunk/LICENSE.txt
A z3c.recipe.compattest/trunk/MOVED_TO_GITHUB
D z3c.recipe.compattest/trunk/bootstrap.py
D z3c.recipe.compattest/trunk/buildout.cfg
D z3c.recipe.compattest/trunk/setup.py
D z3c.recipe.compattest/trunk/src/
-=-
Deleted: z3c.recipe.compattest/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.compattest/trunk/CHANGES.txt 2013-03-02 02:11:37 UTC (rev 129994)
+++ z3c.recipe.compattest/trunk/CHANGES.txt 2013-03-02 02:11:50 UTC (rev 129995)
@@ -1,129 +0,0 @@
-=======
-CHANGES
-=======
-
-1.0 (unreleased)
-================
-
-- Depend on buildout 2 and zc.recipe.testrunner 2.
-
-
-0.13.1 (2010-12-17)
-===================
-
-- Fix tests on windows.
-
-- Fix for use with a python executable from inside a virtualenv.
-
-
-0.13 (2010-10-07)
-=================
-
-- Depend on and use the new features of the zc.buildout 1.5 line. At the same
- time support for zc.buildout <= 1.5.1 has been dropped.
-
-- Updated test set up, to run with newer ``zope.testing`` version which no
- longer includes testrunner.
-
-- The z3c.recipe.scripts.scripts recipe behind zc.recipe.testrunner.TestRunner
- does not accept plain dicts anymore, so we wrap the options in a
- _BackwardsSupportOptions object. Ideally this should've use an official
- API though.
-
-0.12.2 (2010-02-24)
-===================
-
-- Moved the gathering of include-dependencies from the __init__ to the update
- method to prevent installing dependencies before other buildout parts could
- do their job.
-
-0.12.1 (2009-12-15)
-===================
-
-- Fixed bug in using exclude introduced in 0.12 (including test to make sure
- it doesn't happen again).
-
-
-0.12 (2009-12-14)
-=================
-
-- Added ``include-dependencies`` option that automatically includes the
- dependencies of the specified packages. Very handy to get an automatically
- updated list of those packages that are most useful to test: all our
- dependencies.
-
-
-0.11 (2009-09-30)
-=================
-
-- Removed the "check out packages from subversion" feature.
- If you require such functionality, mr.developer
- <http://pypi.python.org/pypi/mr.developer> provides this much more
- comprehensively (and for multiple version control systems, too) .
-
-0.10 (2009-09-28)
-=================
-
-- Options prefixed by ``runner-`` are automatically passed to generated test
- runners.
-
-0.9 (2009-09-14)
-================
-
-- Test runner: return the exit code 1 in case of test failures; this simplifies
- buildbot configurations.
-
-0.8 (2009-08-17)
-================
-
-- Windoes is now supported.
-
-- Changed the default master script name to the part name. (Don't add
- a "test-" prefix any more.)
-
-0.7 (2009-08-13)
-================
-
-- Simplified building the list of packages even more: we now just take a list of
- packages, period.
-
-0.6 (2009-08-07)
-================
-
-- Restructured the way we construct our list of packages to test:
- We no longer filter a list we retrieved from SVN with includes/excludes,
- but use an explicit list that can be populated from a buildout section,
- e. g. [versions]. Thus, we can now easily test against a KGS.
-- Always enable all extras of packages under test.
-
-0.5 (2009-01-29)
-================
-
-- Fix duplicate `url` parameter in setup.py that confused Python 2.4 but
- got accepted by Python 2.5.
-
-0.4 (2009-01-29)
-================
-
-- Ignore missing package releases for packages listed in Subversion (as
- long as we don't try to run from Subversion).
-
-- Allow parallel execution of the individual test runners by stating
- 'max_jobs=X' in the recipe's options.
-
-0.3 (2009-01-28)
-================
-
-- Adding the exclude parameter in buildout causes the default exclude
- list to be merged with the option in buildout.cfg.
-
-0.2 (2009-01-28)
-================
-
-- Implemented use_svn option to use SVN trunk checkouts instead of released
- versions.
-
-0.1 (2009-01-28)
-================
-
-- first released version
Deleted: z3c.recipe.compattest/trunk/COPYRIGHT.txt
===================================================================
--- z3c.recipe.compattest/trunk/COPYRIGHT.txt 2013-03-02 02:11:37 UTC (rev 129994)
+++ z3c.recipe.compattest/trunk/COPYRIGHT.txt 2013-03-02 02:11:50 UTC (rev 129995)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: z3c.recipe.compattest/trunk/LICENSE.txt
===================================================================
--- z3c.recipe.compattest/trunk/LICENSE.txt 2013-03-02 02:11:37 UTC (rev 129994)
+++ z3c.recipe.compattest/trunk/LICENSE.txt 2013-03-02 02:11:50 UTC (rev 129995)
@@ -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: z3c.recipe.compattest/trunk/MOVED_TO_GITHUB
===================================================================
--- z3c.recipe.compattest/trunk/MOVED_TO_GITHUB (rev 0)
+++ z3c.recipe.compattest/trunk/MOVED_TO_GITHUB 2013-03-02 02:11:50 UTC (rev 129995)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/z3c.recipe.compattest
\ No newline at end of file
Deleted: z3c.recipe.compattest/trunk/bootstrap.py
===================================================================
--- z3c.recipe.compattest/trunk/bootstrap.py 2013-03-02 02:11:37 UTC (rev 129994)
+++ z3c.recipe.compattest/trunk/bootstrap.py 2013-03-02 02:11:50 UTC (rev 129995)
@@ -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: z3c.recipe.compattest/trunk/buildout.cfg
===================================================================
--- z3c.recipe.compattest/trunk/buildout.cfg 2013-03-02 02:11:37 UTC (rev 129994)
+++ z3c.recipe.compattest/trunk/buildout.cfg 2013-03-02 02:11:50 UTC (rev 129995)
@@ -1,24 +0,0 @@
-[buildout]
-develop = .
-parts = test compattest compattest-trunk
-versions = versions
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = z3c.recipe.compattest[test]
-
-# for debugging
-[compattest]
-recipe = z3c.recipe.compattest
-include = z3c.recipe.compattest
-
-[compattest-trunk]
-recipe = z3c.recipe.compattest
-include = ${example-kgs:packages}
-svn_url = svn://svn.zope.org/repos/main/
-
-[example-kgs]
-packages = zope.dottedname z3c.recipe.compattest
-
-[versions]
-zc.buildout = 2.0.1
Deleted: z3c.recipe.compattest/trunk/setup.py
===================================================================
--- z3c.recipe.compattest/trunk/setup.py 2013-03-02 02:11:37 UTC (rev 129994)
+++ z3c.recipe.compattest/trunk/setup.py 2013-03-02 02:11:50 UTC (rev 129995)
@@ -1,55 +0,0 @@
-version = '1.0dev'
-
-import os
-from setuptools import setup, find_packages
-
-
-setup(
- name='z3c.recipe.compattest',
- version=version,
- author='Grok Contributors',
- author_email='grok-dev at zope.org',
- description='Buildout recipe to create testrunners for testing '
- 'compatibility with other packages',
- url='http://pypi.python.org/pypi/z3c.recipe.compattest',
- long_description=(
- '.. contents::'
- + '\n\n'
- + open('CHANGES.txt').read()
- + '\n\n'
- '======================\n'
- 'Detailed Documentation\n'
- '======================'
- + '\n\n' +
- open(os.path.join(
- 'src', 'z3c', 'recipe', 'compattest', 'README.txt')).read()),
- keywords = "zope setuptools egg kgs",
- classifiers = [
- 'Intended Audience :: Developers',
- 'License :: OSI Approved :: Zope Public License',
- 'Programming Language :: Python',
- 'Operating System :: OS Independent',
- 'Framework :: Zope3'],
- license='ZPL 2.1',
- packages=find_packages('src'),
- package_dir = {'': 'src'},
- namespace_packages=['z3c', 'z3c.recipe'],
- install_requires=[
- 'setuptools',
- 'zc.buildout >= 2.0.0',
- 'zc.recipe.testrunner >= 2.0.0',
- ],
- # zope.dottedname is just used as a dummy package to demonstrate things
- # with, it's not actually imported
- extras_require=dict(test=[
- 'zope.dottedname',
- 'zope.testing',
- 'manuel',
- 'six',
- ]),
- entry_points = {
- 'zc.buildout': ['default = z3c.recipe.compattest.recipe:Recipe'],
- },
- include_package_data = True,
- zip_safe = False,
-)
More information about the checkins
mailing list