[Checkins] SVN: DateTime/trunk/ Moved to GitHub.

Stephen Richter cvs-admin at zope.org
Mon Feb 25 06:18:53 UTC 2013


Log message for revision 129777:
  Moved to GitHub.

Changed:
  D   DateTime/trunk/CHANGES.rst
  D   DateTime/trunk/COPYRIGHT.txt
  D   DateTime/trunk/LICENSE.txt
  D   DateTime/trunk/MANIFEST.in
  A   DateTime/trunk/MOVED_TO_GITHUB
  D   DateTime/trunk/README.txt
  D   DateTime/trunk/bootstrap.py
  D   DateTime/trunk/buildout.cfg
  D   DateTime/trunk/setup.py
  D   DateTime/trunk/src/
  D   DateTime/trunk/tox.ini

-=-
Deleted: DateTime/trunk/CHANGES.rst
===================================================================
--- DateTime/trunk/CHANGES.rst	2013-02-25 06:09:27 UTC (rev 129776)
+++ DateTime/trunk/CHANGES.rst	2013-02-25 06:18:52 UTC (rev 129777)
@@ -1,206 +0,0 @@
-Changelog
-=========
-
-4.0.1 (unreleased)
-------------------
-
-
-4.0 (2013-02-23)
-----------------
-
-- Added support for Python 3.2 and 3.3 in addition to 2.6 and 2.7.
-
-- Removed unused legacy pytz tests and the DateTimeZone module and renamed
-  some test internals.
-
-3.0.3 (2013-01-22)
-------------------
-
-- Allow timezone argument to be a Unicode string while creating a DateTime
-  object using two arguments.
-
-3.0.2 (2012-10-21)
-------------------
-
-- LP #1045233: Respect date format setting for parsing dates like `11-01-2001`.
-
-3.0.1 (2012-09-23)
-------------------
-
-- Add `_dt_reconstructor` function introduced in DateTime 2.12.7 to provide
-  forward compatibility with pickles that might reference this function.
-
-3.0 (2011-12-09)
-----------------
-
-- No changes.
-
-Backwards compatibility of DateTime 3
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-DateTime 3 changes its pickle representation. DateTime instances pickled with
-former versions of DateTime can be read, but older DateTime versions cannot read
-DateTime instances pickled with version 3.
-
-DateTime 3 changes DateTime to be a new-style class with slots instead of being
-an old-style class.
-
-DateTime 3 tries to preserve microsecond resolution throughout most of its API's
-while former versions were often only accurate to millisecond resolution. Due to
-the representation of float values in Python versions before Python 2.7 you
-shouldn't compare string or float representations of DateTime instances if you
-want high accuracy. The same is true for calculated values returned by methods
-like `timeTime()`. You get the highest accuracy of comparing DateTime values by
-calling its `micros()` methods. DateTime is not particular well suited to be
-used in comparing timestamps of file systems - use the time and datetime objects
-from the Python standard library instead.
-
-3.0b3 (2011-10-19)
-------------------
-
-- Allow comparison of DateTime objects against None.
-
-3.0b2 (2011-10-19)
-------------------
-
-- Reverted the single argument `None` special case handling for unpickling and
-  continue to treat it as meaning `now`.
-
-3.0b1 (2011-05-07)
-------------------
-
-- Restored `strftimeFormatter` as a class.
-
-- Added tests for read-only class attributes and interface.
-
-3.0a2 (2011-05-07)
-------------------
-
-- Added back support for reading old DateTime pickles without a `_micros` value.
-
-- Avoid storing `_t` representing the time as a float in seconds since the
-  epoch, as we already have `_micros` doing the same as a long. Memory use is
-  down to about 300 bytes per DateTime instance.
-
-- Updated exception raising syntax to current style.
-
-- Avoid storing `_aday`, `_fday`, `_pday`, `_amon`, `_fmon`, `_pmon`, `_pmhour`
-  and `_pm` in memory for every instance but look them up dynamically based on
-  `_dayoffset`, `_month` and `_hour`. This saves another 150 bytes of memory
-  per DateTime instance.
-
-- Moved various internal parsing related class variables to module constants.
-
-- No longer provide the `DateError`, `DateTimeError`, `SyntaxError` and
-  `TimeError` exceptions as class attributes, import them from their canonical
-  `DateTime.interfaces` location instead.
-
-- Removed deprecated `_isDST` and `_localzone` class variables.
-
-- Moved pytz cache from `DateTime._tzinfo` to a module global `_TZINFO`.
-
-- Make DateTime a new-style class and limit its available attributes via a
-  slots definition. The pickle size increases to 110 bytes thanks to the
-  `ccopy_reg\n_reconstructor` stanza. But the memory size drops from 3kb to
-  500 bytes for each instance.
-
-3.0a1 (2011-05-06)
-------------------
-
-- Reordered some calculations in `_calcIndependentSecondEtc` to preserve more
-  floating point precision.
-
-- Optimized the pickled data, by only storing a tuple of `_micros` and time
-  zone information - this reduces the pickle size from an average of 300 bytes
-  to just 60 bytes.
-
-- Optimized un-pickling, by avoiding the creation of an intermediate DateTime
-  value representing the current time.
-
-- Removed in-place migration of old DateTime pickles without a `_micros` value.
-
-- Removed deprecated support for using `DateTime.__cmp__`.
-
-- Take time zone settings into account when comparing two date times for
-  (non-) equality.
-
-- Fixed (possibly unused) _parse_iso8601 function.
-
-- Removed unused import of legacy DateTimeZone, strftime and re.
-  Remove trailing whitespace.
-
-- Removed reference to missing version section from buildout.
-
-2.12.6 (2010-10-17)
--------------------
-
-- Changed ``testDayOfWeek`` test to be independent of OS locale.
-
-2.12.5 (2010-07-29)
--------------------
-
-- Launchpad #143269: Corrected the documentation for year value 
-  behavior when constructing a DateTime object with three numeric 
-  arguments.
-
-- Launchpad #142521: Removed confusing special case in 
-  DateTime.__str__ where DateTime instances for midnight 
-  (e.g. '2010-07-27 00:00:00 US/Eastern') values would 
-  render only their date and nothing else.
-
-2.12.4 (2010-07-12)
--------------------
-
-- Fixed mapping of EDT (was -> 'GMT-0400', now 'GMT-4').
-
-2.12.3 (2010-07-09)
--------------------
-
-- Added EDT timezone support. Addresses bug #599856.
-  [vangheem]
-
-2.12.2 (2010-05-05)
--------------------
-
-- Launchpad #572715:  Relaxed pin on pytz, after applying a patch from 
-  Marius Gedminus which fixes the apparent API breakage.
-
-2.12.1 (2010-04-30)
--------------------
-
-- Removed an undeclared testing dependency on zope.testing.doctest in favor of
-  the standard libraries doctest module.
-
-- Added a maximum version requirement on pytz <= 2010b. Later versions produce
-  test failures related to timezone changes.
-
-2.12.0 (2009-03-04)
--------------------
-
-- Launchpad #290254: Forward-ported fix for '_micros'-less pickles from
-  the Zope 2.11 branch version.
-
-2.11.2 (2009-02-02)
--------------------
-
-- Include *all* pytz zone names, not just "common" ones.
-
-- Fix one fragile doctest, band-aid another.
-
-- Fix for launchpad #267545: DateTime(DateTime()) should preserve the
-  correct hour.
-
-2.11.1 (2008-08-05)
--------------------
-
-- DateTime conversion of datetime objects with non-pytz tzinfo. Timezones()
-  returns a copy of the timezone list (allows tests to run).
-
-- Merged the slinkp-datetime-200007 branch: fix the DateTime(anotherDateTime)
-  constructor to preserve timezones.
-
-2.11.0b1 (2008-01-06)
----------------------
-
-- Split off from the Zope2 main source code tree.
-

