debian/0000775000000000000000000000000012360777234007203 5ustar debian/python-pyclamd.install0000664000000000000000000000026112356354346013542 0ustar debian/tmp/usr/lib/python2.*/dist-packages/pyclamd/pyclamd.py debian/tmp/usr/lib/python2.*/dist-packages/pyclamd/__init__.py debian/tmp/usr/lib/python2.*/dist-packages/pyClamd* debian/changelog0000664000000000000000000000605612360777234011064 0ustar pyclamd (0.3.9-1~ubuntu14.04.1) trusty-backports; urgency=medium * No-change backport to trusty (LP: #1341647) -- Scott Kitterman Mon, 14 Jul 2014 12:00:28 -0400 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 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 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 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 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) Sat, 16 Feb 2008 14:38:01 +0100 debian/source/0000775000000000000000000000000012356354363010502 5ustar debian/source/format0000664000000000000000000000001412356354346011711 0ustar 3.0 (quilt) debian/python3-pyclamd.install0000664000000000000000000000026112356354346013625 0ustar debian/tmp/usr/lib/python3.*/dist-packages/pyclamd/pyclamd.py debian/tmp/usr/lib/python3.*/dist-packages/pyclamd/__init__.py debian/tmp/usr/lib/python3.*/dist-packages/pyClamd* debian/rules0000775000000000000000000000020712356635323010257 0ustar #!/usr/bin/make -f %: dh $@ --with python2,python3 --buildsystem=pybuild override_dh_auto_clean: dh_auto_clean rm -rf __pycache__ debian/python3-pyclamd.doc-base0000664000000000000000000000056712360571531013635 0ustar 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 debian/watch0000664000000000000000000000013012356354346010226 0ustar version=3 http://xael.org/norman/python/pyclamd/pyClamd-(.*)\.tar\.gz \ debian uupdate debian/copyright0000664000000000000000000000267112356354346011144 0ustar This package was debianized by Siegfried-Angel Gevatter Pujals (RainCT) on Fri, 15 Feb 2008 21:58:24 +0100. Upstream Author: Alexandre Norman Contributors : - PL : Philippe Lagadec - philippe.lagadec()laposte.net - TK : Thomas Kastner - tk()underground8.com - TT : Theodoropoulos Theodoros (TeD TeD) - sbujam()gmail.com - TKL : Thomas Kluyver - thomas () kluyver.me.uk - JB : Joe Brandt - brandt.joe () gmail.com - JS : Joni Salonen - joni.salonen () qindel.com Copyright: Copyright © 2006-2010 Alexandre Norman License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. See http://www.gnu.org/licenses/lgpl-3.0.txt. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. On Debian systems, the complete text of the GNU Lesser General Public License version 3 can be found in /usr/share/common-licenses/LGPL-3. The Debian packaging is © 2008-2010, Siegfried-A. Gevatter Pujals and is provided under the same license as the pyclamd. debian/python-pyclamd.doc-base0000664000000000000000000000055712360571543013554 0ustar 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 debian/python-pyclamd.docs0000664000000000000000000000003012356354346013016 0ustar example.py pyclamd.html debian/python3-pyclamd.docs0000664000000000000000000000003012356354346013101 0ustar example.py pyclamd.html debian/control0000664000000000000000000000221012356365566010607 0ustar Source: pyclamd Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Siegfried-Angel Gevatter Pujals , Scott Kitterman Homepage: http://xael.org/norman/python/pyclamd/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pyclamd/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pyclamd/trunk/ Build-Depends: debhelper (>= 9), python-all, python3-all, dh-python Standards-Version: 3.9.5 Package: python-pyclamd Architecture: all Depends: ${misc:Depends}, ${python:Depends} Recommends: clamav-daemon Description: Python interface to the ClamAV daemon This package adds virus detection capabilities to Python software in an efficient and easy way, thanks to the ClamAV antivirus toolkit. Package: python3-pyclamd Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Recommends: clamav-daemon Description: Python 3 interface to the ClamAV daemon This package adds virus detection capabilities to Python 3 software in an efficient and easy way, thanks to the ClamAV antivirus toolkit. debian/patches/0000775000000000000000000000000012360566427010632 5ustar debian/patches/series0000664000000000000000000000003112360566267012043 0ustar examples-print-fix.patch debian/patches/examples-print-fix.patch0000664000000000000000000000205412360566427015410 0ustar Description: Fix print statements in example.py to work with python3 Author: Scott Kitterman 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()))) debian/compat0000664000000000000000000000000212356354373010401 0ustar 9