[Python-modules-commits] r20312 - in packages/nose/trunk/debian (changelog control rules)

stefanor at users.alioth.debian.org stefanor at users.alioth.debian.org
Sat Feb 4 22:36:13 UTC 2012


    Date: Saturday, February 4, 2012 @ 22:36:10
  Author: stefanor
Revision: 20312

Fix shebangs to match script names.

Modified:
  packages/nose/trunk/debian/changelog
  packages/nose/trunk/debian/control
  packages/nose/trunk/debian/rules

Modified: packages/nose/trunk/debian/changelog
===================================================================
--- packages/nose/trunk/debian/changelog	2012-02-04 21:44:19 UTC (rev 20311)
+++ packages/nose/trunk/debian/changelog	2012-02-04 22:36:10 UTC (rev 20312)
@@ -2,7 +2,6 @@
 
   [ Charlie Smotherman ]
   * New Upstream release. Closes: #646394
-    - B-D on python-coverage for unittests.
   * Switched to source format 3.0 (quilt).
   * Package builds twice in a row now. Closes: #608678
   * Increased debhelper compat level to 7.
@@ -26,6 +25,7 @@
   * Respect nocheck in DEB_BUILD_OPTIONS.
   * Ensure seteup.py doesn't use distribute_setup.
   * Rework python 3 package, not to use alternatives.
+  * Fix shebangs to match script names.
   * Provide rst symlink in python-nose-doc.
 
  -- Charlie Smotherman <cjsmo at cableone.net>  Fri, 03 Feb 2012 21:35:46 +0200

Modified: packages/nose/trunk/debian/control
===================================================================
--- packages/nose/trunk/debian/control	2012-02-04 21:44:19 UTC (rev 20311)
+++ packages/nose/trunk/debian/control	2012-02-04 22:36:10 UTC (rev 20312)
@@ -9,8 +9,6 @@
 Build-Depends:
  debhelper (>= 7.0.50~),
  python-all (>= 2.6.6-3~),
- python-coverage,
- python-nose,
  python-setuptools (>= 0.6a9),
  python-sphinx (>= 1.0.7+dfsg),
  python3-all,

Modified: packages/nose/trunk/debian/rules
===================================================================
--- packages/nose/trunk/debian/rules	2012-02-04 21:44:19 UTC (rev 20311)
+++ packages/nose/trunk/debian/rules	2012-02-04 22:36:10 UTC (rev 20312)
@@ -22,7 +22,7 @@
 	# yet
 	set -ex; \
 	for py in $(PYVERS); do \
-		$$py setup.py nosetests; \
+		$$py setup.py test; \
 	done
 endif
 
@@ -36,12 +36,14 @@
 		$$py setup.py install --skip-build --root debian/python-nose \
 		                      --install-layout deb; \
 	done
+	sed -i -e 's,#!/usr/bin/python.*,#!/usr/bin/python,' $(DESTDIR2)/usr/bin/nosetests
 	set -ex; \
 	for py in $(PY3VERS); do \
 		$$py setup.py install --skip-build --root debian/python3-nose \
 		                      --install-layout deb; \
 	done
 	cd $(DESTDIR3)/usr/bin/ && mv nosetests nosetests3
+	sed -i -e 's,#!/usr/bin/python3.*,#!/usr/bin/python3,' $(DESTDIR3)/usr/bin/nosetests3
 
 override_dh_installman:
 	dh_installman -p python-nose nosetests.1




More information about the Python-modules-commits mailing list