[packages/python-wxPython] - rel 4; missing exceptions in our fake wxversion module

arekm arekm at pld-linux.org
Sat Dec 31 12:13:16 CET 2016


commit b97867a15fadca6b7085a79387b927b4aba94701
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Dec 31 12:13:09 2016 +0100

    - rel 4; missing exceptions in our fake wxversion module

 python-wxPython-wxversion-null.py | 9 +++++++++
 python-wxPython.spec              | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/python-wxPython.spec b/python-wxPython.spec
index 7bbd33b..28ea2e2 100644
--- a/python-wxPython.spec
+++ b/python-wxPython.spec
@@ -4,7 +4,7 @@ Summary:	Cross platform GUI toolkit for Python
 Summary(pl.UTF-8):	Wieloplatformowe narzędzie GUI dla Pythona
 Name:		python-%{module}
 Version:	3.0.2.0
-Release:	3
+Release:	4
 License:	wxWindows Library Licence 3.1 (LGPL v2+ with exception)
 Group:		Libraries/Python
 Source0:	http://downloads.sourceforge.net/wxpython/%{module}-src-%{version}.tar.bz2
diff --git a/python-wxPython-wxversion-null.py b/python-wxPython-wxversion-null.py
index 7785c4f..482751c 100644
--- a/python-wxPython-wxversion-null.py
+++ b/python-wxPython-wxversion-null.py
@@ -1,9 +1,18 @@
+class VersionError(Exception):
+	pass
+
+class AlreadyImportedError(VersionError):
+	pass
+
 def select(versions, optionsRequired=False):
 	pass
+
 def ensureMinimal(minVersion, optionsRequired=False):
 	pass
+
 def checkInstalled(versions, optionsRequired=False):
 	return True
+
 def getInstalled():
 	return "wxPython"
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-wxPython.git/commitdiff/b97867a15fadca6b7085a79387b927b4aba94701



More information about the pld-cvs-commit mailing list