Control: tags 893740 + pending

Dear maintainer,

I've prepared an NMU for scons (versioned as 3.0.1-1.1) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer, or upload it some other way.

Robie
diff -Nru scons-3.0.1/debian/changelog scons-3.0.1/debian/changelog
--- scons-3.0.1/debian/changelog	2017-12-14 14:57:20.000000000 +0000
+++ scons-3.0.1/debian/changelog	2018-11-09 14:46:34.000000000 +0000
@@ -1,3 +1,11 @@
+scons (3.0.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * patches/0110-remove_stale_files.patch: fix Python 3 compatibility (Closes:
+    #893740).
+
+ -- Robie Basak <[email protected]>  Fri, 09 Nov 2018 14:45:13 +0000
+
 scons (3.0.1-1) unstable; urgency=medium
 
   * New upstream release:
diff -Nru scons-3.0.1/debian/patches/0110-remove_stale_files.patch scons-3.0.1/debian/patches/0110-remove_stale_files.patch
--- scons-3.0.1/debian/patches/0110-remove_stale_files.patch	2017-10-03 05:25:00.000000000 +0100
+++ scons-3.0.1/debian/patches/0110-remove_stale_files.patch	2018-11-09 14:48:52.000000000 +0000
@@ -2,18 +2,17 @@
 Origin:         Debian
 Bug-Debian:     http://bugs.debian.org/519948
 Forwarded:      http://scons.tigris.org/issues/show_bug.cgi?id=1571
+Last-Update:    2018-11-09
 
-Index: trunk/engine/SCons/Script/Main.py
-===================================================================
---- trunk.orig/engine/SCons/Script/Main.py
-+++ trunk/engine/SCons/Script/Main.py
-@@ -1106,6 +1106,21 @@ def _main(parser):
+--- a/engine/SCons/Script/Main.py
++++ b/engine/SCons/Script/Main.py
+@@ -1106,6 +1106,21 @@
              print('Found nothing to build')
              exit_status = 2
  
 +        # Remove temporary files left by SCons
 +        if options.clean:
-+            if os.environ.has_key('DH_INTERNAL_OPTIONS'):
++            if 'DH_INTERNAL_OPTIONS' in os.environ:
 +                import shutil
 +                for path in ('.sconsign.dblite', '.sconf_temp'):
 +                    try:

Attachment: signature.asc
Description: PGP signature

Reply via email to