summaryrefslogtreecommitdiff
path: root/package/debian9
diff options
context:
space:
mode:
Diffstat (limited to 'package/debian9')
-rw-r--r--package/debian9/changelog22
-rw-r--r--package/debian9/clean1
-rw-r--r--package/debian9/compat1
-rw-r--r--package/debian9/control125
-rw-r--r--package/debian9/gbp.conf2
-rw-r--r--package/debian9/python-silx-doc.doc-base9
-rwxr-xr-xpackage/debian9/rules50
-rw-r--r--package/debian9/source/format1
-rw-r--r--package/debian9/source/options1
-rw-r--r--package/debian9/watch5
10 files changed, 217 insertions, 0 deletions
diff --git a/package/debian9/changelog b/package/debian9/changelog
new file mode 100644
index 0000000..763d069
--- /dev/null
+++ b/package/debian9/changelog
@@ -0,0 +1,22 @@
+silx (0.3.0-1) unstable; urgency=low
+
+ * debian/control
+ - Add missing dependencies
+ - Add -dbg packages
+ * Upstream version 0.4.0a
+
+ -- Thomas Vincent <tvincent@edna-site.org> Mon, 23 Jan 2017 17:09:20 +0100
+
+silx (0.1.0-1) unstable; urgency=low
+
+ * debian/control
+ - Comment -dbg packages
+ * Upstream version 0.1.0
+
+ -- Thomas Vincent <thomas.vincent@esrf.fr> Thu, 14 Apr 2016 09:35:28 +0200
+
+silx (0.0.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #??????)
+
+ -- Jerome Kieffer <jerome.kieffer@esrf.fr> Tue, 15 Mar 2016 11:00:20 +0100
diff --git a/package/debian9/clean b/package/debian9/clean
new file mode 100644
index 0000000..668a363
--- /dev/null
+++ b/package/debian9/clean
@@ -0,0 +1 @@
+*.egg-info/* \ No newline at end of file
diff --git a/package/debian9/compat b/package/debian9/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/package/debian9/compat
@@ -0,0 +1 @@
+9
diff --git a/package/debian9/control b/package/debian9/control
new file mode 100644
index 0000000..f5bffde
--- /dev/null
+++ b/package/debian9/control
@@ -0,0 +1,125 @@
+Source: silx
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
+Uploaders: Jerome Kieffer <jerome.kieffer@esrf.fr>,
+ Picca Frédéric-Emmanuel <picca@debian.org>
+Section: science
+Priority: extra
+Build-Depends: cython,
+ cython3,
+ libstdc++-4.9-dev,
+ libstdc++6,
+ debhelper (>=9.20150101+deb8u2),
+ dh-python,
+ python-all-dev,
+ python-numpy,
+ python-fabio,
+ python-h5py,
+ python-pyopencl,
+ python-mako,
+ ipython,
+ ipython-qtconsole,
+ python-matplotlib,
+ python-opengl,
+ python-pyqt5,
+ python-pyqt5.qtopengl,
+ python-scipy,
+ python-sphinx,
+ python-sphinxcontrib.programoutput,
+ python-enum34,
+ python3-all-dev,
+ python3-numpy,
+ python3-fabio,
+ python3-h5py,
+ python3-pyopencl,
+ python3-mako,
+ ipython3,
+ ipython3-qtconsole,
+ python3-matplotlib,
+ python3-opengl,
+ python3-pyqt5,
+ python3-pyqt5.qtopengl,
+ python3-scipy,
+ python3-sphinx,
+ python3-sphinxcontrib.programoutput,
+ openstack-pkg-tools
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/silx.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/silx.git
+Homepage: https://github.com/silx-kit/silx
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.4
+
+Package: silx
+Architecture: all
+Depends: ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends},
+ python3-pkg-resources,
+ python3-silx (>= ${source:Version})
+Description: Toolbox for X-Ray data analysis - Executables
+ .
+ This uses the Python 3 version of the package.
+
+Package: python-silx
+Architecture: any
+Section: python
+Depends: ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends},
+ libstdc++6,
+ python-numpy,
+ python-fabio,
+ python-h5py,
+ python-pyopencl,
+ python-mako,
+ ipython,
+ ipython-qtconsole,
+ python-matplotlib,
+ python-opengl,
+ python-pyqt5,
+ python-pyqt5.qtopengl,
+ python-scipy,
+ python-six,
+ python-enum34,
+# Recommends:
+Suggests: python-rfoo
+Description: Toolbox for X-Ray data analysis - Python2 library
+ .
+ This is the Python 2 version of the package.
+
+
+Package: python3-silx
+Architecture: any
+Section: python
+Depends: ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends},
+ libstdc++6,
+ python3-numpy,
+ python3-fabio,
+ python3-h5py,
+ python3-pyopencl,
+ python3-mako,
+ ipython3,
+ ipython3-qtconsole,
+ python3-matplotlib,
+ python3-opengl,
+ python3-pyqt5,
+ python3-pyqt5.qtopengl,
+ python3-scipy,
+ python3-six,
+# Recommends:
+# Suggests: python3-rfoo
+Description: Toolbox for X-Ray data analysis - Python3
+ .
+ This is the Python 3 version of the package.
+
+
+Package: python-silx-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+ ${sphinxdoc:Depends}
+Description: Toolbox for X-Ray data analysis - Documentation
+ .
+ This is the common documentation package.
diff --git a/package/debian9/gbp.conf b/package/debian9/gbp.conf
new file mode 100644
index 0000000..f68d262
--- /dev/null
+++ b/package/debian9/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+debian-branch = master \ No newline at end of file
diff --git a/package/debian9/python-silx-doc.doc-base b/package/debian9/python-silx-doc.doc-base
new file mode 100644
index 0000000..b290d8a
--- /dev/null
+++ b/package/debian9/python-silx-doc.doc-base
@@ -0,0 +1,9 @@
+Document: silx-manual
+Title: silx documentation manual
+Author: Jérôme Kieffer <jerome.kieffer@esrf.eu>
+Abstract: Toolbox for X-Ray data analysis
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/python-silx-doc/html/index.html
+Files: /usr/share/doc/python-silx-doc/html/*
diff --git a/package/debian9/rules b/package/debian9/rules
new file mode 100755
index 0000000..9adbaf4
--- /dev/null
+++ b/package/debian9/rules
@@ -0,0 +1,50 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=silx
+
+# Make does not offer a recursive wildcard function, so here's one:
+rwildcard=$(wildcard $1$2) $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2))
+
+# How to recursively find all files with the same name in a given folder
+ALL_PYX := $(call rwildcard,silx/,*.pyx)
+#NOTA: No space before *
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_clean:
+ dh_clean
+ # remove the cython generated file to force rebuild
+ rm -f $(patsubst %.pyx,%.cpp,${ALL_PYX})
+ rm -f $(patsubst %.pyx,%.c,${ALL_PYX})
+ rm -f $(patsubst %.pyx,%.html,${ALL_PYX})
+ rm -rf build/html
+ rm -rf *.egg-info
+
+override_dh_auto_build:
+ dh_auto_build
+ python setup.py build build_man build_doc
+
+override_dh_install:
+ dh_numpy
+ dh_numpy3
+
+ # move the scripts to right package
+ dh_install -p silx debian/python3-silx/usr/bin/* usr/bin
+ dh_install -p silx package/desktop/*.desktop usr/share/applications
+ dh_install -p silx package/desktop/silx.png usr/share/icons/hicolor/48x48/apps
+ dh_install -p silx package/desktop/silx.svg usr/share/icons/hicolor/scalable/apps
+ rm -rf debian/python-silx/usr/bin
+ rm -rf debian/python3-silx/usr/bin
+
+ dh_install
+
+override_dh_auto_test:
+ dh_auto_test -- -s custom --test-args="env PYTHONPATH={build_dir} WITH_QT_TEST=False {interpreter} run_tests.py -v"
+
+override_dh_installman:
+ dh_installman -p silx build/man/*.1
+
+override_dh_installdocs:
+ dh_installdocs "build/sphinx/html" -p python-silx-doc
+ dh_installdocs
diff --git a/package/debian9/source/format b/package/debian9/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/package/debian9/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/package/debian9/source/options b/package/debian9/source/options
new file mode 100644
index 0000000..6e88e49
--- /dev/null
+++ b/package/debian9/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+\.egg-info/" \ No newline at end of file
diff --git a/package/debian9/watch b/package/debian9/watch
new file mode 100644
index 0000000..8972716
--- /dev/null
+++ b/package/debian9/watch
@@ -0,0 +1,5 @@
+version=3
+opts=repacksuffix=+dfsg,\
+uversionmangle=s/(rc|a|b|c)/~$1/,\
+dversionmangle=s/\+dfsg// \
+http://pypi.debian.net/silx/silx-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))