Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ioflo/files/, dev-python/ioflo/
Date: Sat, 27 Feb 2021 02:32:43
Message-Id: 1614393151.cb55ef1bcf4e20dcca8465c23b2457e1589ab910.chutzpah@gentoo
1 commit: cb55ef1bcf4e20dcca8465c23b2457e1589ab910
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Fri Feb 26 22:02:23 2021 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 02:32:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb55ef1b
7
8 dev-python/ioflo-2.0.2: Add py39
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-3.0.15, Repoman-3.0.2
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 dev-python/ioflo/files/ioflo-2.0.2-python39.patch | 131 ++++++++++++++++++++++
15 dev-python/ioflo/ioflo-2.0.2.ebuild | 3 +-
16 2 files changed, 133 insertions(+), 1 deletion(-)
17
18 diff --git a/dev-python/ioflo/files/ioflo-2.0.2-python39.patch b/dev-python/ioflo/files/ioflo-2.0.2-python39.patch
19 new file mode 100644
20 index 00000000000..dca7d54850b
21 --- /dev/null
22 +++ b/dev-python/ioflo/files/ioflo-2.0.2-python39.patch
23 @@ -0,0 +1,131 @@
24 +diff --git a/ioflo/aid/aiding.py b/ioflo/aid/aiding.py
25 +index 6840d07..525b311 100644
26 +--- a/ioflo/aid/aiding.py
27 ++++ b/ioflo/aid/aiding.py
28 +@@ -135,7 +135,7 @@ def nameToPath(name):
29 + return path
30 +
31 + def isPath(s):
32 +- """Returns True if string s is valid Store path name
33 ++ r"""Returns True if string s is valid Store path name
34 + Returns False otherwise
35 +
36 + Faster to use precompiled versions in base
37 +@@ -201,7 +201,7 @@ def isPath(s):
38 + return False
39 +
40 + def isIdentifier(s):
41 +- """Returns True if string s is valid python identifier (variable, attribute etc)
42 ++ r"""Returns True if string s is valid python identifier (variable, attribute etc)
43 + Returns False otherwise
44 +
45 + how to determine if string is valid python identifier
46 +diff --git a/ioflo/aid/classing.py b/ioflo/aid/classing.py
47 +index 2bd37b5..493f5dc 100644
48 +--- a/ioflo/aid/classing.py
49 ++++ b/ioflo/aid/classing.py
50 +@@ -5,7 +5,7 @@ meta class and base class utility classes and functions
51 + from __future__ import absolute_import, division, print_function
52 +
53 + import sys
54 +-from collections import Iterable, Sequence
55 ++from collections.abc import Iterable, Sequence
56 + from abc import ABCMeta
57 + import functools
58 + import inspect
59 +@@ -123,7 +123,7 @@ def isIterator(obj):
60 +
61 +
62 +
63 +-from collections import Generator
64 ++from collections.abc import Generator
65 +
66 + def attributize(genfunc):
67 + """
68 +diff --git a/ioflo/aid/eventing.py b/ioflo/aid/eventing.py
69 +index 837778b..f76ff0c 100644
70 +--- a/ioflo/aid/eventing.py
71 ++++ b/ioflo/aid/eventing.py
72 +@@ -7,7 +7,7 @@ from __future__ import absolute_import, division, print_function
73 + import sys
74 + import os
75 + import datetime
76 +-from collections import Set # both set and frozen set
77 ++from collections.abc import Set # both set and frozen set
78 +
79 + # Import ioflo libs
80 + from .sixing import *
81 +diff --git a/ioflo/aid/osetting.py b/ioflo/aid/osetting.py
82 +index 6e6fffd..a99a09c 100644
83 +--- a/ioflo/aid/osetting.py
84 ++++ b/ioflo/aid/osetting.py
85 +@@ -6,11 +6,11 @@ http://code.activestate.com/recipes/576694/
86 + """
87 + from __future__ import absolute_import, division, print_function
88 +
89 +-import collections
90 ++import collections.abc
91 +
92 + from .sixing import *
93 +
94 +-class oset(collections.MutableSet):
95 ++class oset(collections.abc.MutableSet):
96 + """
97 + Ordered Set, preserves order of entry in set
98 +
99 +diff --git a/ioflo/base/acting.py b/ioflo/base/acting.py
100 +index c4b7bb3..95ad188 100644
101 +--- a/ioflo/base/acting.py
102 ++++ b/ioflo/base/acting.py
103 +@@ -5,7 +5,8 @@
104 +
105 + import time
106 + import struct
107 +-from collections import deque, Mapping
108 ++from collections import deque
109 ++from collections.abc import Mapping
110 + from functools import wraps
111 + import inspect
112 + import copy
113 +diff --git a/ioflo/base/doing.py b/ioflo/base/doing.py
114 +index 5af023c..c074380 100644
115 +--- a/ioflo/base/doing.py
116 ++++ b/ioflo/base/doing.py
117 +@@ -3,7 +3,8 @@ doing.py doer module for do verb behaviors
118 + """
119 + import time
120 + import struct
121 +-from collections import deque, Mapping
122 ++from collections import deque
123 ++from collections.abc import Mapping
124 + from functools import wraps
125 + import inspect
126 + import copy
127 +diff --git a/ioflo/base/framing.py b/ioflo/base/framing.py
128 +index 3416289..6a33a35 100644
129 +--- a/ioflo/base/framing.py
130 ++++ b/ioflo/base/framing.py
131 +@@ -5,7 +5,8 @@
132 + import sys
133 +
134 + import copy
135 +-from collections import deque, Mapping
136 ++from collections import deque
137 ++from collections.abc import Mapping
138 + import uuid
139 +
140 + from ..aid.sixing import *
141 +diff --git a/ioflo/base/logging.py b/ioflo/base/logging.py
142 +index d78a5fa..dca7460 100644
143 +--- a/ioflo/base/logging.py
144 ++++ b/ioflo/base/logging.py
145 +@@ -10,7 +10,8 @@ import datetime
146 + import copy
147 + import io
148 +
149 +-from collections import deque, MutableSequence, MutableMapping, Mapping
150 ++from collections import deque
151 ++from collections.abc import MutableSequence, MutableMapping, Mapping
152 +
153 + from ..aid.sixing import *
154 + from .globaling import *
155
156 diff --git a/dev-python/ioflo/ioflo-2.0.2.ebuild b/dev-python/ioflo/ioflo-2.0.2.ebuild
157 index 34911e9c551..a773fad8c77 100644
158 --- a/dev-python/ioflo/ioflo-2.0.2.ebuild
159 +++ b/dev-python/ioflo/ioflo-2.0.2.ebuild
160 @@ -3,7 +3,7 @@
161
162 EAPI=7
163
164 -PYTHON_COMPAT=(python3_{7..8})
165 +PYTHON_COMPAT=(python3_{7..9})
166 inherit distutils-r1
167
168 DESCRIPTION="Automated Reasoning Engine and Flow Based Programming Framework"
169 @@ -27,6 +27,7 @@ BDEPEND="${RDEPEND}
170
171 PATCHES=(
172 "${FILESDIR}/ioflo-1.7.8-network-test.patch"
173 + "${FILESDIR}/ioflo-2.0.2-python39.patch"
174 )
175
176 distutils_enable_tests pytest