[Python-modules-commits] [ipykernel] 01/01: Remove _asyncio.py from the install

Gordon Ball chronitis-guest at moszumanska.debian.org
Thu Dec 14 19:47:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

chronitis-guest pushed a commit to branch master
in repository ipykernel.

commit 5c61b9bbe0854324aa4bc8520e3a5b6295f6a4d1
Author: Gordon Ball <gordon at chronitis.net>
Date:   Thu Dec 14 19:25:59 2017 +0100

    Remove _asyncio.py from the install
---
 debian/changelog | 3 +++
 debian/rules     | 1 +
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e94f00e..6456647 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ ipykernel (4.7.0-1) UNRELEASED; urgency=medium
   * New upstream release.
   * Update to Standards-Version: 4.1.2 (no changes)
   * Install upstream changelog
+  * Remove _asyncio.py shim from python-ipykernel; this uses async/await
+    syntax and causes postinstall to fail otherwise, and is only used for
+    pytthon 3 testing.
 
  -- Gordon Ball <gordon at chronitis.net>  Wed, 13 Dec 2017 08:33:28 +0000
 
diff --git a/debian/rules b/debian/rules
index 5d47c0e..01b1314 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@ export JUPYTER_RUNTIME_DIR=$(CURDIR)/run
 
 override_dh_install:
 	dh_install
+	find $(CURDIR)/debian/python-ipykernel -name _asyncio.py -delete
 	python -m ipykernel install --prefix=$(CURDIR)/debian/python-ipykernel/usr
 	python3 -m ipykernel install --prefix=$(CURDIR)/debian/python3-ipykernel/usr
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/ipykernel.git



More information about the Python-modules-commits mailing list