public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/xonsh/files/
@ 2016-09-20 21:07 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2016-09-20 21:07 UTC (permalink / raw
  To: gentoo-commits

commit:     1914c45f9c2254ab1fb501370ccb90220a7fb879
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Sep 20 16:57:56 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 21:07:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1914c45f

dev-python/xonsh: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/2376

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../xonsh/files/xonsh-0.2.3-kernel-backport.patch  | 47 ----------------------
 .../files/xonsh-0.2.3-xonsh.bat-backport.patch     | 22 ----------
 2 files changed, 69 deletions(-)

diff --git a/dev-python/xonsh/files/xonsh-0.2.3-kernel-backport.patch b/dev-python/xonsh/files/xonsh-0.2.3-kernel-backport.patch
deleted file mode 100644
index feed0d0..00000000
--- a/dev-python/xonsh/files/xonsh-0.2.3-kernel-backport.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From c650bc8a2b901a9e8d0c09f11f2482cfa6a1daee Mon Sep 17 00:00:00 2001
-From: Daniel Milde <daniel@milde.cz>
-Date: Sun, 8 Nov 2015 21:15:08 +0100
-Subject: [PATCH] installation of jupyter hook to given destination
-
----
- setup.py | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 2996546..83984ba 100755
---- a/setup.py
-+++ b/setup.py
-@@ -19,7 +19,7 @@
-     HAVE_SETUPTOOLS = False
- 
- try:
--    from jupyter_client.kernelspec import install_kernel_spec
-+    from jupyter_client.kernelspec import KernelSpecManager
-     HAVE_JUPYTER = True
- except ImportError:
-     HAVE_JUPYTER = False
-@@ -49,7 +49,7 @@ def build_tables():
-     sys.path.pop(0)
- 
- 
--def install_jupyter_hook():
-+def install_jupyter_hook(root=None):
-     if not HAVE_JUPYTER:
-         print('Could not install Jupyter kernel spec, please install Jupyter/IPython.')
-         return
-@@ -73,13 +73,13 @@ def install_jupyter_hook():
-             with open(os.path.join(d, 'kernel.json'), 'w') as f:
-                 json.dump(spec, f, sort_keys=True)
-             print('Installing Jupyter kernel spec...')
--            install_kernel_spec(d, 'xonsh', user=('--user' in sys.argv), replace=True)
-+            KernelSpecManager().install_kernel_spec(d, 'xonsh', user=('--user' in sys.argv), replace=True, prefix=root)
- 
- class xinstall(install):
-     def run(self):
-         clean_tables()
-         build_tables()
--        install_jupyter_hook()
-+        install_jupyter_hook(self.root if self.root else None)
-         install.run(self)
- 
- 

diff --git a/dev-python/xonsh/files/xonsh-0.2.3-xonsh.bat-backport.patch b/dev-python/xonsh/files/xonsh-0.2.3-xonsh.bat-backport.patch
deleted file mode 100644
index f938ad7..00000000
--- a/dev-python/xonsh/files/xonsh-0.2.3-xonsh.bat-backport.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From ed8b6ce37c76f62585a5cc86ac99194bf7115a84 Mon Sep 17 00:00:00 2001
-From: selepo <po.lenhoff@gmail.com>
-Date: Wed, 18 Nov 2015 18:50:17 +0100
-Subject: [PATCH] bugfix for issue 466 with xonsh.bat installed in non-windows
-
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 0fb407b..7c10805 100755
---- a/setup.py
-+++ b/setup.py
-@@ -77,7 +77,7 @@ def main():
-         platforms='Cross Platform',
-         classifiers=['Programming Language :: Python :: 3'],
-         packages=['xonsh'],
--        scripts=['scripts/xonsh', 'scripts/xonsh.bat'],
-+        scripts=['scripts/xonsh'] if 'win' not in sys.platform else ['scripts/xonsh.bat'],
-         cmdclass={'install': xinstall, 'sdist': xsdist},
-         )
-     if HAVE_SETUPTOOLS:


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-20 21:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-20 21:07 [gentoo-commits] repo/gentoo:master commit in: dev-python/xonsh/files/ David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox