[Python-modules-commits] r29742 - in packages/pyclamd/tags (9 files)
kitterman at users.alioth.debian.org
kitterman at users.alioth.debian.org
Sun Jul 13 21:05:08 UTC 2014
Date: Sunday, July 13, 2014 @ 21:05:07
Author: kitterman
Revision: 29742
[svn-buildpackage] Tagging pyclamd 0.3.9-1
Added:
packages/pyclamd/tags/0.3.9-1/
packages/pyclamd/tags/0.3.9-1/debian/changelog
(from rev 29741, packages/pyclamd/trunk/debian/changelog)
packages/pyclamd/tags/0.3.9-1/debian/patches/examples-print-fix.patch
(from rev 29741, packages/pyclamd/trunk/debian/patches/examples-print-fix.patch)
packages/pyclamd/tags/0.3.9-1/debian/patches/series
(from rev 29741, packages/pyclamd/trunk/debian/patches/series)
packages/pyclamd/tags/0.3.9-1/debian/python-pyclamd.doc-base
(from rev 29741, packages/pyclamd/trunk/debian/python-pyclamd.doc-base)
packages/pyclamd/tags/0.3.9-1/debian/python3-pyclamd.doc-base
(from rev 29741, packages/pyclamd/trunk/debian/python3-pyclamd.doc-base)
Deleted:
packages/pyclamd/tags/0.3.9-1/debian/changelog
packages/pyclamd/tags/0.3.9-1/debian/patches/build_no_clamd.patch
packages/pyclamd/tags/0.3.9-1/debian/patches/series
Deleted: packages/pyclamd/tags/0.3.9-1/debian/changelog
===================================================================
--- packages/pyclamd/trunk/debian/changelog 2014-07-13 17:20:52 UTC (rev 29740)
+++ packages/pyclamd/tags/0.3.9-1/debian/changelog 2014-07-13 21:05:07 UTC (rev 29742)
@@ -1,66 +0,0 @@
-pyclamd (0.3.8-1) unstable; urgency=medium
-
- [ Jakub Wilk ]
- * Use canonical URIs for Vcs-* fields.
-
- [ Scott Kitterman ]
- * New upstream release
- * Add debian/patches/build_no_clamd.patch to fix python3 exception syntax
- error and make it possible to build without clamd installed
- * Move clamav-daemon from Depends to Recommends (Closes: #645872)
- * Update debian/copyright
- * Drop obsolete get-orig-source rule and add debian/watch
- * Convert from CDBS/pysupport to dh/dh-python/pybuild
- * Add new python3-pyclamd binary and appropriate build-depends
- * Add .install and .docs files so new files are appropriately installed
- * Bump standards version to 3.9.5 without further change
- * Bump compat and debhelper version to 9
- * Add myself to uploaders
-
- -- Scott Kitterman <scott at kitterman.com> Sun, 06 Jul 2014 18:24:41 -0400
-
-pyclamd (0.2.2-1) unstable; urgency=low
-
- * New upstream release:
- - Replaced deprecated string exceptions with classes.
- - Added a timeout option to socket operations to avoid blocking.
- - Code improvements (PEP-8 compliance, new private helper functions).
- * debian/rules:
- - Updated get-orig-source (don't take the changelog since it's outdated,
- and replace GPL2 with LGPL3, ensure indentation is correct -unexpand-).
- - Don't try to install CHANGELOG as it has been removed.
- * debian/control:
- - Bump Standards-Version to 3.9.1.
- * debian/copyright:
- - Update copyright years and change license from GPL2+ to LGPL3+.
- * Remove debian/patches, the string exceptions change has been accepted
- upstream.
-
- -- Siegfried-Angel Gevatter Pujals <rainct at ubuntu.com> Sun, 24 Oct 2010 20:24:58 +0200
-
-pyclamd (0.1.1-2) unstable; urgency=low
-
- [ Siegfried-Angel Gevatter Pujals ]
- * debian/control:
- - Swap Maintainer/Uploader fields.
- - Bump Standards-Version from 3.7.3 to 3.8.4.
- * debian/copyright:
- - Replace "(C)" with "©".
- - Change GPL to GPL-2.
- * debian/source/format:
- - Change source format to "3.0 (quilt)".
- * debian/patches/string-exceptions, debian/patches/series:
- - Change exceptions from strings to classes, for python2.6+ compatibility;
- thanks to Julien Danjou for reporting (Closes: #576694).
-
- [ Sandro Tosi ]
- * debian/control
- - Switch Vcs-Browser field to viewsvn.
-
- -- Siegfried-Angel Gevatter Pujals <rainct at ubuntu.com> Sun, 06 Jun 2010 22:01:52 +0100
-
-pyclamd (0.1.1-1) unstable; urgency=low
-
- * Initial release (Closes: 466133).
-
- -- Siegfried-Angel Gevatter Pujals (RainCT) <rainct at ubuntu.com> Sat, 16 Feb 2008 14:38:01 +0100
Copied: packages/pyclamd/tags/0.3.9-1/debian/changelog (from rev 29741, packages/pyclamd/trunk/debian/changelog)
===================================================================
--- packages/pyclamd/tags/0.3.9-1/debian/changelog (rev 0)
+++ packages/pyclamd/tags/0.3.9-1/debian/changelog 2014-07-13 21:05:07 UTC (rev 29742)
@@ -0,0 +1,76 @@
+pyclamd (0.3.9-1) unstable; urgency=medium
+
+ * New upstream release
+ - Drop debian/patches/build_no_clamd.patch, fixed upstream
+ * Add debian/patches/examples-print-fix.patch to fix python3 compatibility
+ in examples
+ * Added doc-base registration files
+
+ -- Scott Kitterman <scott at kitterman.com> Sun, 13 Jul 2014 16:27:09 -0400
+
+pyclamd (0.3.8-1) unstable; urgency=medium
+
+ [ Jakub Wilk ]
+ * Use canonical URIs for Vcs-* fields.
+
+ [ Scott Kitterman ]
+ * New upstream release
+ * Add debian/patches/build_no_clamd.patch to fix python3 exception syntax
+ error and make it possible to build without clamd installed
+ * Move clamav-daemon from Depends to Recommends (Closes: #645872)
+ * Update debian/copyright
+ * Drop obsolete get-orig-source rule and add debian/watch
+ * Convert from CDBS/pysupport to dh/dh-python/pybuild
+ * Add new python3-pyclamd binary and appropriate build-depends
+ * Add .install and .docs files so new files are appropriately installed
+ * Bump standards version to 3.9.5 without further change
+ * Bump compat and debhelper version to 9
+ * Add myself to uploaders
+
+ -- Scott Kitterman <scott at kitterman.com> Sun, 06 Jul 2014 18:24:41 -0400
+
+pyclamd (0.2.2-1) unstable; urgency=low
+
+ * New upstream release:
+ - Replaced deprecated string exceptions with classes.
+ - Added a timeout option to socket operations to avoid blocking.
+ - Code improvements (PEP-8 compliance, new private helper functions).
+ * debian/rules:
+ - Updated get-orig-source (don't take the changelog since it's outdated,
+ and replace GPL2 with LGPL3, ensure indentation is correct -unexpand-).
+ - Don't try to install CHANGELOG as it has been removed.
+ * debian/control:
+ - Bump Standards-Version to 3.9.1.
+ * debian/copyright:
+ - Update copyright years and change license from GPL2+ to LGPL3+.
+ * Remove debian/patches, the string exceptions change has been accepted
+ upstream.
+
+ -- Siegfried-Angel Gevatter Pujals <rainct at ubuntu.com> Sun, 24 Oct 2010 20:24:58 +0200
+
+pyclamd (0.1.1-2) unstable; urgency=low
+
+ [ Siegfried-Angel Gevatter Pujals ]
+ * debian/control:
+ - Swap Maintainer/Uploader fields.
+ - Bump Standards-Version from 3.7.3 to 3.8.4.
+ * debian/copyright:
+ - Replace "(C)" with "©".
+ - Change GPL to GPL-2.
+ * debian/source/format:
+ - Change source format to "3.0 (quilt)".
+ * debian/patches/string-exceptions, debian/patches/series:
+ - Change exceptions from strings to classes, for python2.6+ compatibility;
+ thanks to Julien Danjou for reporting (Closes: #576694).
+
+ [ Sandro Tosi ]
+ * debian/control
+ - Switch Vcs-Browser field to viewsvn.
+
+ -- Siegfried-Angel Gevatter Pujals <rainct at ubuntu.com> Sun, 06 Jun 2010 22:01:52 +0100
+
+pyclamd (0.1.1-1) unstable; urgency=low
+
+ * Initial release (Closes: 466133).
+
+ -- Siegfried-Angel Gevatter Pujals (RainCT) <rainct at ubuntu.com> Sat, 16 Feb 2008 14:38:01 +0100
Deleted: packages/pyclamd/tags/0.3.9-1/debian/patches/build_no_clamd.patch
===================================================================
--- packages/pyclamd/trunk/debian/patches/build_no_clamd.patch 2014-07-13 17:20:52 UTC (rev 29740)
+++ packages/pyclamd/tags/0.3.9-1/debian/patches/build_no_clamd.patch 2014-07-13 21:05:07 UTC (rev 29742)
@@ -1,30 +0,0 @@
-Description: Make building possible without clamd
-Author: Scott Kitterman <scott at kitterman.com>
-Forwarded: yes
-Last-Update: 2014-07-06
-
---- pyclamd-0.3.8.orig/pyclamd.py
-+++ pyclamd-0.3.8/pyclamd.py
-@@ -699,7 +699,7 @@ def ClamdAgnostic():
- try:
- cd = ClamdNetworkSocket()
- except ConnectionError:
-- raise ValueError, "could not connect to clamd server either by unix or network socket"
-+ raise ValueError("could not connect to clamd server either by unix or network socket")
- return cd
-
- ############################################################################
---- pyclamd-0.3.8.orig/setup.py
-+++ pyclamd-0.3.8/setup.py
-@@ -7,7 +7,10 @@ pyclamd = Extension('pyclamd',
- # Install : python setup.py install
- # Register : python setup.py register
-
--import pyclamd
-+try:
-+ import pyclamd
-+except ValueError as x:
-+ pass # all we want is the version
-
- setup (name = 'pyClamd',
- version = pyclamd.__version__,
Copied: packages/pyclamd/tags/0.3.9-1/debian/patches/examples-print-fix.patch (from rev 29741, packages/pyclamd/trunk/debian/patches/examples-print-fix.patch)
===================================================================
--- packages/pyclamd/tags/0.3.9-1/debian/patches/examples-print-fix.patch (rev 0)
+++ packages/pyclamd/tags/0.3.9-1/debian/patches/examples-print-fix.patch 2014-07-13 21:05:07 UTC (rev 29742)
@@ -0,0 +1,37 @@
+Description: Fix print statements in example.py to work with python3
+Author: Scott Kitterman <scott at kitterman.com>
+Origin: vendor
+Forwarded: yes
+Last-Update: 2017-07-13
+
+--- pyclamd-0.3.9.orig/example.py
++++ pyclamd-0.3.9/example.py
+@@ -11,13 +11,13 @@ cd.ping()
+
+
+ # print version
+-print "Version : \n{0}\n".format(cd.version())
++print("Version : \n{0}\n".format(cd.version()))
+
+ # force a db reload
+ cd.reload()
+
+ # print stats
+-print "\n{0}\n".format(cd.stats())
++print("\n{0}\n".format(cd.stats()))
+
+ # write test file with EICAR test string
+ open('/tmp/EICAR','w').write(cd.EICAR())
+@@ -26,9 +26,9 @@ open('/tmp/EICAR','w').write(cd.EICAR())
+ open('/tmp/NO_EICAR','w').write('no virus in this file')
+
+ # scan files
+-print "\n{0}\n".format(cd.scan_file('/tmp/EICAR'))
+-print "\n{0}\n".format(cd.scan_file('/tmp/NO_EICAR'))
++print("\n{0}\n".format(cd.scan_file('/tmp/EICAR')))
++print("\n{0}\n".format(cd.scan_file('/tmp/NO_EICAR')))
+
+ # scan a stream
+-print "\n{0}\n".format(cd.scan_stream(cd.EICAR()))
++print("\n{0}\n".format(cd.scan_stream(cd.EICAR())))
+
Deleted: packages/pyclamd/tags/0.3.9-1/debian/patches/series
===================================================================
--- packages/pyclamd/trunk/debian/patches/series 2014-07-13 17:20:52 UTC (rev 29740)
+++ packages/pyclamd/tags/0.3.9-1/debian/patches/series 2014-07-13 21:05:07 UTC (rev 29742)
@@ -1 +0,0 @@
-build_no_clamd.patch
Copied: packages/pyclamd/tags/0.3.9-1/debian/patches/series (from rev 29741, packages/pyclamd/trunk/debian/patches/series)
===================================================================
--- packages/pyclamd/tags/0.3.9-1/debian/patches/series (rev 0)
+++ packages/pyclamd/tags/0.3.9-1/debian/patches/series 2014-07-13 21:05:07 UTC (rev 29742)
@@ -0,0 +1 @@
+examples-print-fix.patch
Copied: packages/pyclamd/tags/0.3.9-1/debian/python-pyclamd.doc-base (from rev 29741, packages/pyclamd/trunk/debian/python-pyclamd.doc-base)
===================================================================
--- packages/pyclamd/tags/0.3.9-1/debian/python-pyclamd.doc-base (rev 0)
+++ packages/pyclamd/tags/0.3.9-1/debian/python-pyclamd.doc-base 2014-07-13 21:05:07 UTC (rev 29742)
@@ -0,0 +1,10 @@
+Document: python-pyclamd
+Title: Python interface to the ClamAV daemon
+Author: Alexandre Norman
+Abstract: Pyclamd exposes the clamd API to Python programs
+ This documentation contains the pydoc reference fo the pyclamd module
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-pyclamd/pyclamd.html
+Files: /usr/share/doc/python-pyclamd/pyclamd.html
Copied: packages/pyclamd/tags/0.3.9-1/debian/python3-pyclamd.doc-base (from rev 29741, packages/pyclamd/trunk/debian/python3-pyclamd.doc-base)
===================================================================
--- packages/pyclamd/tags/0.3.9-1/debian/python3-pyclamd.doc-base (rev 0)
+++ packages/pyclamd/tags/0.3.9-1/debian/python3-pyclamd.doc-base 2014-07-13 21:05:07 UTC (rev 29742)
@@ -0,0 +1,10 @@
+Document: python3-pyclamd
+Title: Python 3 interface to the ClamAV daemon
+Author: Alexandre Norman
+Abstract: Pyclamd exposes the clamd API to Python 3 programs
+ This documentation contains the pydoc reference fo the pyclamd module
+Section: Programming/Python3
+
+Format: HTML
+Index: /usr/share/doc/python3-pyclamd/pyclamd.html
+Files: /usr/share/doc/python3-pyclamd/pyclamd.html
More information about the Python-modules-commits
mailing list