[sasview] 03/03: place /usr/bin/sasview in separate sasview package

Drew Parsons dparsons at moszumanska.debian.org
Mon Oct 30 07:41:02 UTC 2017


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

dparsons pushed a commit to branch master
in repository sasview.

commit 20ac6e78e83561c0cd377e61d4ef6519fbed55f1
Author: Drew Parsons <dparsons at debian.org>
Date:   Mon Oct 30 15:34:20 2017 +0800

    place /usr/bin/sasview in separate sasview package
---
 debian/control           | 27 +++++++++++++++++++++++++--
 debian/rules             |  3 +++
 debian/sasview-docs.docs |  1 +
 debian/sasview.dirs      |  1 +
 4 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index adf04f4..4b0ab3a 100644
--- a/debian/control
+++ b/debian/control
@@ -13,8 +13,32 @@ Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/sasview.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/sasview.git/
 #Testsuite: autopkgtest-pkg-python
 
+Package: sasview
+Architecture: all
+Depends: python-sasview, ${python:Depends}, ${misc:Depends}
+Suggests: sasview-doc
+Description: Small Angle Scattering Analysis (Python 2)
+ SasView is a Small Angle Scattering Analysis Software Package,
+ originally developed as part of the NSF DANSE project under the name
+ SansView, now managed by an international collaboration of facilities.
+ .
+ SasView is software for the analysis of Small-Angle Scattering (SAS)
+ data.
+ .
+ It fits analytic functions describing different types of material
+ microstructure to experimental data in order to determine the shape,
+ size and degree of ordering.
+ .
+ SasView also includes tools for calculating scattering length
+ densities, slit sizes, resolution, fringe thicknesses/d-spacings, the
+ (Porod) invariant ('total scattering'), and distance distribution
+ functions.
+ .
+ This package installs the executable script, /usr/bin/sasview.
+
 Package: python-sasview
 Architecture: all
+Section: python
 Depends: ${python:Depends}, ${misc:Depends}
 Suggests: python-sasview-doc
 Description: Small Angle Scattering Analysis (Python 2)
@@ -35,7 +59,6 @@ Description: Small Angle Scattering Analysis (Python 2)
  functions.
  .
  This package installs the library for Python 2.
-
 #Package: python3-sasview
 #Architecture: all
 #Depends: ${python3:Depends}, ${misc:Depends}
@@ -59,7 +82,7 @@ Description: Small Angle Scattering Analysis (Python 2)
 # .
 # This package installs the library for Python 3.
 
-Package: python-sasview-doc
+Package: sasview-doc
 Architecture: all
 Section: doc
 Depends: ${sphinxdoc:Depends}, ${misc:Depends}
diff --git a/debian/rules b/debian/rules
index 8210057..dfda7f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,9 @@ export PYBUILD_NAME=sasview
 %:
 	dh $@ --with python2 --buildsystem=pybuild
 
+override_dh_install:
+	dh_install
+	mv debian/python-sasview/usr/bin/sasview debian/sasview/usr/bin/sasview
 
 # If you need to rebuild the Sphinx documentation
 # Add spinxdoc to the dh --with line
diff --git a/debian/sasview-docs.docs b/debian/sasview-docs.docs
index efea0a6..409c22e 100644
--- a/debian/sasview-docs.docs
+++ b/debian/sasview-docs.docs
@@ -1,2 +1,3 @@
 README.Debian
 README.source
+docs/sasview/Tutorial.*
\ No newline at end of file
diff --git a/debian/sasview.dirs b/debian/sasview.dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/sasview.dirs
@@ -0,0 +1 @@
+usr/bin

-- 
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