[Checkins] SVN: zope.i18n/trunk/ Moved to github
Stephen Richter
cvs-admin at zope.org
Tue Feb 19 18:22:28 UTC 2013
Log message for revision 129486:
Moved to github
Changed:
D zope.i18n/trunk/CHANGES.txt
D zope.i18n/trunk/COPYRIGHT.txt
D zope.i18n/trunk/LICENSE.txt
D zope.i18n/trunk/MANIFEST.in
A zope.i18n/trunk/MOVED_TO_GITHUB
D zope.i18n/trunk/README.txt
D zope.i18n/trunk/bootstrap.py
D zope.i18n/trunk/buildout.cfg
D zope.i18n/trunk/docs/
D zope.i18n/trunk/setup.py
D zope.i18n/trunk/src/
D zope.i18n/trunk/tox.ini
-=-
Deleted: zope.i18n/trunk/CHANGES.txt
===================================================================
--- zope.i18n/trunk/CHANGES.txt 2013-02-19 18:22:22 UTC (rev 129485)
+++ zope.i18n/trunk/CHANGES.txt 2013-02-19 18:22:27 UTC (rev 129486)
@@ -1,203 +0,0 @@
-=======
-CHANGES
-=======
-
-4.0.0a5 (unreleased)
---------------------
-
-- Nothing changed yet.
-
-
-4.0.0a4 (2013-02-18)
---------------------
-
-- Restore zope.i18n.testing.{setUp,PlacelessSetup} that got lost in 4.0.0a3.
- These require zope.publisher, which is not ported to Python 3 yet, so I
- haven't added it back to install_requires in setup.py. User beware.
-
-
-4.0.0a3 (2013-02-15)
---------------------
-
-- Added support for Python 3.3.
-
-- Log DEBUG when loading translations from directories.
-
-- Replaced deprecated ``zope.interface.implements`` usage with equivalent
- ``zope.interface.implementer`` decorator.
-
-- Dropped support for Python 2.4 and 2.5.
-
-
-3.8.0 (2012-03-15)
-------------------
-
-- Added optional ``domain`` attribute to ``registerTranslations`` directive to
- only load the specified translation domain. Allows to move catalogs to
- `/usr/share/locale` and avoid loading hundreds of unrelated domains.
-
-- Include meta.zcml files in our own zcml configuration as needed, added a
- test for our configure.zcml.
-
-- Update zope.i18n.NAME_RE to be identical to zope.tal as required by the
- comment next to it. Fixes #611746.
-
-
-3.7.4 (2010-07-08)
-------------------
-
-- Added missing test dependency on ``zope.testing``.
-
-
-3.7.3 (2010-04-30)
-------------------
-
-- Removed use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
-
-3.7.2 (2009-12-14)
-------------------
-
-- It's a critical error when the ``GetText`` library is unavailable
- and compilation is required.
-
-- Use getSiteManager rather than getGlobalSiteManager in ZCML (these
- should be one in the same in any non-fancy setup, however if you've
- hooked getSiteManager, you want the ZCML handler to use the hooked
- version).
-
-3.7.1 (2009-08-07)
-------------------
-
-- Fixed the interpackage translation domain merging feature to actually work.
- We need to defer the merging into the ZCML handler execution phase, as the
- utilities don't exist yet during the ZCML parsing phase. Thx to Andreas
- Zeidler for finding and fixing the issue in PlacelessTranslationService in
- the first place.
-
-- Fix translation domains translating a message for a different domain. In the
- process, fix testMessageIDTranslateForDifferentDomain which seemed to work by
- mistake as the "other" and "default" domains used the same catalog. This is
- basically a reversion of 39991.
-
-
-3.7.0 (2009-03-18)
-------------------
-
-- Updated locale data to CLDR 1.1. This introduces contextual month
- and day names and different month/day name widths. More CLDR updates
- are expected, see the "nadako-cldr" branch of zope.i18n.
-
-- Add `configure.zcml` that registers standard negotiator utility and includes
- ``zope.i18n.locales`` configuration. This was previously done by
- ``zope.app.i18n``.
-
-
-3.6.0 (2008-10-26)
-------------------
-
-- Fixed a test failure in the compile mo file support.
-
-- Move the zcml support into an extra. This reduces the dependencies of a
- standard zope.i18n install by half a dozen packages.
-
-
-3.5.0 (2008-07-10)
-------------------
-
-- Feature: Added new top-level negotiate function, which can be used to
- negotiate the language when the available languages are set globally via
- `zope_i18n_allowed_languages`.
-
-- Feature: Added support for restricting the available languages. We support
- an environment variable called `zope_i18n_allowed_languages` now, which is
- a list of comma or space separated language codes. If the environment
- variable is set, the ZCML registration will only process those folders
- which are in the allowed languages list.
-
-- Feature: Added optional automatic compilation of mo files from po files.
- You need to depend on the `zope.i18n [compile]` extra and set an environment
- variable called `zope_i18n_compile_mo_files` to any True value to enable
- this option.
-
-- Feature: Re-use existing translation domains when registering new ones.
- This allows multiple packages to register translations in the same domain.
- If the same message exists in multiple catalogs the one registered first
- will take precedence.
-
-- Feature: Recursive translations of message strings with mappings
- (https://bugs.launchpad.net/zope3/+bug/210177), thanks to Hermann
- Himmelbauer for the inital patch.
-
-- Bug: When parsing a date, the parsing pattern did not ensure that the line
- started and ended with the matching pattern, so that '1/1/2007' parsed into
- '1/1/20' for example.
-
-3.4.0 (2007-10-02)
-------------------
-
-- Updated meta-data. No code changes.
-
-
-3.4.0b5 (2007-08-15)
---------------------
-
-- Bug: Fixed dependency on ``zope.component`` to require it with the 'zcml'
- extra instead of requiring ``zope.security`` directly.
-
-
-3.4.0b4 (2007-07-19)
---------------------
-
-- Bug: Number parsing was too forgiving, allowing non-numerical and/or
- formatting characters before, after and within the number. The parsing is
- more strict now.
-
-
-3.4.0b3 (2007-06-28)
---------------------
-
-- Bug: There was a bug in the parser that if no decimal place is given
- you still had to type the decimal symbol. Corrected this problem (one
- character ;-) and provided a test.
-
-
-3.4.0b2 (2007-06-25)
---------------------
-
-- Feature: Added ability to change the output type when parsing a
- number.
-
-
-3.4.0b1 (?)
------------
-
-- Bug: Fixed dependency on ``zope.security`` to require a version that
- does not have the hidden dependency on ``zope.testing``.
-
-
-Note: Releases between 3.2.0 and 3.4.0b1 were not tracked as individual
-packages. The changes can be reconstructed from the Zope 3 changelog.
-
-
-3.2.0 (2006-01-05)
-------------------
-
-- Corresponds to the verison of the zope.i18n package shipped as part of the
- Zope 3.2.0 release.
-
-- Added a picklable offset-based timezone to 'pytz', a la
- zope.app.datetimeutils'. Added tests in 'zope.i18n' to show that we need
- something like it, and then actually use it in 'zope.18n.format'.
-
-- Added support for parsing / formatting timezones using 'pytz' (new external
- dependency).
-
-- Implemented remaining date/time formatters, including adding week
- information to the calendar.
-
-
-3.0.0 (2004-11-07)
-------------------
-
-- Corresponds to the version of the zope.i18n package shipped as part of
- the Zope X3.0.0 release.
Deleted: zope.i18n/trunk/COPYRIGHT.txt
===================================================================
--- zope.i18n/trunk/COPYRIGHT.txt 2013-02-19 18:22:22 UTC (rev 129485)
+++ zope.i18n/trunk/COPYRIGHT.txt 2013-02-19 18:22:27 UTC (rev 129486)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.i18n/trunk/LICENSE.txt
===================================================================
--- zope.i18n/trunk/LICENSE.txt 2013-02-19 18:22:22 UTC (rev 129485)
+++ zope.i18n/trunk/LICENSE.txt 2013-02-19 18:22:27 UTC (rev 129486)
@@ -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.i18n/trunk/MANIFEST.in
===================================================================
--- zope.i18n/trunk/MANIFEST.in 2013-02-19 18:22:22 UTC (rev 129485)
+++ zope.i18n/trunk/MANIFEST.in 2013-02-19 18:22:27 UTC (rev 129486)
@@ -1,2 +0,0 @@
-include *.txt
-recursive-include src *.txt *.py *.dtd *.xml *.html *.po *.mo *.in *.zcml
Added: zope.i18n/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.i18n/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.i18n/trunk/MOVED_TO_GITHUB 2013-02-19 18:22:27 UTC (rev 129486)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.i18n
Deleted: zope.i18n/trunk/README.txt
===================================================================
--- zope.i18n/trunk/README.txt 2013-02-19 18:22:22 UTC (rev 129485)
+++ zope.i18n/trunk/README.txt 2013-02-19 18:22:27 UTC (rev 129486)
@@ -1,14 +0,0 @@
-Zope Internationalization Support
-=================================
-
-This package implements several APIs related to internationalization and
-localization.
-
-* Locale objects for all locales maintained by the ICU project.
-
-* Gettext-based message catalogs for message strings.
-
-* Locale discovery for Web-based requests.
-
-.. See ``docs/index.rst`` for the documentation.
-
Deleted: zope.i18n/trunk/bootstrap.py
===================================================================
--- zope.i18n/trunk/bootstrap.py 2013-02-19 18:22:22 UTC (rev 129485)
+++ zope.i18n/trunk/bootstrap.py 2013-02-19 18:22:27 UTC (rev 129486)
@@ -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.i18n/trunk/buildout.cfg
===================================================================
--- zope.i18n/trunk/buildout.cfg 2013-02-19 18:22:22 UTC (rev 129485)
+++ zope.i18n/trunk/buildout.cfg 2013-02-19 18:22:27 UTC (rev 129486)
@@ -1,14 +0,0 @@
-[buildout]
-develop = .
-parts = test sphinx
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.i18n [zcml,compile,test]
-defaults = ['--all']
-
-[sphinx]
-recipe = zc.recipe.egg
-eggs =
- Sphinx
- zope.i18n
Deleted: zope.i18n/trunk/setup.py
===================================================================
--- zope.i18n/trunk/setup.py 2013-02-19 18:22:22 UTC (rev 129485)
+++ zope.i18n/trunk/setup.py 2013-02-19 18:22:27 UTC (rev 129486)
@@ -1,78 +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.i18n package
-"""
-import os
-from setuptools import setup, find_packages
-
-def read(*rnames):
- text = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
- return text
-
-setup(
- name='zope.i18n',
- version='4.0.0a5.dev0',
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- description='Zope Internationalization Support',
- long_description=(
- read('README.txt')
- + '\n\n' +
- read('CHANGES.txt')
- ),
- license='ZPL 2.1',
- keywords=('zope3 internationalization localization i18n l10n '
- 'gettext ICU locale'),
- 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",
- 'Natural Language :: English',
- 'Operating System :: OS Independent',
- 'Topic :: Internet :: WWW/HTTP',
- 'Framework :: Zope3'],
- url='http://pypi.python.org/pypi/zope.i18n',
- packages=find_packages('src'),
- package_dir={'': 'src'},
- namespace_packages=['zope',],
- install_requires=['setuptools',
- 'pytz',
- 'zope.schema',
- 'zope.i18nmessageid',
- 'zope.component',
- ],
- include_package_data=True,
- zip_safe=False,
- extras_require=dict(
- test=['zope.testing'],
- compile=['python-gettext'],
- zcml=[
- 'zope.component [zcml]',
- 'zope.configuration',
- 'zope.security',
- ],
- ),
- )
Deleted: zope.i18n/trunk/tox.ini
===================================================================
--- zope.i18n/trunk/tox.ini 2013-02-19 18:22:22 UTC (rev 129485)
+++ zope.i18n/trunk/tox.ini 2013-02-19 18:22:27 UTC (rev 129486)
@@ -1,12 +0,0 @@
-# content of: tox.ini , put in same dir as setup.py
-[tox]
-envlist = py26,py27,py33
-
-[testenv]
-deps=zope.testrunner
- zope.testing
- python-gettext
- zope.configuration
- zope.security
-
-commands=zope-testrunner --all --test-path=src -v
More information about the checkins
mailing list