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

kitterman at users.alioth.debian.org kitterman at users.alioth.debian.org
Sun Dec 4 18:35:10 UTC 2011


    Date: Sunday, December 4, 2011 @ 18:35:09
  Author: kitterman
Revision: 19506

python-clamav (0.4.1-6) unstable; urgency=low

  * Build python-clamav transitional package in binary-indep target
    (Closes: #650789)
  * Add build-arch and build-indep targets
  * Enhance package description
  * Bump standards version to 3.9.2 without further change

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-12-04 18:20:29 UTC (rev 19505)
+++ packages/python-clamav/trunk/debian/changelog	2011-12-04 18:35:09 UTC (rev 19506)
@@ -1,3 +1,13 @@
+python-clamav (0.4.1-6) unstable; urgency=low
+
+  * Build python-clamav transitional package in binary-indep target
+    (Closes: #650789)
+  * Add build-arch and build-indep targets
+  * Enhance package description
+  * Bump standards version to 3.9.2 without further change
+
+ -- Scott Kitterman <scott at kitterman.com>  Sun, 04 Dec 2011 13:10:00 -0500
+
 python-clamav (0.4.1-5) unstable; urgency=low
 
   * python-pyclamav Breaks python-clamav (<< 0.4.1-4~) instead of Conflicts

Modified: packages/python-clamav/trunk/debian/control
===================================================================
--- packages/python-clamav/trunk/debian/control	2011-12-04 18:20:29 UTC (rev 19505)
+++ packages/python-clamav/trunk/debian/control	2011-12-04 18:35:09 UTC (rev 19506)
@@ -5,7 +5,7 @@
 Uploaders: Scott Kitterman <scott at kitterman.com>
 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
+Standards-Version: 3.9.2
 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/
@@ -18,7 +18,9 @@
 Breaks: ${python:Breaks}, python-clamav (<< 0.4.1-4~)
 Description: Python bindings to ClamAV
  This package adds virus detection capabilities to Python software, thanks to
- the ClamAV antivirus toolkit.
+ the ClamAV antivirus toolkit without the need for running clamav-daemon. For
+ virus scanning with clamav-daemon, python-pyclamd is an available
+ alternative.
 
 Package: python-clamav
 Architecture: all

Modified: packages/python-clamav/trunk/debian/rules
===================================================================
--- packages/python-clamav/trunk/debian/rules	2011-12-04 18:20:29 UTC (rev 19505)
+++ packages/python-clamav/trunk/debian/rules	2011-12-04 18:35:09 UTC (rev 19506)
@@ -15,13 +15,14 @@
 PYVERS=$(shell pyversions -vs)
 
 
-build: $(PYVERS:%=build-python%)
+build: build-arch build-indep
+build-arch: $(PYVERS:%=build-python%)
 	touch $@
 build-python%:
 	python$* setup.py build
 	touch $@
 
-install: build $(PYVERS:%=install-python%)
+install-arch: build $(PYVERS:%=install-python%)
 install-python%:
 	dh_testdir
 	dh_testroot
@@ -36,12 +37,7 @@
 	rm -fr build build-python$*
 	dh_clean 
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
+binary-common:
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs CHANGELOG
@@ -59,5 +55,13 @@
 	dh_md5sums
 	dh_builddeb
 
+# Build architecture-independent files here.
+binary-indep: build-indep install-indep
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture-dependent files here.
+binary-arch: build-arch install-arch
+	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build-indep build-arch build clean binary-indep binary-arch binary install-indep install-arch install configure




More information about the Python-modules-commits mailing list