Metadata-Version: 2.1
Name: zope.copypastemove
Version: 4.2.1
Summary: Copy, Paste and Move support for content components.
Home-page: http://github.com/zopefoundation/zope.copypastemove
Author: Zope Foundation and Contributors
Author-email: zope-dev@zope.org
License: ZPL 2.1
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Framework :: Zope :: 3
Provides-Extra: test
Provides-Extra: zcml
License-File: LICENSE.txt

========================
 ``zope.copypastemove``
========================

.. image:: https://img.shields.io/pypi/v/zope.copypastemove.svg
        :target: https://pypi.python.org/pypi/zope.copypastemove/
        :alt: Latest release

.. image:: https://img.shields.io/pypi/pyversions/zope.copypastemove.svg
        :target: https://pypi.org/project/zope.copypastemove/
        :alt: Supported Python versions

.. image:: https://github.com/zopefoundation/zope.copypastemove/actions/workflows/tests.yml/badge.svg
        :target: https://github.com/zopefoundation/zope.copypastemove/actions/workflows/tests.yml

.. image:: https://coveralls.io/repos/github/zopefoundation/zope.copypastemove/badge.svg?branch=master
        :target: https://coveralls.io/github/zopefoundation/zope.copypastemove?branch=master

This package provides Copy, Paste and Move support for content
components in Zope.  In particular, it defines the following
interfaces for this kind of functionality:

* ``IObjectMover``,

* ``IObjectCopier``,

* ``IContentItemRenamer``,

* ``IPrincipalClipboard``

as well as standard implementations for containers and contained
objects as known from the ``zope.container`` package.


=========
 Changes
=========

4.2.1 (2022-08-25)
==================

- Fix DeprecationWarnings.


4.2.0 (2022-01-24)
==================

- Add support for Python 3.7, 3.8, 3.9, and 3.10.

- Drop support for Python 3.4.


4.1.0 (2017-08-04)
==================

- Add support for Python 3.5 and 3.6.

- Drop support for Python 2.6 and 3.3.


4.0.0 (2014-12-24)
==================

- Add support for PyPy.

- Add support for Python 3.4.

- Add support for testing on Travis.


4.0.0a1 (2013-02-24)
====================

- Add support for Python 3.3.

- Replace deprecated ``zope.component.adapts`` usage with equivalent
  ``zope.component.adapter`` decorator.

- Replace deprecated ``zope.interface.implements`` usage with equivalent
  ``zope.interface.implementer`` decorator.

- Drop support for Python 2.4 and 2.5.

- Include zcml dependencies in ``configure.zcml``, require the necessary
  packages via a zcml extra, and add tests for zcml.


3.8.0 (2010-09-14)
==================

- Add a test that makes sure that dublin core meta data of folder contents
  get updated when the folder gets copied. (Requires `zope.dublincore` 3.8
  or above.)


3.7.0 (2010-09-14)
==================

- Honor the name given by the ``IObjectMover`` in
  ``OrderedContainerItemRenamer.renameItem``. It now returns the new of the
  obejct, too. Thanks to Marius Gedminas for the patch, and to Justin Ryan
  for the test.  Fixes
  https://bugs.launchpad.net/zope.copypastemove/+bug/98385.

- Add a check for name and container if the namechooser computes a
  name which is the same as the current name.
  Fixes https://bugs.launchpad.net/zope.copypastemove/+bug/123532

- Remove use of ``zope.testing.doctestunit`` in favor of stdlib's ``doctest``.

- Move ``zope.copypastemove``-related tests from ``zope.container`` here.

3.6.0 (2009-12-16)
==================

- Favor ``zope.principalannotation`` over its ``zope.app`` variant.

- Avoid ``zope.app.component`` and testing dependencies.

3.5.2 (2009-08-15)
==================

- Fix documentation for the ``IObjectCopier.copyTo`` method.

- Add a missing dependency on ``zope.app.component``.

3.5.1 (2009-02-09)
==================

- Use the new ``zope.copy`` package for ObjectCopier to provide pluggable
  copying mechanism that is not dependent on ``zope.location`` hardly.

- Move the ``ItemNotFoundError`` exception to the interfaces module as
  it's part of public API.  Old import still works as we actually
  use it where it was previously defined, however, the new import
  place is preferred.

3.5.0 (2009-01-31)
==================

- Use ``zope.container`` instead of ``zope.app.container``.

3.4.1 (2009-01-26)
==================

- Move the test dependencies to a ``test`` extra requirement.

3.4.0 (2007-09-28)
==================

- No further changes since 3.4.0a1.

3.4.0a1 (2007-04-22)
====================

- Initial release as a separate project, corresponds to
  ``zope.copypastemove`` from Zope 3.4.0a1


