summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/README.source7
-rw-r--r--debian/TODO17
-rw-r--r--debian/changelog254
-rw-r--r--debian/compat1
-rw-r--r--debian/control238
-rw-r--r--debian/copyright318
-rw-r--r--debian/docs1
-rw-r--r--debian/pymca-doc.doc-base11
-rwxr-xr-xdebian/rules77
-rw-r--r--debian/source/format1
-rw-r--r--debian/tests/control11
-rwxr-xr-xdebian/tests/python28
-rwxr-xr-xdebian/tests/python2-dbg8
-rwxr-xr-xdebian/tests/python38
-rwxr-xr-xdebian/tests/python3-dbg8
-rw-r--r--debian/watch5
16 files changed, 973 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..27e433c
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,7 @@
+pymca source package infomation
+
+The PyMca.sift module was removed. This module contain algorithms that
+may be patented in some countries or have some other limitations on
+the use.
+
+The third-party qhull library was removed for the system one. \ No newline at end of file
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..d627c91
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,17 @@
+embeded library
+- qhull
+
+copyright
+- check compatibility with GPL of the qhull
+- add header
+ * PyMca/PhysicalMemory.py
+ * PyMca/PyMcaPlugins/MotorInfoPlugin.py
+ * PyMca/PyMcaPlugins/MotorInfoWindow.py
+ * PyMca/PyMcaPlugins/StackScanWindowPlugin.py
+ * PyMca/PyMcaPlugins/XMCDPlugin.py
+ * PyMca/XMCDWindow.py
+ * PyMca/XRFMC/XMSOParser.py
+ * PyMca/XRFMC/XRFMCHelper.py
+ * PyMca/XRFMC/XRFMCPyMca.py
+ * PyMca/XRFMC/XRFMCPyMca.py
+ * PyMca/XRFMC/__init__.py \ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..69a96d0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,254 @@
+pymca (5.3.0+dfsg-1) UNRELEASED; urgency=medium
+
+ [ Teemu Ikonen ]
+ * Remove myself from Uploaders.
+
+ [ Picca Frédéric-Emmanuel ]
+ * New upstream version 5.3.0+dfsg
+ * Bump Standars-Version to (4.1.3) (nothing to do)
+ * d/control
+ - Updated VCS-x for salsa migration.
+ - Build-Depends:
+ + python[3]-fisx[-dbg] (Added)
+ * d/patches
+ - 0001-xlocale.h-not-available-under-glibc-2.26.patch (obsolete)
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Sun, 15 Apr 2018 11:41:00 +0200
+
+pymca (5.2.2+dfsg-2) unstable; urgency=medium
+
+ * fix FTBFS with glibc2.26 (Closes: #887749)
+ * d/patches/
+ - 0001-xlocale.h-not-available-under-glibc-2.26.patch (Added)
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Sat, 20 Jan 2018 15:26:30 +0100
+
+pymca (5.2.2+dfsg-1) unstable; urgency=medium
+
+ * New upstream version 5.2.2+dfsg
+ * Bump Standars-Version to (4.1.1) (extra -> optional)
+ * d/watch use the pypi redirector
+ * d/control
+ - Build-Depends: fisx (>= 1.1.4-1~)
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Sat, 21 Oct 2017 12:26:49 +0200
+
+pymca (5.1.3+dfsg-1) unstable; urgency=medium
+
+ * New upstream version 5.1.3+dfsg
+ * Depends fisx >= 1.1.2
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Sun, 27 Nov 2016 12:17:50 +0100
+
+pymca (5.1.2+dfsg-2) unstable; urgency=medium
+
+ * Added Breaks and Replace to fix the jessie -> strech upgrade (Closes:
+ #836850)
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Sun, 11 Sep 2016 09:24:04 +0200
+
+pymca (5.1.2+dfsg-1) unstable; urgency=medium
+
+ * Imported Upstream version 5.1.2+dfsg
+ * switch to compat level 9
+ * Add the autopkgtest suite
+ * Use cython to regenerate the extensions
+ * debian/control
+ + Homepage: https://github.com/vasole/pymca
+ + new binary packages:
+ - python-pymca5, python-pymca5-dbg
+ - python3-pymca5, python3-pymca5-dbg
+ - pymca-doc
+ + Update Vcs-git
+ + bump Standards-Version 3.9.8 (nothing to do)
+ + Build-Depends Added:
+ - cython, cython3
+ - python-setuptools, python3-setuptools
+ * debian/copyright
+ + Use Files-Excluded to remove dfsg-nonfree files
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Sat, 20 Aug 2016 12:42:18 +0200
+
+pymca (4.7.4+dfsg-1) unstable; urgency=medium
+
+ * Imported Upstream version 4.7.4+dfsg
+ * debian/patches
+ - 0003-forwaded-upstream-allow-to-build-with-the-system-qhu.patch
+ (an equivalent patch was applyed by upstream)
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Wed, 01 Oct 2014 21:38:53 +0200
+
+pymca (4.7.1+dfsg-2) unstable; urgency=medium
+
+ * debian/control
+ update the description: pymca support also hdf5 files
+ * debian/patches
+ - 0002-debian-fix-header-for-system-qhull.patch
+ do not apply to fix the FTBFS (Closes: #738752)
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Sun, 16 Feb 2014 11:54:36 +0100
+
+pymca (4.7.1+dfsg-1) unstable; urgency=medium
+
+ * Imported Upstream version 4.7.1+dfsg
+ * Repack to remove the embeded qhull library
+ * debian/control
+ - Build-Depends: add libqhull-dev
+ * debian/patches
+ + 0002-debian-fix-header-for-system-qhull.patch
+ + 0003-forwaded-upstream-allow-to-build-with-the-system-qhu.patch
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Sat, 14 Dec 2013 12:40:37 +0100
+
+pymca (4.7.0+dfsg-1) unstable; urgency=medium
+
+ * Imported Upstream version 4.7.0+dfsg
+ * Repack to remove the PyMca.sift module
+ * Bump Standars-Version to (3.9.5) nothing to do
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Sat, 07 Dec 2013 10:13:57 +0100
+
+pymca (4.6.2-1) unstable; urgency=low
+
+ * Imported Upstream version 4.6.2
+ * Bump Standars-Version to (3.9.4) nothing to do
+ * debian/control
+ - unversionne python-all-dev (cme fix)
+ * debian/copyright updated
+ * debian/patches
+ - 0002-fix-from-upstream-hurd-FTBFS.patch (deleted)
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Sat, 01 Jun 2013 14:41:59 +0200
+
+pymca (4.6.0-2) unstable; urgency=low
+
+ * debian/patches
+ - 0002-fix-from-upstream-hurd-FTBFS.patch (new)
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Tue, 19 Jun 2012 18:10:01 +0200
+
+pymca (4.6.0-1) unstable; urgency=low
+
+ * Imported Upstream version 4.6.0
+ * debian/patches
+ - 0001-Hardcode-correct-Debian-paths-to-executable-scripts.patch (renamed)
+ 0001-install-the-data-at-the-right-place.patch
+ - 0002-Various-build-system-fixes.patch (deleted)
+ - 0003-feature-forwarded-missing-EADL97_KShellConstants.dat.patch (deleted)
+ * debian/rules
+ - execute the unit tests just for information now.
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Mon, 18 Jun 2012 21:18:07 +0200
+
+pymca (4.5.0-4) unstable; urgency=low
+
+ * debian/rules
+ - fix the permission to avoid FTBFS
+ sbuild and pbuilder do not failed the same way.
+ - remove the PyMca/HTML from python modules (documentation)
+ * debian/patches
+ - 0003-feature-forwarded-missing-EADL97_KShellConstants.dat.patch (new)
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Mon, 19 Mar 2012 09:24:06 +0100
+
+pymca (4.5.0-3) unstable; urgency=low
+
+ * fix permission to avoid FTBFS
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Mon, 19 Mar 2012 08:06:44 +0100
+
+pymca (4.5.0-2) unstable; urgency=low
+
+ * oups FTBFS everywhere
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Sun, 18 Mar 2012 23:13:46 +0100
+
+pymca (4.5.0-1) unstable; urgency=low
+
+ * Imported Upstream version 4.5.0 (Closes: #656198)
+ * debian/control
+ - Upgrade to standards-version 3.9.3 (nothing to do)
+ - Remove python-support
+ - Add myself as Uploaders
+ * debian/copyright
+ - Updated
+ * debian/patches
+ - Unapply patches from source
+ - Refresh the series using gbp-pq
+ * debian/rules
+ - switch to dh_python2
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Sat, 17 Mar 2012 21:48:02 +0100
+
+pymca (4.4.1p1-2) unstable; urgency=low
+
+ * control:
+ - Move python-matplotlib to Recommends
+ - Add python-qt4-gl, python-opengl, python-mdp and python-h5py to
+ Recommends (closes: #623757).
+ * Perpeatuate the hack of manually deleting files installed to the
+ pymca-data package from the pythonX.X installation directories.
+ Support the versions of Python in unstable (2.6 and 2.7) and drop
+ the support for python2.5. This means that this revision of pymca
+ does not build any more in squeeze. Upstream has promised to tweak
+ the setup.py to better support splitting of data files in the next
+ release (closes: #625171).
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 23 May 2011 16:15:48 +0200
+
+pymca (4.4.1p1-1) unstable; urgency=low
+
+ * New upstream version.
+ - Fixes setting PYTHONPATH in scripts (closes: #605160).
+ - Includes the specfile module locale fixes, so removing patch
+ 03_specfile-locale.
+ - Does not include .pyc files in the orig.tar, so removing code
+ in 'debian/rules' for preserving them during the build.
+ * Patch 03_postbatch: Remove starting blank line from pymcapostbatch
+ script to allow correct distutils #! replacement.
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Tue, 30 Nov 2010 12:32:47 +0100
+
+pymca (4.4.0-2) unstable; urgency=low
+
+ * Add patch from upstream to fix reading of specfiles (closes: #602471)
+ * Add debian/source/format file with contents '3.0 (quilt)'
+ * Add a README.source file.
+ * Split changes to upstream sources to patches:
+ - 01_paths.patch: Hardcode Debian specific documentation and Python paths.
+ - 02_setup.patch: Misc. changes to setup.py. Do not show license during
+ build, do not install docs to Python dirs, do not remove old files.
+ - 03_specfile-locale.patch: Read specfiles with correct 'C' locale.
+ Define SPECFILE_USE_GNU_SOURCE in setup.py to enable the fix.
+ * Add debian/metapatches/* (DEP3 header info for patches generated from git).
+ * copyright: Fix typo, "algoritm" -> "algorithm"
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Thu, 18 Nov 2010 10:58:07 +0100
+
+pymca (4.4.0-1) unstable; urgency=low
+
+ * New upstream version.
+ * Upload to unstable (Closes: #514903)
+ * setup.py: Use lib-path based on build-time interpreter version
+ in scripts.
+ * control:
+ - Split the data files to arch-independent package pymca-data. Make
+ pymca depend on it.
+ - Upgrade to standards-version 3.9.1.
+ - Upgrade debhelper build-dep to version >= 7.0.50~ because of the
+ use of overrides in rules.
+ - Add build-dep to libglu1-mesa-dev | libglu-dev.
+ * rules:
+ - Preserve phynx .pyc files during clean.
+ - Use overrides, delete data files from the pymca package.
+ * copyright:
+ - Upgrade format specification to dep5.
+ - Add copyright information for nnma and phynx.
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Fri, 03 Sep 2010 14:20:02 +0200
+
+pymca (4.3.0-1) UNRELEASED; urgency=low
+
+ * Initial release.
+
+ -- Teemu Ikonen <tpikonen@gmail.com> Mon, 16 Feb 2009 15:42:16 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..dcd51de
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,238 @@
+Source: pymca
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
+Uploaders: Picca Frédéric-Emmanuel <picca@debian.org>
+Section: science
+Testsuite: autopkgtest
+Priority: optional
+Build-Depends: cython,
+ cython-dbg,
+ cython3,
+ cython3-dbg,
+ debhelper (>= 9),
+ dh-python,
+ libglu1-mesa-dev,
+ libqhull-dev,
+ python-all-dbg,
+ python-all-dev,
+ python-fisx <!nocheck>,
+ python-fisx-dbg <!nocheck>,
+ python-h5py <!nocheck> <!nodoc>,
+ python-h5py-dbg <!nocheck> <!nodoc>,
+ python-ipython,
+ python-matplotlib <!nodoc>,
+ python-matplotlib-dbg <!nodoc>,
+ python-numpy,
+ python-numpy-dbg,
+ python-opengl,
+ python-pyqt5 <!nodoc>,
+ python-pyqt5-dbg <!nodoc>,
+ python-pyqt5.qtopengl <!nodoc>,
+ python-pyqt5.qtopengl-dbg <!nodoc>,
+ python-pyqtgraph,
+ python-qtconsole,
+ python-setuptools,
+ python-sphinx,
+ python-typing,
+ python3-all-dbg,
+ python3-all-dev,
+ python3-fisx <!nocheck>,
+ python3-fisx-dbg <!nocheck>,
+ python3-h5py <!nocheck> <!nodoc>,
+ python3-h5py-dbg <!nocheck> <!nodoc>,
+ python3-ipython,
+ python3-matplotlib <!nodoc>,
+ python3-matplotlib-dbg <!nodoc>,
+ python3-numpy,
+ python3-numpy-dbg,
+ python3-opengl,
+ python3-pyqt5 <!nodoc>,
+ python3-pyqt5-dbg <!nodoc>,
+ python3-pyqt5.qtopengl <!nodoc>,
+ python3-pyqt5.qtopengl-dbg <!nodoc>,
+ python3-pyqtgraph,
+ python3-qtconsole,
+ python3-setuptools,
+ python3-sphinx
+Standards-Version: 4.1.3
+Vcs-Browser: https://salsa.debian.org/science-team/pymca
+Vcs-Git: https://salsa.debian.org/science-team/pymca.git
+Homepage: https://github.com/vasole/pymca
+
+Package: pymca
+Architecture: all
+Depends: python-pymca5 (>= ${source:Version}),
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends}
+Description: Applications and toolkit for X-ray fluorescence analysis -- scripts
+ PyMca is set of applications and Python libraries for analysis of
+ X-ray fluorescence spectra.
+ .
+ The applications included in this package are:
+ .
+ * edfviewer - Display and inspection of data files in ESRF Data Format
+ * elementsinfo - Displays element specific X-ray data
+ * mca2edf - Converts files from SPEC MCA format to EDF
+ * peakidentifier - Displays X-ray fluorescence peaks in a given energy range
+ * pymcabatch - Batch fitting of spectra
+ * pymcapostbatch - Post-processing of batch fitting results
+ * pymca - Interactive data-analysis
+ * pymcaroitool - Region-of-interest (ROI) imaging tool
+ .
+ The PyMca toolkit can read data files in SPEC, ESRF data file (EDF),
+ OMNIC, HDF5, AIFIRA and SupaVisio formats.
+ .
+ This are the scripts of the package.
+
+Package: python-pymca5
+Architecture: any
+Section: python
+Depends: pymca-data (= ${source:Version}),
+ python-fisx (>= 1.1.4-1~),
+ python-matplotlib,
+ python-opengl,
+ python-qt4 | python-pyside | python-pyqt5,
+ python-qt4-gl | python-pyside | python-pyqt5.qtopengl,
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends}
+Recommends: python-h5py, python-mdp
+Description: Applications and toolkit for X-ray fluorescence analysis -- Python 2
+ PyMca is set of applications and Python libraries for analysis of
+ X-ray fluorescence spectra.
+ .
+ The applications included in this package are:
+ .
+ * edfviewer - Display and inspection of data files in ESRF Data Format
+ * elementsinfo - Displays element specific X-ray data
+ * mca2edf - Converts files from SPEC MCA format to EDF
+ * peakidentifier - Displays X-ray fluorescence peaks in a given energy range
+ * pymcabatch - Batch fitting of spectra
+ * pymcapostbatch - Post-processing of batch fitting results
+ * pymca - Interactive data-analysis
+ * pymcaroitool - Region-of-interest (ROI) imaging tool
+ .
+ The PyMca toolkit can read data files in SPEC, ESRF data file (EDF),
+ OMNIC, HDF5, AIFIRA and SupaVisio formats.
+ .
+ This is the Python 2 version of the package.
+
+Package: python-pymca5-dbg
+Architecture: any
+Section: debug
+Depends: python-fisx-dbg (>= 1.1.4-1~),
+ python-matplotlib-dbg,
+ python-opengl,
+ python-pymca5 (= ${binary:Version}),
+ python-qt4-dbg | python-pyqt5-dbg,
+ python-qt4-gl-dbg | python-pyqt5.qtopengl-dbg,
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends}
+Recommends: python-dbg, python-h5py-dbg, python-mdp
+Description: Applications and toolkit for X-ray fluorescence analysis -- Python 2 debug
+ PyMca is set of applications and Python libraries for analysis of
+ X-ray fluorescence spectra.
+ .
+ The applications included in this package are:
+ .
+ * edfviewer - Display and inspection of data files in ESRF Data Format
+ * elementsinfo - Displays element specific X-ray data
+ * mca2edf - Converts files from SPEC MCA format to EDF
+ * peakidentifier - Displays X-ray fluorescence peaks in a given energy range
+ * pymcabatch - Batch fitting of spectra
+ * pymcapostbatch - Post-processing of batch fitting results
+ * pymca - Interactive data-analysis
+ * pymcaroitool - Region-of-interest (ROI) imaging tool
+ .
+ The PyMca toolkit can read data files in SPEC, ESRF data file (EDF),
+ OMNIC, HDF5, AIFIRA and SupaVisio formats.
+ .
+ This is the Python 2 debug version of the package.
+
+Package: python3-pymca5
+Architecture: any
+Section: python
+Depends: pymca-data (= ${source:Version}),
+ python3-fisx (>= 1.1.4-1~),
+ python3-matplotlib,
+ python3-opengl,
+ python3-pyqt4 | python3-pyside | python3-pyqt5,
+ python3-pyqt4.qtopengl | python3-pyside | python3-pyqt5.qtopengl,
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends}
+Recommends: python3-h5py, python3-mdp
+Description: Applications and toolkit for X-ray fluorescence analysis -- Python 3
+ PyMca is set of applications and Python libraries for analysis of
+ X-ray fluorescence spectra.
+ .
+ The applications included in this package are:
+ .
+ * edfviewer - Display and inspection of data files in ESRF Data Format
+ * elementsinfo - Displays element specific X-ray data
+ * mca2edf - Converts files from SPEC MCA format to EDF
+ * peakidentifier - Displays X-ray fluorescence peaks in a given energy range
+ * pymcabatch - Batch fitting of spectra
+ * pymcapostbatch - Post-processing of batch fitting results
+ * pymca - Interactive data-analysis
+ * pymcaroitool - Region-of-interest (ROI) imaging tool
+ .
+ The PyMca toolkit can read data files in SPEC, ESRF data file (EDF),
+ OMNIC, HDF5, AIFIRA and SupaVisio formats.
+ .
+ This is the Python 3 version of the package.
+
+Package: python3-pymca5-dbg
+Architecture: any
+Section: debug
+Depends: python3-fisx-dbg (>= 1.1.4-1~),
+ python3-matplotlib-dbg,
+ python3-opengl,
+ python3-pymca5 (= ${binary:Version}),
+ python3-pyqt4-dbg | python3-pyqt5-dbg,
+ python3-pyqt4.qtopengl-dbg | python3-pyqt5.qtopengl-dbg,
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends}
+Recommends: python3-dbg, python3-h5py-dbg, python3-mdp
+Description: Applications and toolkit for X-ray fluorescence analysis -- Python 3 debug
+ PyMca is set of applications and Python libraries for analysis of
+ X-ray fluorescence spectra.
+ .
+ The applications included in this package are:
+ .
+ * edfviewer - Display and inspection of data files in ESRF Data Format
+ * elementsinfo - Displays element specific X-ray data
+ * mca2edf - Converts files from SPEC MCA format to EDF
+ * peakidentifier - Displays X-ray fluorescence peaks in a given energy range
+ * pymcabatch - Batch fitting of spectra
+ * pymcapostbatch - Post-processing of batch fitting results
+ * pymca - Interactive data-analysis
+ * pymcaroitool - Region-of-interest (ROI) imaging tool
+ .
+ The PyMca toolkit can read data files in SPEC, ESRF data file (EDF),
+ OMNIC, HDF5, AIFIRA and SupaVisio formats.
+ .
+ This is the Python 3 debug version of the package.
+
+Package: pymca-data
+Architecture: all
+Depends: ${misc:Depends}
+Description: Architecture independent data files for PyMca
+ PyMca is set of applications and Python libraries for analysis of
+ X-ray fluorescence spectra.
+ .
+ This package contains the architecture independent data files for PyMca.
+
+Package: pymca-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Breaks: pymca (<< 5.1.2+dfsg)
+Replaces: pymca (<< 5.1.2+dfsg)
+Description: Documentation files for PyMca
+ PyMca is set of applications and Python libraries for analysis of
+ X-ray fluorescence spectra.
+ .
+ This package contains the documentation files for PyMca.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b441644
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,318 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: PyMCA
+Upstream-Contact: V. Armando Sole <sole@esrf.fr>
+Files-Excluded: PyMca5/PyMcaMath/sift third-party/qhull third-party/fisx
+ third-party/khronos_headers
+
+Files: *
+Copyright: 2004-2017, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/*
+Copyright: 1995-2017, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/Object3D/*
+Copyright: 2004-2017, V.A. Sole, European Synchrotron Radiation Facility
+License: LGPL-2+
+
+Files: PyMca5/Object3D/Object3DCTools/*
+Copyright: 2004-2015, Cory Bloyd (corysama@yahoo.com)
+License: Expat
+
+Files: PyMca5/Object3D/Object3DCTools/Object3DCTools.c
+ PyMca5/Object3D/Object3DCTools/setup.py
+Copyright: 2004-2017, V.A. Sole, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/Object3D/Object3DQhull/*
+Copyright: 1995-2017, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/Object3D/Object3DQhull/Object3DQhull.c
+Copyright: 2004-2017, V.A. Sole, European Synchrotron Radiation Facility
+License: LGPL-2+
+
+Files: PyMca5/Object3D/Object3DQhull/_qhull/*
+Copyright: 2004-2014, European Synchrotron Radiation Facility (ESRF)
+License: Expat
+
+Files: PyMca5/Object3D/qtconffile
+Copyright: 2004-2013, European Synchrotron Radiation Facility
+License: LGPL-2+
+
+Files: PyMca5/Object3D/scripts/*
+Copyright: 2002, 2004-2015, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/Object3D/scripts/object3d_win_post_install.py
+Copyright: 1995-2017, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMca/*
+Copyright: 2004-2017, V.A. Sole, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaCore/XiaCorrect.py
+Copyright: 2004-2015, E. Papillon, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaData/*
+Copyright: 2004-2014, European Synchrotron Radiation Facility (ESRF)
+License: Expat
+
+Files: PyMca5/PyMcaGraph/ctools/_ctools/cython/_ctools.c
+Copyright: 2002, 2004-2015, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaGraph/ctools/_ctools/include/InsidePolygonWithBounds.h
+Copyright: Paul Bourke
+License: Expat
+
+Files: PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c
+Copyright: Paul Bourke
+License: Expat
+
+Files: PyMca5/PyMcaGui/*
+Copyright: 2004-2017, V.A. Sole, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaGui/io/QEdfFileWidget.py
+ PyMca5/PyMcaGui/io/QSpecFileWidget.py
+ PyMca5/PyMcaGui/io/QSpsWidget.py
+ PyMca5/PyMcaGui/io/SpecFileCntTable.py
+ PyMca5/PyMcaGui/io/SpecFileMcaTable.py
+Copyright: 2004-2017, E. Papillon, V.A. Sole, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaGui/io/hdf5/HDF5Widget.py
+Copyright: 2004-2017, V.A. Sole, ESRF - D. Dale CHESS
+License: Expat
+
+Files: PyMca5/PyMcaGui/math/fitting/RateLawWindow.py
+Copyright: 1995-2017, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaGui/misc/TableWidget.py
+Copyright: 1995-2017, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaGui/physics/*
+Copyright: 1995-2017, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaGui/plotting/ImageView.py
+ PyMca5/PyMcaGui/plotting/Toolbars.py
+ PyMca5/PyMcaGui/plotting/_ImageProfile.py
+Copyright: 1995-2017, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaGui/pymca/PyMca_help.py
+Copyright: 2004-2017, E. Papillon, V.A. Sole, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaGui/pymca/StackROIBatchWindow.py
+ PyMca5/PyMcaGui/pymca/StackXASBatchWindow.py
+Copyright: 1995-2017, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaGui/pymca/SumRulesTool.py
+ PyMca5/PyMcaGui/pymca/XMCDWindow.py
+Copyright: 2004-2017, T. Rueter, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaGui/pymca/XiaCorrectWizard.py
+Copyright: 2004-2015, E. Papillon, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaIO/MEDFile.py
+Copyright: 2010, Matthew Newville, The University of Chicago
+License: Expat
+
+Files: PyMca5/PyMcaIO/NumpyStack.py
+Copyright: 2016, Diamond Light Source
+License: Expat
+
+Files: PyMca5/PyMcaIO/PyMcaIOHelper/*
+Copyright: 2004-2017, V.A. Sole, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaIO/specfile/MANIFEST.in
+Copyright: 2004-2013, European Synchrotron Radiation Facility
+License: LGPL-2+
+
+Files: PyMca5/PyMcaIO/specfile/src/specfile_py.c
+ PyMca5/PyMcaIO/specfile/src/specfile_py3.c
+Copyright: 2004-2015, European Synchrotron Radiation Facility
+License: LGPL-2+
+
+Files: PyMca5/PyMcaIO/sps/Include/*
+Copyright: 1998-2017, European Synchrotron Radiation Facility (ESRF)
+License: Expat
+
+Files: PyMca5/PyMcaIO/sps/Include/spec_shm.h
+Copyright: 1995-2010, Certified Scientific Software
+License: Expat
+
+Files: PyMca5/PyMcaIO/sps/Include/sps.h
+Copyright: 1998-2013, Certified Scientific Software (CSS)
+ 1998-2010, European Synchrotron Radiation Facility (ESRF)
+License: Expat
+
+Files: PyMca5/PyMcaIO/sps/Include/sps_lut.h
+Copyright: 2004-2009, European Synchrotron Radiation Facility
+License: GPL-2+
+
+Files: PyMca5/PyMcaIO/sps/MANIFEST.in
+Copyright: 2002, 2004-2015, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaIO/sps/Src/sps.c
+Copyright: 1998-2016, European Synchrotron Radiation Facility (ESRF)
+ 1998-2016, Certified Scientific Software (CSS)
+License: Expat
+
+Files: PyMca5/PyMcaIO/sps/Src/sps_py.c
+Copyright: 1998-2017, European Synchrotron Radiation Facility (ESRF)
+License: Expat
+
+Files: PyMca5/PyMcaMath/PyMcaSciPy/*
+Copyright: 2005, Travis Oliphant
+ 2003-2009, SciPy Developers.
+ 2001, 2002, Enthought, Inc.
+License: BSD-3-clause
+
+Files: PyMca5/PyMcaMath/PyMcaSciPy/signal/__init__.py
+ PyMca5/PyMcaMath/PyMcaSciPy/signal/median.py
+Copyright: 1995-2017, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaMath/SGModule.py
+Copyright: 2008, Uwe Schmitt
+License: Expat
+
+Files: PyMca5/PyMcaMath/mva/NNMAModule.py
+Copyright: 2008, 2009, Uwe Schmitt, uschmitt@mineway.de
+License: BSD-3-clause
+
+Files: PyMca5/PyMcaMath/mva/py_nnma/*
+Copyright: 2008, 2009, Uwe Schmitt, uschmitt@mineway.de
+License: BSD-3-clause
+
+Files: PyMca5/PyMcaPhysics/xas/_xas/cython/*
+Copyright: 2002, 2004-2015, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaPhysics/xas/_xas/cython/_xas.pyx
+Copyright: 1995-2017, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaPlugins/*
+Copyright: 2004-2017, V.A. Sole, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaPlugins/AdvancedAlignmentScanPlugin.py
+Copyright: 2004-2015, T. Rueter, V.A. Sole, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaPlugins/MedianFilterScanDeglitchPlugin.py
+Copyright: 2004-2015, T.Rueter, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaPlugins/MotorInfoPlugin.py
+ PyMca5/PyMcaPlugins/MotorInfoWindow.py
+ PyMca5/PyMcaPlugins/XMCDPlugin.py
+Copyright: 2004-2017, T. Rueter, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaPlugins/MultipleScanToMeshPlugin.py
+Copyright: 2004-2016, M. Rovezzi, V.A. Sole European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaPlugins/optional/*
+Copyright: 2004-2015, V.A. Sole, T. Coutinho, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/PyMcaPlugins/optional/JsonRpc1DPlugin.py
+Copyright: 1995-2017, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/__init__.py
+Copyright: 2004-2017, V.A. Sole, European Synchrotron Radiation Facility
+License: Expat
+
+Files: PyMca5/scripts/*
+Copyright: 2002, 2004-2015, European Synchrotron Radiation Facility
+License: Expat
+
+Files: build-deb.sh
+Copyright: 2015-2017, European Synchrotron Radiation Facility, Grenoble, France
+License: Expat
+
+Files: debian/*
+Copyright: 2010-2015, Picca Frederic-Emmanuel <picca@debian.org>
+ 2009, 2010, Teemu Ikonen <tpikonen@gmail.com>
+License: Expat
+
+Files: scripts/*
+Copyright: 2004-2013, V. Armando Sole - ESRF
+License: Expat
+
+Files: version.py
+Copyright: 1995-2017, European Synchrotron Radiation Facility
+License: Expat
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ a. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ b. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ c. Neither the name of Enthought nor the names of the SciPy Developers
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIEED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIEED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of the software in these files (the "Software"), to deal in
+ the Software without restriction, including without limitation the
+ rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIExpatED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+License: LGPL-2+
+ This toolkit is free software; you can redistribute
+ it and/or modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either version
+ 2 of the License, or (at your option) any later version.
+ .
+ In Debian systems, the GNU General Public License version 2 can be
+ found at /usr/share/common-licenses/LGPL-2
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/pymca-doc.doc-base b/debian/pymca-doc.doc-base
new file mode 100644
index 0000000..dc74e81
--- /dev/null
+++ b/debian/pymca-doc.doc-base
@@ -0,0 +1,11 @@
+Document: pymca
+Title: PyMCA – X-Ray Spectrum Analysis in Python
+Author: V. A. Solé and E. Papillon
+Abstract: Introduction to PyMCA X-Ray Spectrum Analysis software
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/pymca-doc/html/index.html
+Files: /usr/share/doc/pymca-doc/html/*.html
+
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c345cca
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,77 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE=1
+export HOME=/tmp
+export SPECFILE_USE_GNU_SOURCE=1
+export WITH_CYTHON=1
+export QHULL_CFLAGS=-I/usr/include/qhull
+export QHULL_LIBS=-lqhull
+export PYMCA_DATA_DIR=/usr/share/pymca
+export PYMCA_DOC_DIR=$(PYMCA_DATA_DIR)/doc
+
+export PYMCA_DATA_DIR_TEST=$(CURDIR)/PyMca5/PyMcaData/
+export PYMCA_DOC_DIR_TEST=$(PYMCA_DATA_DIR_TEST)/doc
+
+export PYBUILD_NAME=pymca5
+export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin/ {destdir}/usr/share/man {destdir}$(PYMCA_DATA_DIR)
+
+# 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,PyMca5/,*.pyx)
+#NOTA: No space before *
+
+%:
+ dh $@ --with python2,python3,sphinxdoc --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 *.egg-info
+ # remove the built documentation
+ rm -rf doc/build
+
+override_dh_installchangelogs:
+ dh_installchangelogs changelog.txt
+
+override_dh_install:
+ dh_install -O--buildsystem=pybuild
+
+ # pymca
+ python setup.py install_scripts -d debian/pymca/usr/bin
+ python setup.py install_man -d debian/pymca/usr/share/man
+
+ dh_install -p pymca package/desktop/edfviewer.desktop usr/share/applications
+ dh_install -p pymca package/desktop/elementsinfo.desktop usr/share/applications
+ dh_install -p pymca package/desktop/peakidentifier.desktop usr/share/applications
+ dh_install -p pymca package/desktop/pymca.desktop usr/share/applications
+ dh_install -p pymca package/desktop/pymca.xpm usr/share/pixmaps
+ dh_install -p pymca package/desktop/pymcaroitool.desktop usr/share/applications
+
+ # pymca-data
+ python setup.py install_data --root debian/pymca-data/
+ rm -f debian/pymca-data/usr/share/pymca/EPDL97/LICENSE
+ rm -f debian/pymca-data/usr/share/pymca/LICENSE
+ rm -f debian/pymca-data/usr/share/pymca/LICENSE.GPL
+ rm -f debian/pymca-data/usr/share/pymca/LICENSE.LGPL
+ rm -f debian/pymca-data/usr/share/pymca/LICENSE.MIT
+ rm -rf debian/pymca-data/usr/share/pymca/doc/HTML/PyMCA_files/
+
+ dh_numpy
+ dh_numpy3
+
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="cd {build_dir} && PYMCA_DATA_DIR=$(PYMCA_DATA_DIR_TEST) {interpreter} PyMca5/tests/TestAll.py" dh_auto_test
+
+override_dh_sphinxdoc:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_BUILD_ARGS="cd doc && PYTHONPATH={build_dir} PYMCA_DATA_DIR=$(PYMCA_DATA_DIR_TEST) http_proxy='127.0.0.1:9' {interpreter} -m sphinx -N -bhtml source build/html" dh_auto_build # HTML generator
+ dh_installdocs "doc/build/html" -p pymca-doc
+ dh_sphinxdoc -O--buildsystem=pybuild
+endif
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..45f948b
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,11 @@
+Tests: python2
+Depends: python-pymca5, python-all
+
+Tests: python3
+Depends: python3-pymca5, python3-all
+
+Tests: python2-dbg
+Depends: python-pymca5-dbg, python-all-dbg
+
+Tests: python3-dbg
+Depends: python3-pymca5-dbg, python3-all-dbg
diff --git a/debian/tests/python2 b/debian/tests/python2
new file mode 100755
index 0000000..1b84e52
--- /dev/null
+++ b/debian/tests/python2
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e -u
+cd "$ADTTMP"
+
+for python in $(pyversions -i); do
+ PYTHONWARNINGS=d $python -m PyMca5.tests.TestAll 2>&1
+done
+
diff --git a/debian/tests/python2-dbg b/debian/tests/python2-dbg
new file mode 100755
index 0000000..43d1a2e
--- /dev/null
+++ b/debian/tests/python2-dbg
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e -u
+cd "$ADTTMP"
+
+for python in $(pyversions -i); do
+ PYTHONWARNINGS=d $python-dbg -m PyMca5.tests.TestAll 2>&1
+done
+
diff --git a/debian/tests/python3 b/debian/tests/python3
new file mode 100755
index 0000000..132b0c4
--- /dev/null
+++ b/debian/tests/python3
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e -u
+cd "$ADTTMP"
+
+for python in $(py3versions -i); do
+ PYTHONWARNINGS=d $python -m PyMca5.tests.TestAll 2>&1
+done
+
diff --git a/debian/tests/python3-dbg b/debian/tests/python3-dbg
new file mode 100755
index 0000000..e4f5fa4
--- /dev/null
+++ b/debian/tests/python3-dbg
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e -u
+cd "$ADTTMP"
+
+for python in $(py3versions -i); do
+ PYTHONWARNINGS=d $python-dbg -m PyMca5.tests.TestAll 2>&1
+done
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a59271d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+opts=repacksuffix=+dfsg,\
+dversionmangle=s/.dfsg//, \
+https://pypi.python.org/packages/source/p/PyMca5/ \
+ PyMca5@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate