backports/py3-wxpython: new aport
This commit is contained in:
parent
1b178eb5a7
commit
3949fd7545
3 changed files with 92 additions and 0 deletions
18
backports/py3-wxpython/no-attrdict.patch
Normal file
18
backports/py3-wxpython/no-attrdict.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
this is a very abandoned python module, easier to just patch in this
|
||||
diff --git a/buildtools/config.py b/buildtools/config.py
|
||||
index 20a2fd9d..fa16befd 100644
|
||||
--- a/buildtools/config.py
|
||||
+++ b/buildtools/config.py
|
||||
@@ -27,7 +27,11 @@ from distutils.dep_util import newer
|
||||
|
||||
import distutils.sysconfig
|
||||
|
||||
-from attrdict import AttrDict
|
||||
+class AttrDict(dict):
|
||||
+ def __getattr__(self, attr):
|
||||
+ return self[attr]
|
||||
+ def __setattr__(self, attr, value):
|
||||
+ self[attr] = value
|
||||
|
||||
runSilently = False
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue