Ravenports generated: 26 Dec 2017 14:51
[ravenports.git] / bucket_67 / python-backports_abc
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-backports_abc
4 VERSION=                0.5
5 KEYWORDS=               python
6 VARIANTS=               py27 py35 py36
7 SDESC[py35]=            Backport of recent additions to the 'colle (PY 35)
8 SDESC[py36]=            Backport of recent additions to the 'colle (PY 36)
9 SDESC[py27]=            Backport of recent additions to the 'colle (PY 27)
10 HOMEPAGE=               https://github.com/cython/backports_abc
11 CONTACT=                Python_Automaton[python@ironwolf.systems]
12
13 DOWNLOAD_GROUPS=        main
14 SITES[main]=            PYPI/b/backports_abc
15 DISTFILE[1]=            backports_abc-0.5.tar.gz:main
16 DF_INDEX=               1
17 SPKGS[py35]=            single
18 SPKGS[py36]=            single
19 SPKGS[py27]=            single
20
21 OPTIONS_AVAILABLE=      PY27 PY35 PY36
22 OPTIONS_STANDARD=       none
23 VOPTS[py35]=            PY27=OFF PY35=ON PY36=OFF
24 VOPTS[py36]=            PY27=OFF PY35=OFF PY36=ON
25 VOPTS[py27]=            PY27=ON PY35=OFF PY36=OFF
26
27 DISTNAME=               backports_abc-0.5
28
29 LICENSE=                CUSTOM1:single
30 LICENSE_NAME=           CUSTOM1:"UNKNOWN"
31 LICENSE_SCHEME=         solo
32 LICENSE_FILE=           CUSTOM1:{{WRKSRC}}/LICENSE
33
34 GENERATED=              yes
35
36 [PY35].USES_ON=                         python:py35
37
38 [PY36].USES_ON=                         python:py36
39
40 [PY27].USES_ON=                         python:py27
41
42 [FILE:2151:descriptions/desc.single]
43 =============
44 ABC-Backports
45 =============
46
47 Usage:
48
49 .. code-block:: python
50
51     try:
52         # ABCs live in "collections.abc" in Python >= 3.3
53         from collections.abc import Coroutine, Generator
54     except ImportError:
55         # fall back to import from "backports_abc"
56         from backports_abc import Coroutine, Generator
57
58 You can also install the ABCs into the stdlib by calling the ``patch()``
59 function:
60
61 .. code-block:: python
62
63     import backports_abc
64     backports_abc.patch()
65
66     try:
67         # ABCs live in "collections.abc" in Python >= 3.3
68         from collections.abc import Coroutine, Generator
69     except ImportError:
70         # fall back to import from "collections" in Python <= 3.2
71         from backports_abc import Coroutine, Generator
72
73 Currently, ``patch()`` provides the following names if missing:
74
75 * ``collections.abc.Generator``
76 * ``collections.abc.Awaitable``
77 * ``collections.abc.Coroutine``
78 * ``inspect.isawaitable(obj)``
79
80 All of them are also available directly from the ``backports_abc``
81 module namespace.
82
83 In Python 2.x and Python 3.2, it patches the ``collections`` module
84 instead of the ``collections.abc`` module.  Any names that are already
85 available when importing this module will not be overwritten.
86
87 The names that were previously patched by ``patch()`` can be queried
88 through the mapping in ``backports_abc.PATCHED``.
89
90 Changelog
91 =========
92
93 0.5 (2016-11-12)
94 ----------------
95
96 * support old-style (mro-missing) classes
97
98 0.4 (2015-09-14)
99 ----------------
100
101 * direct wheel building support
102
103 * make all names available at the module level instead of requiring patching
104
105
106 0.3 (2015-07-03)
107 ----------------
108
109 * removed patching of ``inspect.iscoroutine()`` as it is not ABC based
110
111
112 0.2 (2015-07-03)
113 ----------------
114
115 * require explicit ``backports_abc.patch()`` call to do the patching
116   (avoids side-effects on import and allows future configuration)
117
118 * provide access to patched names through global ``PATCHED`` dict
119
120 * add ABC based implementations of inspect.iscoroutine() and
121   inspect.isawaitable()
122
123
124 0.1 (2015-06-24)
125 ----------------
126
127 * initial public release
128
129 * provided ABCs: Generator, Coroutine, Awaitable
130
131
132
133 [FILE:103:distinfo]
134 033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde         9807 backports_abc-0.5.tar.gz
135