Skip to content

Commit 3c0fef0

Browse files
committed
Patch setup.py on old trusty
1 parent 3e5bc74 commit 3c0fef0

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

debian/patches/deb_old_python2

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/setup.py
2+
+++ b/setup.py
3+
@@ -19,7 +19,7 @@ def main():
4+
# Get version and release info, which is all stored in heudiconv/info.py
5+
info_file = op.join(thispath, 'heudiconv', 'info.py')
6+
with open(info_file) as infofile:
7+
- exec(infofile.read(), globals(), ldict)
8+
+ exec infofile.read() in globals(), ldict
9+
10+
11+
def findsome(subdir, extensions):

debian/patches/trusty-dsc-patch

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
diff --git a/debian/patches/series b/debian/patches/series
2+
index e69de29..1bc74a4 100644
3+
--- a/debian/patches/series
4+
+++ b/debian/patches/series
5+
@@ -0,0 +1 @@
6+
+deb_old_python2

0 commit comments

Comments
 (0)