[Python-modules-commits] r946 - in /packages/ctypes/trunk/debian: changelog rules

rganesan at users.alioth.debian.org rganesan at users.alioth.debian.org
Mon Jun 19 15:52:10 UTC 2006


Author: rganesan
Date: Mon Jun 19 15:52:09 2006
New Revision: 946

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=946
Log:
* Added dh_strip to strip the ctypes binary extensions.
* Added a rule to strip .svn directories in the package.


Modified:
    packages/ctypes/trunk/debian/changelog
    packages/ctypes/trunk/debian/rules

Modified: packages/ctypes/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/ctypes/trunk/debian/changelog?rev=946&op=diff
==============================================================================
--- packages/ctypes/trunk/debian/changelog (original)
+++ packages/ctypes/trunk/debian/changelog Mon Jun 19 15:52:09 2006
@@ -2,7 +2,7 @@
 
   * New upstream version.
   * Added watch file.
-  * Updated for new python policy (Closes: #373310)
+  * Updated for new python policy (Closes: #373310).
 
  -- Ganesan Rajagopal <rganesan at debian.org>  Mon, 19 Jun 2006 21:06:26 +0530
 

Modified: packages/ctypes/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/ctypes/trunk/debian/rules?rev=946&op=diff
==============================================================================
--- packages/ctypes/trunk/debian/rules (original)
+++ packages/ctypes/trunk/debian/rules Mon Jun 19 15:52:09 2006
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 # Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+# export DH_VERBOSE=1
 
 # This is the debhelper compatibility version to use.
 export DH_COMPAT=5
@@ -37,6 +37,7 @@
 
 install-python%:
 	python$* setup.py install --no-compile --root=$(d)
+	dh_strip -a
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -48,6 +49,7 @@
 	dh_testroot -a
 
 	dh_installdocs -a
+	rm -rf `find debian/python-ctypes -name .svn -print`
 	dh_installexamples -a
 	dh_installchangelogs -a
 	dh_link -a




More information about the Python-modules-commits mailing list