Deleted: DateTime/trunk/COPYRIGHT.txt
===================================================================
--- DateTime/trunk/COPYRIGHT.txt	2013-02-25 06:09:27 UTC (rev 129776)
+++ DateTime/trunk/COPYRIGHT.txt	2013-02-25 06:18:52 UTC (rev 129777)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file

Deleted: DateTime/trunk/LICENSE.txt
===================================================================
--- DateTime/trunk/LICENSE.txt	2013-02-25 06:09:27 UTC (rev 129776)
+++ DateTime/trunk/LICENSE.txt	2013-02-25 06:18:52 UTC (rev 129777)
@@ -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: DateTime/trunk/MANIFEST.in
===================================================================
--- DateTime/trunk/MANIFEST.in	2013-02-25 06:09:27 UTC (rev 129776)
+++ DateTime/trunk/MANIFEST.in	2013-02-25 06:18:52 UTC (rev 129777)
@@ -1,7 +0,0 @@
-include *.rst
-include *.txt
-
-recursive-include src/DateTime *
-
-global-exclude *.pyc
-global-exclude *.pyo

Added: DateTime/trunk/MOVED_TO_GITHUB
===================================================================
--- DateTime/trunk/MOVED_TO_GITHUB	                        (rev 0)
+++ DateTime/trunk/MOVED_TO_GITHUB	2013-02-25 06:18:52 UTC (rev 129777)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/DateTime
\ No newline at end of file

