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

kitterman at users.alioth.debian.org kitterman at users.alioth.debian.org
Mon Jun 25 06:29:01 UTC 2012


    Date: Monday, June 25, 2012 @ 06:28:59
  Author: kitterman
Revision: 22299

* Add support for dpkg-buildflags in debian/rules
* Bump standards-version to 3.9.3 without further change
* Move python-clamav transitional package to section oldlibs
* Drop unneeded python:Provides

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	2012-06-25 04:28:39 UTC (rev 22298)
+++ packages/python-clamav/trunk/debian/changelog	2012-06-25 06:28:59 UTC (rev 22299)
@@ -1,3 +1,12 @@
+python-clamav (0.4.1-7) unstable; urgency=low
+
+  * Add support for dpkg-buildflags in debian/rules
+  * Bump standards-version to 3.9.3 without further change
+  * Move python-clamav transitional package to section oldlibs
+  * Drop unneeded python:Provides
+
+ -- Scott Kitterman <scott at kitterman.com>  Mon, 25 Jun 2012 02:15:15 -0400
+
 python-clamav (0.4.1-6) unstable; urgency=low
 
   * Build python-clamav transitional package in binary-indep target

Modified: packages/python-clamav/trunk/debian/control
===================================================================
--- packages/python-clamav/trunk/debian/control	2012-06-25 04:28:39 UTC (rev 22298)
+++ packages/python-clamav/trunk/debian/control	2012-06-25 06:28:59 UTC (rev 22299)
@@ -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.2
+Standards-Version: 3.9.3
 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/
@@ -13,7 +13,7 @@
 Package: python-pyclamav
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, clamav-freshclam
-Provides: ${python:Provides}, python-clamav
+Provides: python-clamav
 Replaces: python-clamav (<< 0.4.1-4~)
 Breaks: ${python:Breaks}, python-clamav (<< 0.4.1-4~)
 Description: Python bindings to ClamAV
@@ -24,6 +24,7 @@
 
 Package: python-clamav
 Architecture: all
+Section: oldlibs
 Priority: extra
 Depends: ${misc:Depends}, python-pyclamav
 Description: Python bindings to ClamAV - transitional package

Modified: packages/python-clamav/trunk/debian/rules
===================================================================
--- packages/python-clamav/trunk/debian/rules	2012-06-25 04:28:39 UTC (rev 22298)
+++ packages/python-clamav/trunk/debian/rules	2012-06-25 06:28:59 UTC (rev 22299)
@@ -4,12 +4,13 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-CFLAGS = -Wall -g
-
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
+	CFLAGS = -Wall -g -O0 -g
+	CPPFLAGS =
 else
-	CFLAGS += -O2
+	CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
+	CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
+	LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
 endif
 
 PYVERS=$(shell pyversions -vs)
@@ -19,7 +20,7 @@
 build-arch: $(PYVERS:%=build-python%)
 	touch $@
 build-python%:
-	python$* setup.py build
+	CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" python$* setup.py build
 	touch $@
 
 install-arch: build $(PYVERS:%=install-python%)




More information about the Python-modules-commits mailing list