File python-backports_abc.spec of Package python-backports_abc

# spec file for package python-backports_abc
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           python-backports_abc
Version:        0.4
Release:        0
Summary:        A backport of recent additions to the '' module
License:        Python-2.0
Group:          Development/Languages/Python
BuildRequires:  python-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

Currently, patch() provides the following names if missing:

All of them are also available directly from the backports_abc module

In Python 2.x and Python 3.2, it patches the collections module
instead of the module. Any names that are already
available when importing this module will not be overwritten.

The names that were previously patched by patch() can be queried
through the mapping in backports_abc.PATCHED.

%setup -q -n backports_abc-%{version}

python build

python install --prefix=%{_prefix} --root=%{buildroot}

%doc README.rst CHANGES.rst