[Python-modules-commits] r15798 - in packages/python-clamav/trunk/debian (3 files)

kitterman at users.alioth.debian.org kitterman at users.alioth.debian.org
Sat Feb 19 19:12:11 UTC 2011


    Date: Saturday, February 19, 2011 @ 19:12:05
  Author: kitterman
Revision: 15798

python-clamav (0.4.1-4) UNELEASED; urgency=low

  * Switch to dh_python2
    - Drop build-depends on python-support
    - Version build-depends on python-all-dev
    - Add X-Python-Version
    - Add 
    - Replace dh_pysupport in debian/rules with dh_python2
  * Rename binary to python-pyclamav (Closes: #507858)
    - Add transitional pacakge in debian/control
    - Adjust target of setup.py install in debian/rules
  * Add install-layout=deb
  * Drop alternate depends on clamav-data as it is no longer updated
  * Drop redundant build-depends on python

 -- Scott Kitterman <scott at kitterman.com>  Sat, 19 Feb 2011 13:16:03 -0500

Modified:
  packages/python-clamav/trunk/debian/changelog
  packages/python-clamav/trunk/debian/control
  packages/python-clamav/trunk/debian/rules

Modified: packages/python-clamav/trunk/debian/changelog
===================================================================
--- packages/python-clamav/trunk/debian/changelog	2011-02-19 19:08:54 UTC (rev 15797)
+++ packages/python-clamav/trunk/debian/changelog	2011-02-19 19:12:05 UTC (rev 15798)
@@ -1,3 +1,20 @@
+python-clamav (0.4.1-4) UNELEASED; urgency=low
+
+  * Switch to dh_python2
+    - Drop build-depends on python-support
+    - Version build-depends on python-all-dev
+    - Add X-Python-Version
+    - Add ${python:Breaks}
+    - Replace dh_pysupport in debian/rules with dh_python2
+  * Rename binary to python-pyclamav (Closes: #507858)
+    - Add transitional pacakge in debian/control
+    - Adjust target of setup.py install in debian/rules
+  * Add install-layout=deb
+  * Drop alternate depends on clamav-data as it is no longer updated
+  * Drop redundant build-depends on python
+
+ -- Scott Kitterman <scott at kitterman.com>  Sat, 19 Feb 2011 13:16:03 -0500
+
 python-clamav (0.4.1-3) unstable; urgency=low
 
   * Use correct DPMT address for maintainer

Modified: packages/python-clamav/trunk/debian/control
===================================================================
--- packages/python-clamav/trunk/debian/control	2011-02-19 19:08:54 UTC (rev 15797)
+++ packages/python-clamav/trunk/debian/control	2011-02-19 19:12:05 UTC (rev 15798)
@@ -3,16 +3,31 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Scott Kitterman <scott at kitterman.com>
-Build-Depends: debhelper (>= 5.0.37.2), libclamav-dev (>= 0.95), python (>= 2.3.5-11), python-support (>= 0.3), python-all-dev
+Build-Depends: debhelper (>= 5.0.37.2), libclamav-dev (>= 0.95), python-all-dev (>= 2.6.5-2~)
+X-Python-Version: >= 2.3
 Standards-Version: 3.9.1.0
 Homepage: http://xael.org/norman/python/pyclamav/index.html
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-clamav/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-clamav/trunk/
 
-Package: python-clamav
+Package: python-pyclamav
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, clamav-freshclam | clamav-data
-Provides: ${python:Provides}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, clamav-freshclam
+Provides: ${python:Provides}, python-clamav
+Replaces: python-clamav (<< 0.4.1-4~)
+Conflicts: python-clamav (<< 0.4.1-4~)
+Breaks: ${python:Breaks}
 Description: Python bindings to ClamAV
  This package adds virus detection capabilities to Python software, thanks to
  the ClamAV antivirus toolkit.
+
+Package: python-clamav
+Architecture: all
+Priority: extra
+Depends: ${misc:Depends}, python-pyclamav
+Description: Python bindings to ClamAV - transitional package
+ This package adds virus detection capabilities to Python software, thanks to
+ the ClamAV antivirus toolkit.
+ .
+ This is a transitional package to support upgrades to python-pyclamav. It is
+ safe to remove it once that is installed.

Modified: packages/python-clamav/trunk/debian/rules
===================================================================
--- packages/python-clamav/trunk/debian/rules	2011-02-19 19:08:54 UTC (rev 15797)
+++ packages/python-clamav/trunk/debian/rules	2011-02-19 19:12:05 UTC (rev 15798)
@@ -26,7 +26,7 @@
 	dh_testdir
 	dh_testroot
 	dh_installdirs
-	python$* setup.py install --root $(CURDIR)/debian/python-clamav
+	python$* setup.py install --install-layout=deb --root $(CURDIR)/debian/python-pyclamav
 
 clean: $(PYVERS:%=clean-python%)
 clean-python%:
@@ -51,7 +51,7 @@
 	dh_strip
 	dh_compress
 	dh_fixperms
-	dh_pysupport
+	dh_python2
 	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps




More information about the Python-modules-commits mailing list