diff options
author | Picca Frédéric-Emmanuel <picca@debian.org> | 2017-09-20 20:17:29 +0200 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@debian.org> | 2017-09-20 20:17:29 +0200 |
commit | a97c9281972b9c23b50080c064ea4bed7c72588d (patch) | |
tree | f796e340ac88f9206a9f885089ac6193eda0adf7 | |
parent | 55ac9919edc5cdeae0c7f48a6a1b9b3b8806e8e2 (diff) | |
parent | bf40b4b3a7a1f2f953bd89ee61fed830162e0f12 (diff) |
python-fabio (0.5.0+dfsg-2) unstable; urgency=medium
* d/control
- python-qt4 -> python3-pyqt4-dbg (Closes: #876288)
[dgit import unpatched python-fabio 0.5.0+dfsg-2]
-rw-r--r-- | debian/changelog | 159 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 169 | ||||
-rw-r--r-- | debian/copyright | 226 | ||||
-rw-r--r-- | debian/copyright-scan-patterns.yml | 15 | ||||
-rw-r--r-- | debian/fill.copyright.blanks.yml | 50 | ||||
-rw-r--r-- | debian/fix.scanned.copyright | 4 | ||||
-rw-r--r-- | debian/patches/0001-do-not-touch-PYTHONPATH.patch | 22 | ||||
-rw-r--r-- | debian/patches/0002-fix-the-install_requires-depends.patch | 29 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rw-r--r-- | debian/py3dist-overrides | 1 | ||||
-rw-r--r-- | debian/pydist-overrides | 1 | ||||
-rw-r--r-- | debian/python-fabio-doc.doc-base | 9 | ||||
-rwxr-xr-x | debian/rules | 48 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 5 |
16 files changed, 742 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f2eed76 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,159 @@ +python-fabio (0.5.0+dfsg-2) unstable; urgency=medium + + * d/control + - python-qt4 -> python3-pyqt4-dbg (Closes: #876288) + + -- Picca Frédéric-Emmanuel <picca@debian.org> Wed, 20 Sep 2017 20:17:29 +0200 + +python-fabio (0.5.0+dfsg-1) unstable; urgency=medium + + * New upstream version 0.5.0+dfsg + * switch to compat level 10 + * d/control + - fabio-viewer scripts python2 -> python3 + - Bump Standard-Versions to 4.1.0 (extra -> optional) + - cme fixed + - wrap-and-sort + - Build-Depends + + Added help2man, + python[3]-h5py[-dbg], + python[3]-matplotlib[-dbg], + python-pil[-dbg], + python-qt4|dbg], python3-pyqt4[-dbg], + xauth, xvfb + - Removed python-imaging[-dbg] + * d/copyright + - updated the Files-excludes for 0.5.0 + - Setting up and using cme upgrade dpkg-copyright + * d/patch + - Added 0001-do-not-touch-PYTHONPATH.patch + - Added 0002-fix-the-install_requires-depends.patch + * d/rules + - Used xvfb to generate the manpages + + -- Picca Frédéric-Emmanuel <picca@debian.org> Sat, 02 Sep 2017 16:12:29 +0200 + +python-fabio (0.4.0+dfsg-2) unstable; urgency=medium + + * debian/rules + * fixed for jessie-backports + + -- Picca Frédéric-Emmanuel <picca@debian.org> Thu, 28 Jul 2016 11:33:20 +0200 + +python-fabio (0.4.0+dfsg-1) unstable; urgency=medium + + * Imported Upstream version 0.4.0+dfsg + * New homepage https://github.com/silx-kit/fabio + * debian/control + * Remove Build-Dep: pymca + * debian/patchs + - 0001-fix-the-documentation-build-process.patch (deleted) + + 0002 -> 0001-fix-upstream-wrong-six-import.patch (refreshed) + + -- Picca Frédéric-Emmanuel <picca@debian.org> Wed, 27 Jul 2016 18:31:23 +0200 + +python-fabio (0.3.0+dfsg-1) unstable; urgency=medium + + * Imported Upstream version 0.3.0+dfsg + * debian/patchs + - 0001-fix-the-build-system.patch (removed) + + 0001-fix-the-documentation-build-process.patch (added) + + 0002-fix-upstream-wrong-six-import.patch (added) + + -- Picca Frédéric-Emmanuel <picca@debian.org> Mon, 04 Jan 2016 11:34:23 +0100 + +python-fabio (0.2.2+dfsg-3) unstable; urgency=medium + + * debian/control + - fix Dependency to deal with backports + (0.2.2+dfsg-2 -> 0.2.2+dfsg-2~) + - remove the circular dependency (Closes: #794153) + (python-fabio only Recommends fabio-viewer) + + -- Picca Frédéric-Emmanuel <picca@debian.org> Tue, 29 Sep 2015 10:20:19 +0200 + +python-fabio (0.2.2+dfsg-2) unstable; urgency=medium + + * Add python3 modules and put the scripts into fabio-viewer + + -- Picca Frédéric-Emmanuel <picca@debian.org> Mon, 27 Jul 2015 10:03:05 +0200 + +python-fabio (0.2.2+dfsg-1) unstable; urgency=medium + + * Imported Upstream version 0.2.2+dfsg + * Repack in order to exclude third_party modules + * debian/control + - Bump Standard-Versions to 3.9.6 (no change) + - Add Build-Depends: python-six, pymca, + python-sphinxcontrib.programoutput + * debian/patchs + - 0001-fix-the-build-system.patch (added) + * debian/watch + - use the PyPi redirector + + -- Picca Frédéric-Emmanuel <picca@debian.org> Wed, 22 Jul 2015 16:13:10 +0200 + +python-fabio (0.1.4-1) unstable; urgency=medium + + * Imported Upstream version 0.1.4 (Closes: #735432, #693121) + * Run all tests during the build (thanks to pybuild) + * debian/control + - Add Build-Depends: dh-python for pybuild + * debian/compat + - switch to compat level 9 + * debian/copyright + - updated for 0.1.4 version + * debian/patchs + - deleted (applyed by upstream) + - 0001-forwarded-upstream-cythonize-during-the-build.patch + - 0002-compat_2.5.patch + * debian/rules + - use the pybuild buildsystem + * debian/watch + - use the sourceforge redirector + + -- Picca Frédéric-Emmanuel <picca@debian.org> Sat, 05 Apr 2014 09:24:15 +0200 + +python-fabio (0.1.3-3) unstable; urgency=medium + + * fix the FTBFS when sphinxdoc is not installed + + -- Picca Frédéric-Emmanuel <picca@debian.org> Wed, 15 Jan 2014 19:32:16 +0100 + +python-fabio (0.1.3-2) unstable; urgency=medium + + [kieffer] + * Fix Lintian remarks + * Correct compatibility with Python 2.5 + + [picca] + * debian/control + - Bump Standard-Versions to 3.9.5 (no change) + - Add the python-fabio-dbg package + - Add the python-fabio-doc package + - Team maintained under debian-science + - Build-Depends: add cython + * debian/patch + + 0001-forwarded-upstream-cythonize-during-the-build.patch (new) + + -- Picca Frédéric-Emmanuel <picca@debian.org> Fri, 27 Dec 2013 09:46:21 +0100 + +python-fabio (0.1.3-1) unstable; urgency=low + + [kieffer] + * New upstream version (v0.1.3) + + [picca] + * debian/control + - use the right python-all-dev version dependencies for dh_python2. + - remove had coded numpy dependencies which are generated by dh_numpy. + - add myself as Uploaders. + - update the homepage add the VCS informations. + + -- Picca Frédéric-Emmanuel <picca@debian.org> Sat, 02 Nov 2013 21:40:48 +0100 + +python-fabio (0.0.8-1) unstable; urgency=low + + * Initial release (Closes: #649008) + + -- Jerome Kieffer <jerome.kieffer@esrf.fr> Fri, 18 Nov 2011 16:19:20 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..07c80e5 --- /dev/null +++ b/debian/control @@ -0,0 +1,169 @@ +Source: python-fabio +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: optional +Build-Depends: cython, + cython-dbg, + cython3, + cython3-dbg, + debhelper (>= 10), + dh-python, + help2man, + python-all-dbg, + python-all-dev, + python-h5py, + python-h5py-dbg, + python-lxml, + python-lxml-dbg, + python-matplotlib, + python-matplotlib-dbg, + python-numpy, + python-numpy-dbg, + python-pil, + python-pil-dbg, + python-qt4, + python-qt4-dbg, + python-setuptools, + python-six, + python-sphinx, + python-sphinxcontrib.programoutput, + python3-all-dbg, + python3-all-dev, + python3-h5py, + python3-h5py-dbg, + python3-lxml, + python3-lxml-dbg, + python3-matplotlib, + python3-matplotlib-dbg, + python3-numpy, + python3-numpy-dbg, + python3-pil, + python3-pil-dbg, + python3-pyqt4, + python3-pyqt4-dbg, + python3-setuptools, + python3-six, + python3-sphinx, + python3-sphinxcontrib.programoutput, + xauth, + xvfb +Standards-Version: 4.1.0 +Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/python-fabio.git +Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/python-fabio.git +Homepage: https://github.com/silx-kit/fabio +X-Python-Version: >= 2.5 +X-Python3-Version: >= 3.4 + +Package: fabio-viewer +Architecture: all +Section: python +Depends: python3-fabio (>= ${source:Version}), + ${misc:Depends}, + ${python3:Depends} +Breaks: python-fabio (<< 0.2.2+dfsg-2~) +Replaces: python-fabio (<< 0.2.2+dfsg-2~) +Description: Viewer for images produced by 2D X-ray detector + FabIO is an I/O library for images produced by 2D X-ray detectors and + written in Python. FabIO support images detectors from a dozen of + companies (including Mar, Dectris, ADSC, Hamamatsu, Oxford, ...), for + a total of 20 different file formats (like CBF, EDF, TIFF, ...) and + offers an unified interface to their headers (as a Python dictionary) + and datasets (as a numpy ndarray of integers or floats) + . + Binaries provided with python-fabio + +Package: python-fabio +Architecture: any +Section: python +Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} +Suggests: python-fabio-doc +Description: I/O library for images produced by 2D X-ray detector - Python2 + FabIO is an I/O library for images produced by 2D X-ray detectors and + written in Python. FabIO support images detectors from a dozen of + companies (including Mar, Dectris, ADSC, Hamamatsu, Oxford, ...), for + a total of 20 different file formats (like CBF, EDF, TIFF, ...) and + offers an unified interface to their headers (as a Python dictionary) + and datasets (as a numpy ndarray of integers or floats) + . + This is the Python 2 version of the package. + +Package: python-fabio-dbg +Architecture: any +Section: debug +Depends: python-dbg, + python-fabio (= ${binary:Version}), + python-h5py-dbg, + python-lxml-dbg, + python-matplotlib-dbg, + python-numpy-dbg, + python-pil-dbg, + python-qt4-dbg, + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends} +Description: I/O library for images produced by 2D X-ray detector - Python2 debug + FabIO is an I/O library for images produced by 2D X-ray detectors and + written in Python. FabIO support images detectors from a dozen of + companies (including Mar, Dectris, ADSC, Hamamatsu, Oxford, ...), for + a total of 20 different file formats (like CBF, EDF, TIFF, ...) and + offers an unified interface to their headers (as a Python dictionary) + and datasets (as a numpy ndarray of integers or floats) + . + This package contains the extension built for the Python 2 debug + interpreter. + +Package: python3-fabio +Architecture: any +Section: python +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} +Suggests: python-fabio-doc +Description: I/O library for images produced by 2D X-ray detector - Python3 + FabIO is an I/O library for images produced by 2D X-ray detectors and + written in Python. FabIO support images detectors from a dozen of + companies (including Mar, Dectris, ADSC, Hamamatsu, Oxford, ...), for + a total of 20 different file formats (like CBF, EDF, TIFF, ...) and + offers an unified interface to their headers (as a Python dictionary) + and datasets (as a numpy ndarray of integers or floats) + . + This is the Python 3 version of the package. + +Package: python3-fabio-dbg +Architecture: any +Section: debug +Depends: python3-dbg, + python3-fabio (= ${binary:Version}), + python3-h5py-dbg, + python3-lxml-dbg, + python3-matplotlib-dbg, + python3-numpy-dbg, + python3-pil-dbg, + python3-pyqt4-dbg, + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends} +Description: I/O library for images produced by 2D X-ray detector - Python3 debug + FabIO is an I/O library for images produced by 2D X-ray detectors and + written in Python. FabIO support images detectors from a dozen of + companies (including Mar, Dectris, ADSC, Hamamatsu, Oxford, ...), for + a total of 20 different file formats (like CBF, EDF, TIFF, ...) and + offers an unified interface to their headers (as a Python dictionary) + and datasets (as a numpy ndarray of integers or floats) + . + This package contains the extension built for the Python 3 debug + interpreter. + +Package: python-fabio-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, ${sphinxdoc:Depends} +Description: I/O library for images produced by 2D X-ray detector - documentation + FabIO is an I/O library for images produced by 2D X-ray detectors and + written in Python. FabIO support images detectors from a dozen of + companies (including Mar, Dectris, ADSC, Hamamatsu, Oxford, ...), for + a total of 20 different file formats (like CBF, EDF, TIFF, ...) and + offers an unified interface to their headers (as a Python dictionary) + and datasets (as a numpy ndarray of integers or floats) + . + This is the common documentation package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f395eae --- /dev/null +++ b/debian/copyright @@ -0,0 +1,226 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: fabio +Upstream-Contact: Jérôme Kieffer <kieffer@esrf.eu> +Source: https://github.com/silx-kit/fabio/releases/tag/v0.4.0 +Files-Excluded: fabio/third_party/_local + pylint + +Files: * +Copyright: 2007-2009 Henning O. Sorensen & Erik Knudsen + Center for Fundamental Research: Metal Structures in Four Dimensions + Risoe National Laboratory + Frederiksborgvej 399 + DK-4000 Roskilde + email:erik.knudsen@risoe.dk + 2009-2016 Jonathan P. Wright, Jerome Kieffer and Gael Goret + European Synchrotron Radiation Facility + 6 rue Jules Horowitz + 38000 Grenoble, France +License: Expat + +Files: debian/* +Copyright: 2011 Jerome Kieffer <jerome.kieffer@esrf.fr> + 2013-2014 Picca Frederic-Emmanuel <picca@debian.org> +License: Expat + +Files: doc/source/mathjax.py +Copyright: Copyright 2007-2013,the Sphinx team, see AUTHORS. +License: BSD-3-clause + +Files: fabio/* +Copyright: European Synchrotron Radiation Facility, Grenoble, France +License: Expat + +Files: fabio/TiffIO.py + fabio/cbfimage.py + fabio/eigerimage.py + fabio/fit2dimage.py + fabio/hdf5image.py + fabio/jpeg2kimage.py + fabio/jpegimage.py + fabio/mrcimage.py + fabio/nexus.py + fabio/numpyimage.py + fabio/setup.py + fabio/tifimage.py + fabio/xsdimage.py +Copyright: 2004-2016, European Synchrotron Radiation Facility +License: Expat + +Files: fabio/__init__.py + fabio/adscimage.py + fabio/binaryimage.py +Copyright: European Synchrotron Radiation Facility, Grenoble, France +License: GPL-3+ + +Files: fabio/app/setup.py +Copyright: 2004-2016, European Synchrotron Radiation Facility +License: Expat + +Files: fabio/benchmark/setup.py +Copyright: 2004-2016, European Synchrotron Radiation Facility +License: Expat + +Files: fabio/ext/* +Copyright: 2015, European Synchrotron Radiation Facility, Grenoble, France +License: Expat + +Files: fabio/ext/include/* +Copyright: 2007-2009, Henning O. Sorensen & Erik Knudsen +License: LGPL-3+ + +Files: fabio/ext/include/columnfile.h +Copyright: ??? +License: Expat + +Files: fabio/ext/include/msvc/* +Copyright: 2006-2008, Alexander Chemeris +License: BSD-2-clause + Please fill license BSD-2-clause from header of fabio/ext/include/msvc/* + +Files: fabio/ext/include/msvc/stdint.h +Copyright: 2006-2008 Alexander Chemeris +License: BSD-3-clause + +Files: fabio/ext/setup.py +Copyright: 2004-2016, European Synchrotron Radiation Facility +License: Expat + +Files: fabio/ext/src/* +Copyright: ??? +License: Expat + +Files: fabio/ext/src/ccp4_pack.c +Copyright: 2007-2009, Henning O. Sorensen & Erik Knudsen +License: LGPL-3+ + +Files: fabio/mpaimage.py +Copyright: 2017, Cornell High Energy Synchrotron Source +License: Expat + +Files: fabio/raxisimage.py +Copyright: Brian R. Pauw <brian@stack.nl> +License: Expat + +Files: fabio/speimage.py +Copyright: 2016, Univeristy Köln, Germany +License: Expat + +Files: fabio/test/* +Copyright: European Synchrotron Radiation Facility, Grenoble, France +License: GPL-3+ + +Files: fabio/test/profile_all.py + fabio/test/test_all_images.py +Copyright: 2015, European Synchrotron Radiation Facility, Grenoble, France +License: Expat + +Files: fabio/test/setup.py + fabio/test/testfit2dimage.py + fabio/test/utilstest.py +Copyright: 2004-2016, European Synchrotron Radiation Facility +License: Expat + +Files: fabio/test/testOXDimage.py + fabio/test/testcompression.py + fabio/test/testeigerimage.py + fabio/test/testfabioconvert.py + fabio/test/testhdf5image.py +Copyright: European Synchrotron Radiation Facility, Grenoble, France +License: Expat + +Files: fabio/test/testspeimage.py +Copyright: 2016, Univeristy Köln, Germany +License: Expat + +Files: fabio/utils/setup.py +Copyright: 2004-2016, European Synchrotron Radiation Facility +License: Expat + +Files: run_tests.py +Copyright: 2004-2016, European Synchrotron Radiation Facility +License: Expat + +Files: setup.py +Copyright: European Synchrotron Radiation Facility, Grenoble, France +License: Expat + +Files: version.py +Copyright: 2015, European Synchrotron Radiation Facility, Grenoble, France +License: Expat + +License: BSD-3-clause + The BSD License + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + * 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. + . + * Neither the name of foo nor the names of its + contributors 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 LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 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 + The MIT License + . + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated + documentation 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 LIMITED 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: GPL-3+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 3 dated June, 2007, or (at + your option) any later version. + . + On Debian systems, the complete text of version 3 of the GNU General + Public License can be found in '/usr/share/common-licenses/GPL-3'. + +License: LGPL-3+ + This program 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; version 3 of the License, or (at + your option) any later version. + . + On Debian systems, the complete text of version 3 of the GNU Lesser + General Public License can be found in `/usr/share/common-licenses/LGPL-3'. diff --git a/debian/copyright-scan-patterns.yml b/debian/copyright-scan-patterns.yml new file mode 100644 index 0000000..ee99613 --- /dev/null +++ b/debian/copyright-scan-patterns.yml @@ -0,0 +1,15 @@ +--- +ignore: + pattern: + - /debian/ + - copyright + - /doc/source/img/viewer.png + - MANIFEST + - PKG-INFO + - egg-info + - fabio/ext/_cif.c + - fabio/ext/byte_offset.c + - fabio/ext/cf_io.c + - fabio/ext/mar345_IO.c + - setup.cfg + - stdeb.cfg diff --git a/debian/fill.copyright.blanks.yml b/debian/fill.copyright.blanks.yml new file mode 100644 index 0000000..d4bce51 --- /dev/null +++ b/debian/fill.copyright.blanks.yml @@ -0,0 +1,50 @@ +--- +README.rst: + copyright: |- + 2007-2009 Henning O. Sorensen & Erik Knudsen + Center for Fundamental Research: Metal Structures in Four Dimensions + Risoe National Laboratory + Frederiksborgvej 399 + DK-4000 Roskilde + email:erik.knudsen@risoe.dk + 2009-2016 Jonathan P. Wright, Jerome Kieffer and Gael Goret + European Synchrotron Radiation Facility + 6 rue Jules Horowitz + 38000 Grenoble, France + license: Expat +doc: + copyright: |- + 2007-2009 Henning O. Sorensen & Erik Knudsen + Center for Fundamental Research: Metal Structures in Four Dimensions + Risoe National Laboratory + Frederiksborgvej 399 + DK-4000 Roskilde + email:erik.knudsen@risoe.dk + 2009-2016 Jonathan P. Wright, Jerome Kieffer and Gael Goret + European Synchrotron Radiation Facility + 6 rue Jules Horowitz + 38000 Grenoble, France + license: Expat +fabio/app/viewer: + copyright: |- + (C) European Synchrotron Radiation Facility, Grenoble, France + Gael Goret <gael.goret@esrf.fr> + license: Expat +fabio/ext/include/columnfile.h: + copyright: ??? + license: Expat +fabio/ext/src/cf_iomodule.c: + copyright: ??? + license: Expat +fabio/ext/src/columnfile.c: + copyright: ??? + license: Expat +fabio/raxisimage.py: + copyright: Brian R. Pauw <brian@stack.nl> + license: Expat +fabio/test: + copyright: (C) European Synchrotron Radiation Facility, Grenoble, France + license: Expat +setup.py: + copyright: (C) European Synchrotron Radiation Facility, Grenoble, France + license: Expat
\ No newline at end of file diff --git a/debian/fix.scanned.copyright b/debian/fix.scanned.copyright new file mode 100644 index 0000000..8390494 --- /dev/null +++ b/debian/fix.scanned.copyright @@ -0,0 +1,4 @@ +! License:BSD-3-clause +! Files:"doc/source/mathjax.py" License short_name=BSD-3-clause full_license~ +! Files:"fabio/ext/include/msvc/stdint.h" Copyright="2006-2008 Alexander Chemeris" + License short_name=BSD-3-clause full_license~
\ No newline at end of file diff --git a/debian/patches/0001-do-not-touch-PYTHONPATH.patch b/debian/patches/0001-do-not-touch-PYTHONPATH.patch new file mode 100644 index 0000000..3585f89 --- /dev/null +++ b/debian/patches/0001-do-not-touch-PYTHONPATH.patch @@ -0,0 +1,22 @@ +From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?= + <picca@synchrotron-soleil.fr> +Date: Wed, 6 Sep 2017 15:14:10 +0200 +Subject: do not touch PYTHONPATH + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 34fc837..86decc7 100644 +--- a/setup.py ++++ b/setup.py +@@ -176,7 +176,7 @@ class BuildMan(Command): + path.insert(0, os.path.abspath(build.build_lib))
+
+ env = dict((str(k), str(v)) for k, v in os.environ.items())
+- env["PYTHONPATH"] = os.pathsep.join(path)
++ #env["PYTHONPATH"] = os.pathsep.join(path)
+
+ import subprocess
+
diff --git a/debian/patches/0002-fix-the-install_requires-depends.patch b/debian/patches/0002-fix-the-install_requires-depends.patch new file mode 100644 index 0000000..7e2c665 --- /dev/null +++ b/debian/patches/0002-fix-the-install_requires-depends.patch @@ -0,0 +1,29 @@ +From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?= + <picca@synchrotron-soleil.fr> +Date: Thu, 7 Sep 2017 14:33:43 +0200 +Subject: fix the install_requires depends + +--- + setup.py | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 86decc7..6db4d12 100644 +--- a/setup.py ++++ b/setup.py +@@ -610,7 +610,14 @@ classifiers = [ +
+ def get_project_configuration(dry_run):
+ """Returns project arguments for setup"""
+- install_requires = ["numpy"]
++ install_requires = [ "h5py",
++ "lxml",
++ "matplotlib",
++ "numpy",
++ "pil",
++ "PyQt4",
++ "six"
++ ]
+ setup_requires = ["numpy", "cython"]
+
+ console_scripts = [
diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..1987bdc --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +0001-do-not-touch-PYTHONPATH.patch +0002-fix-the-install_requires-depends.patch diff --git a/debian/py3dist-overrides b/debian/py3dist-overrides new file mode 100644 index 0000000..fb5ef13 --- /dev/null +++ b/debian/py3dist-overrides @@ -0,0 +1 @@ +pyqt4 python3-pyqt4 diff --git a/debian/pydist-overrides b/debian/pydist-overrides new file mode 100644 index 0000000..9ece151 --- /dev/null +++ b/debian/pydist-overrides @@ -0,0 +1 @@ +pyqt4 python-qt4 diff --git a/debian/python-fabio-doc.doc-base b/debian/python-fabio-doc.doc-base new file mode 100644 index 0000000..ca5d698 --- /dev/null +++ b/debian/python-fabio-doc.doc-base @@ -0,0 +1,9 @@ +Document: fabio-manual +Title: Fabio documentation manual +Author: Jérôme Kieffer <jerome.kieffer@esrf.fr> +Abstract: I/O library for images produced by 2D X-ray detector +Section: Science/Data Analysis + +Format: HTML +Index: /usr/share/doc/python-fabio-doc/html/index.html +Files: /usr/share/doc/python-fabio-doc/html/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..44e015e --- /dev/null +++ b/debian/rules @@ -0,0 +1,48 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=fabio +export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin/ + +%: + dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild + +override_dh_clean: + # remove the cython generated files distributed by upstream + rm -f $(patsubst %.pyx,%.c,$(wildcard fabio/ext/*.pyx)) + rm -rf doc/build/html + rm -rf build/man + rm -rf *.egg-info + dh_clean + +override_dh_auto_build: + dh_auto_build +# PYBUILD_SYSTEM=custom \ + PYBUILD_BUILD_ARGS="PYTHONPATH={build_dir} cd {build_dir} && xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} -m fabio.app.convert --help" dh_auto_build +# PYBUILD_SYSTEM=custom \ + PYBUILD_BUILD_ARGS="PYTHONPATH={build_dir} cd {build_dir} && xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} -m fabio.app.viewer --help" dh_auto_build + PYBUILD_SYSTEM=custom \ + PYBUILD_BUILD_ARGS="PYTHONPATH={build_dir} xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} setup.py build_man" dh_auto_build + +override_dh_auto_test: +# https://github.com/silx-kit/fabio/issues/153 +# PYBUILD_SYSTEM=custom \ + PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' FABIO_TESTIMAGES=testimages xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} ./run_tests.py" dh_auto_test + +override_dh_install: + dh_install + dh_numpy + dh_numpy3 + + # install scripts into fabio-viewer + python3 setup.py install_scripts -d debian/fabio-viewer/usr/bin + +override_dh_installman: + dh_installman -p fabio-viewer build/man/*.1 + +override_dh_sphinxdoc: +ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) + PYBUILD_SYSTEM=custom \ + PYBUILD_BUILD_ARGS="cd doc && PYTHONPATH={build_dir} 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 python-fabio-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/watch b/debian/watch new file mode 100644 index 0000000..a8daf70 --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +version=3 +opts=repacksuffix=+dfsg,\ +uversionmangle=s/(rc|a|b|c)/~$1/,\ +dversionmangle=s/\+dfsg// \ +http://pypi.debian.net/fabio/fabio-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) |