Deleted: DateTime/trunk/README.txt
===================================================================
--- DateTime/trunk/README.txt	2013-02-25 06:09:27 UTC (rev 129776)
+++ DateTime/trunk/README.txt	2013-02-25 06:18:52 UTC (rev 129777)
@@ -1 +0,0 @@
-Please refer to src/DateTime/DateTime.txt.

Deleted: DateTime/trunk/bootstrap.py
===================================================================
--- DateTime/trunk/bootstrap.py	2013-02-25 06:09:27 UTC (rev 129776)
+++ DateTime/trunk/bootstrap.py	2013-02-25 06:18:52 UTC (rev 129777)
@@ -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: DateTime/trunk/buildout.cfg
===================================================================
--- DateTime/trunk/buildout.cfg	2013-02-25 06:09:27 UTC (rev 129776)
+++ DateTime/trunk/buildout.cfg	2013-02-25 06:18:52 UTC (rev 129777)
@@ -1,16 +0,0 @@
-[buildout]
-develop = .
-parts = interpreter test
-
-
-[interpreter]
-recipe = zc.recipe.egg
-interpreter = python
-eggs =
-    DateTime
-    tox
-
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = DateTime

Deleted: DateTime/trunk/setup.py
===================================================================
--- DateTime/trunk/setup.py	2013-02-25 06:09:27 UTC (rev 129776)
+++ DateTime/trunk/setup.py	2013-02-25 06:18:52 UTC (rev 129777)
@@ -1,61 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 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.
-#
-##############################################################################
-
-import os
-from setuptools import setup, find_packages
-
-here = os.path.abspath(os.path.dirname(__file__))
-with open(os.path.join(here, 'src', 'DateTime', 'DateTime.txt')) as f:
-    README = f.read()
-with open(os.path.join(here, 'CHANGES.rst')) as f:
-    CHANGES = f.read()
-
-
-setup(
-    name='DateTime',
-    version='4.0.1dev',
-    url='http://pypi.python.org/pypi/DateTime',
-    license='ZPL 2.1',
-    description="""\
-This package provides a DateTime data type, as known from Zope 2.
-Unless you need to communicate with Zope 2 APIs, you're probably
-better off using Python's built-in datetime module.""",
-    author='Zope Foundation and Contributors',
-    author_email='zope-dev at zope.org',
-    long_description=README + '\n\n' + CHANGES,
-    packages=find_packages('src'),
-    package_dir={'': 'src'},
-    classifiers=[
-        "Development Status :: 6 - Mature",
-        "Environment :: Web Environment",
-        "Framework :: Zope2",
-        "License :: OSI Approved :: Zope Public License",
-        "Operating System :: OS Independent",
-        "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.2",
-        "Programming Language :: Python :: 3.3",
-        "Programming Language :: Python :: Implementation :: CPython",
-    ],
-    install_requires=[
-        'zope.interface',
-        'pytz',
-    ],
-    include_package_data=True,
-    test_suite='DateTime.tests.test_datetime.test_suite',
-    zip_safe=False,
-)

Deleted: DateTime/trunk/tox.ini
===================================================================
--- DateTime/trunk/tox.ini	2013-02-25 06:09:27 UTC (rev 129776)
+++ DateTime/trunk/tox.ini	2013-02-25 06:18:52 UTC (rev 129777)
@@ -1,12 +0,0 @@
-[tox]
-envlist =
-    py26,py27,py32,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 =
-    zope.interface
-    pytz



More information about the checkins mailing list