[Python-modules-team] Bug#808763: ImportError: Entry point ('console_scripts', 'py.test-3.5') not found

Thomas Goirand zigo at debian.org
Tue Dec 22 15:18:55 UTC 2015


Hi,

Here's a debdiff to fix this bug. Please let me know what you think of
it, and if you allow me to NMU with this change.

Cheers,

Thomas Goirand (zigo)
-------------- next part --------------
diff -Nru pytest-2.8.5/debian/changelog pytest-2.8.5/debian/changelog
--- pytest-2.8.5/debian/changelog	2015-12-18 00:41:22.000000000 +0000
+++ pytest-2.8.5/debian/changelog	2015-12-22 15:05:46.000000000 +0000
@@ -1,3 +1,10 @@
+pytest (2.8.5-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix entry point in py.test-3.5.
+
+ -- Thomas Goirand <zigo at debian.org>  Tue, 22 Dec 2015 14:56:37 +0000
+
 pytest (2.8.5-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru pytest-2.8.5/debian/rules pytest-2.8.5/debian/rules
--- pytest-2.8.5/debian/rules	2015-12-18 00:41:22.000000000 +0000
+++ pytest-2.8.5/debian/rules	2015-12-22 14:58:43.000000000 +0000
@@ -33,8 +33,12 @@
 	   debian/python3-pytest/usr/bin/py.test-3
 	-sed -i '1s|.*|#!/usr/bin/python3.4|' \
 		debian/python3-pytest/usr/bin/py.test-3.4
+	-sed -i "s/'console_scripts', 'py.test-3.4'/'console_scripts', 'py.test'/" \
+		debian/python3-pytest/usr/bin/py.test-3.4
 	-sed -i '1s|.*|#!/usr/bin/python3.5|' \
 		debian/python3-pytest/usr/bin/py.test-3.5
+	-sed -i "s/'console_scripts', 'py.test-3.5'/'console_scripts', 'py.test'/" \
+		debian/python3-pytest/usr/bin/py.test-3.5
 	rm -rf debian/python3-pytest/usr/lib/python3.5
 
 override_dh_auto_clean:


More information about the Python-modules-team mailing list