[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#780366: marked as done (unblock: pyclamd/0.3.9-2)



Your message dated Thu, 12 Mar 2015 20:42:08 +0100
with message-id <[email protected]>
and subject line Re: Bug#780366: unblock: pyclamd/0.3.9-2
has caused the Debian Bug report #780366,
regarding unblock: pyclamd/0.3.9-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
780366: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780366
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock

Please unblock package pyclamd

It fixes an RC bug #780337

diff -Nru pyclamd-0.3.9/debian/changelog pyclamd-0.3.9/debian/changelog
--- pyclamd-0.3.9/debian/changelog      2014-07-14 02:50:08.000000000 +0600
+++ pyclamd-0.3.9/debian/changelog      2015-03-12 23:48:50.000000000 +0500
@@ -1,3 +1,10 @@
+pyclamd (0.3.9-2) unstable; urgency=medium
+
+  * Team upload.
+  * Fix import on Python 3 (Closes: #780337)
+
+ -- Andrey Rahmatullin <[email protected]>  Thu, 12 Mar 2015 23:47:33 +0500
+
 pyclamd (0.3.9-1) unstable; urgency=medium

   * New upstream release
diff -Nru pyclamd-0.3.9/debian/patches/fix-python3-import.patch
pyclamd-0.3.9/debian/patches/fix-python3-import.patch
--- pyclamd-0.3.9/debian/patches/fix-python3-import.patch       1970-01-01
05:00:00.000000000 +0500
+++ pyclamd-0.3.9/debian/patches/fix-python3-import.patch       2015-03-12
23:51:51.000000000 +0500
@@ -0,0 +1,22 @@
+Description: Fix importing pyclamd on Python 3
+Origin: upstream
+Bug-Debian: https://bugs.debian.org/780337
+Applied-Upstream: 0.3.10
+Last-Update: 2015-03-12
+
+diff -u pyclamd-0.3.9.orig/__init__.py pyclamd-0.3.9/__init__.py
+--- pyclamd-0.3.9.orig/__init__.py     2012-11-24 00:52:09.000000000 +0600
++++ pyclamd-0.3.9/__init__.py  2015-03-12 23:43:24.344370092 +0500
+@@ -1,5 +1,10 @@
+ #!/usr/bin/env python
+ # -*- coding: utf-8 -*-
+
+-from pyclamd import __version__
+-from pyclamd import *
++import sys
++if sys.version_info[0] <= 2:
++    from pyclamd import __version__
++    from pyclamd import *
++elif sys.version_info[0] >= 3:
++    from .pyclamd import __version__
++    from .pyclamd import *
diff -Nru pyclamd-0.3.9/debian/patches/series
pyclamd-0.3.9/debian/patches/series
--- pyclamd-0.3.9/debian/patches/series 2014-07-14 02:31:51.000000000 +0600
+++ pyclamd-0.3.9/debian/patches/series 2015-03-12 23:48:50.000000000 +0500
@@ -1 +1,2 @@
 examples-print-fix.patch
+fix-python3-import.patch


unblock pyclamd/0.3.9-2

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.17-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

--- End Message ---
--- Begin Message ---
On 2015-03-12 20:37, Andrey Rahmatullin wrote:
> Package: release.debian.org
> Severity: normal
> User: [email protected]
> Usertags: unblock
> 
> Please unblock package pyclamd
> 
> It fixes an RC bug #780337
> 
> [...]

Unblocked, thanks.

~Niels

--- End Message ---

Reply to:
OSZAR »