File: debian-changes

package info (click to toggle)
py-lmdb 0.86-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,572 kB
  • ctags: 1,986
  • sloc: ansic: 11,010; python: 3,527; makefile: 131; sh: 67
file content (33 lines) | stat: -rw-r--r-- 1,242 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Subject: Collected Debian patches for py-lmdb
Author: Robert Edmonds <edmonds@debian.org>

The py-lmdb package is maintained in Git rather than maintaining
patches as separate files, and separating the patches doesn't seem to
be worth the effort.  They are therefore all included in this single
Debian patch.

For full commit history and separated commits, see the packaging Git
repository.
--- py-lmdb-0.86.orig/setup.py
+++ py-lmdb-0.86/setup.py
@@ -112,13 +112,13 @@ if sys.platform.startswith('win'):
 # errors). This happens even when `use_cpython` since user might want to
 # LMDB_FORCE_CFFI=1 during testing.
 with open('lmdb/_config.py', 'w') as fp:
-    fp.write('CONFIG = %r\n\n' % ({
-        'extra_compile_args': extra_compile_args,
-        'extra_sources': extra_sources,
-        'extra_library_dirs': extra_library_dirs,
-        'extra_include_dirs': extra_include_dirs,
-        'libraries': libraries
-    },))
+    fp.write('CONFIG = dict(%r)\n\n' % ((
+        ('extra_compile_args', extra_compile_args),
+        ('extra_sources', extra_sources),
+        ('extra_library_dirs', extra_library_dirs),
+        ('extra_include_dirs', extra_include_dirs),
+        ('libraries', libraries),
+    ),))
 
 
 if use_cpython: