[Python-modules-commits] r28262 - in packages/pyside/trunk/debian (rules)

odyx at users.alioth.debian.org odyx at users.alioth.debian.org
Thu Mar 20 12:13:20 UTC 2014


    Date: Thursday, March 20, 2014 @ 12:13:19
  Author: odyx
Revision: 28262

Make the python3 modules renaming idempotent

Closes: #742130

Modified:
  packages/pyside/trunk/debian/rules

Modified: packages/pyside/trunk/debian/rules
===================================================================
--- packages/pyside/trunk/debian/rules	2014-03-20 09:06:11 UTC (rev 28261)
+++ packages/pyside/trunk/debian/rules	2014-03-20 12:13:19 UTC (rev 28262)
@@ -137,13 +137,13 @@
 override_dh_auto_install_3_dbg-%:
 	dh_auto_install -a --builddirectory=build-$*-dbg --destdir=debian/tmp-dbg
 	# Name the debug .so's correctly for python3
-	rename 's|(.*)/PySide/(.*)\.so$$|$$1/PySide/$$2.cpython-$(subst .,,$*)dm.so|'\
+	rename 's|(.*)/PySide/([^\.]*)\.so$$|$$1/PySide/$$2.cpython-$(subst .,,$*)dm.so|'\
 		debian/tmp-dbg/usr/lib/python3/*-packages/PySide/*.so
 
 override_dh_auto_install_3-%:
 	dh_auto_install -a --builddirectory=build-$*
 	# Name the .so's correctly for python3
-	rename 's|(.*)/PySide/(.*)\.so$$|$$1/PySide/$$2.cpython-$(subst .,,$*)m.so|'\
+	rename 's|(.*)/PySide/([^\.]*)\.so$$|$$1/PySide/$$2.cpython-$(subst .,,$*)m.so|'\
 		debian/tmp/usr/lib/python3/*-packages/PySide/*.so
 
 #### Shared libs ####




More information about the Python-modules-commits mailing list