[Python-modules-commits] r32081 - in packages/sip4/trunk/debian (changelog rules)

mitya57 at users.alioth.debian.org mitya57 at users.alioth.debian.org
Fri Mar 27 08:08:33 UTC 2015


    Date: Friday, March 27, 2015 @ 08:08:32
  Author: mitya57
Revision: 32081

Get rid of useless python call in debian/rules.

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

Modified: packages/sip4/trunk/debian/changelog
===================================================================
--- packages/sip4/trunk/debian/changelog	2015-03-27 02:58:18 UTC (rev 32080)
+++ packages/sip4/trunk/debian/changelog	2015-03-27 08:08:32 UTC (rev 32081)
@@ -3,6 +3,7 @@
   * New upstream release.
   * Backport upstream patch to fix a regression in this release.
   * Merge two siputils patches into a single one.
+  * Get rid of useless python call in debian/rules.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Thu, 26 Mar 2015 13:25:14 +0300
 

Modified: packages/sip4/trunk/debian/rules
===================================================================
--- packages/sip4/trunk/debian/rules	2015-03-27 02:58:18 UTC (rev 32080)
+++ packages/sip4/trunk/debian/rules	2015-03-27 08:08:32 UTC (rev 32081)
@@ -5,7 +5,7 @@
 PY2_PROVIDES=sip-api-11.0, sip-api-11.1
 PY3_PROVIDES=sip-py3api-11.0, sip-py3api-11.1
 # `dh_python3 --depends sip3` should generate dependency on newest API only
-PYDIST=sip $(shell python -c "a=[i.strip() for i in '$(PY3_PROVIDES)'.split(',')]; print sorted(a, reverse=True)[0]")
+PYDIST=sip $(lastword $(PY3_PROVIDES))
 
 INSTDIR=$(CURDIR)/debian
 




More information about the Python-modules-commits mailing list