[sasview] 05/08: Fix entry-point for shell script

Stuart Prescott stuart at debian.org
Tue Oct 31 14:52:43 UTC 2017


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

stuart pushed a commit to branch master
in repository sasview.

commit 45112d4544fad65f32a1f13bc1f06231939c4071
Author: Stuart Prescott <stuart at debian.org>
Date:   Wed Nov 1 01:12:58 2017 +1100

    Fix entry-point for shell script
    
    https://github.com/SasView/sasview/pull/118
---
 debian/patches/series                  |  1 +
 debian/patches/setup-entry-point.patch | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index cedb468..a4052cc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+setup-entry-point.patch
 limit-docs-sasview.patch
 sphinx-local-mathjax.patch
diff --git a/debian/patches/setup-entry-point.patch b/debian/patches/setup-entry-point.patch
new file mode 100644
index 0000000..b785fc1
--- /dev/null
+++ b/debian/patches/setup-entry-point.patch
@@ -0,0 +1,15 @@
+Description: Fix entry point of module
+ The entry point function had changed but wasn't updated in setup.py yet.
+Author: Stuart Prescott <stuart at debian.org>
+Forwarded: https://github.com/SasView/sasview/pull/118
+--- a/setup.py
++++ b/setup.py
+@@ -427,7 +427,7 @@
+     zip_safe=False,
+     entry_points={
+         'console_scripts': [
+-            "sasview = sas.sasview.sasview:run",
++            "sasview = sas.sasview.sasview:run_gui",
+         ]
+     },
+     cmdclass={'build_ext': build_ext_subclass,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sasview.git



More information about the debian-science-commits mailing list