Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/1001_strip_sharedstate_from_MANIFEST.patch17
-rw-r--r--debian/patches/1002_fix_class_syntax.patch13
-rw-r--r--debian/patches/README3
-rw-r--r--debian/patches/series2
4 files changed, 35 insertions, 0 deletions
diff --git a/debian/patches/1001_strip_sharedstate_from_MANIFEST.patch b/debian/patches/1001_strip_sharedstate_from_MANIFEST.patch
new file mode 100644
index 0000000..2793757
--- /dev/null
+++ b/debian/patches/1001_strip_sharedstate_from_MANIFEST.patch
@@ -0,0 +1,17 @@
+diff --git a/MANIFEST b/MANIFEST
+index 02d1092..2da902d 100644
+--- a/MANIFEST
++++ b/MANIFEST
+@@ -72,12 +72,3 @@ po/rw.po
+ po/te.po
+ po/ur.po
+ po/yo.po
+-sharedstate/__init__.py
+-sharedstate/shareddict.py
+-sharedstate/sharedobject.py
+-sharedstate/sharedobjects.py
+-sharedstate/sharedpython.py
+-sharedstate/sharedstate.py
+-sharedstate/sharedtext.py
+-sharedstate/tubeconn.py
+-
diff --git a/debian/patches/1002_fix_class_syntax.patch b/debian/patches/1002_fix_class_syntax.patch
new file mode 100644
index 0000000..4b0640b
--- /dev/null
+++ b/debian/patches/1002_fix_class_syntax.patch
@@ -0,0 +1,13 @@
+diff --git a/eqnparserhelp.py b/eqnparserhelp.py
+index 1c8be1c..15ac06e 100644
+--- a/eqnparserhelp.py
++++ b/eqnparserhelp.py
+@@ -28,7 +28,7 @@ class Callable:
+ def __init__(self, f):
+ self.__call__ = f
+
+-class EqnParserHelp():
++class EqnParserHelp:
+
+ # Unfortunately gettext is not yet initialized at the time _() is called here.
+ # Still do it like this to make sure these strings show up in the POT-file
diff --git a/debian/patches/README b/debian/patches/README
new file mode 100644
index 0000000..80c1584
--- /dev/null
+++ b/debian/patches/README
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..71d19c0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+1001_strip_sharedstate_from_MANIFEST.patch
+1002_fix_class_syntax.patch