[python-fabio] 60/73: add the python3 packages

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Tue Jan 5 11:34:12 UTC 2016


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

picca pushed a commit to branch master
in repository python-fabio.

commit f1843e7311854d62f139f2f8567f5fdf3e3968f9
Author: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
Date:   Fri Jul 24 13:40:17 2015 +0200

    add the python3 packages
---
 debian/control | 99 +++++++++++++++++++++++++++++++++++++++++++++++-----------
 debian/rules   |  5 ++-
 2 files changed, 84 insertions(+), 20 deletions(-)

diff --git a/debian/control b/debian/control
index 26f055b..f67e43b 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,8 @@ Section: science
 Priority: extra
 Build-Depends: cython,
                cython-dbg,
+               cython3,
+               cython3-dbg,
                debhelper (>= 9),
                dh-python,
                pymca,
@@ -20,12 +22,25 @@ Build-Depends: cython,
                python-setuptools,
                python-six,
                python-sphinx (>= 1.0.7+dfsg-1~),
-               python-sphinxcontrib.programoutput
+               python-sphinxcontrib.programoutput,
+               python3-all-dev,
+               python3-all-dbg,
+               python3-lxml,
+               python3-lxml-dbg,
+               python3-numpy,
+               python3-numpy-dbg,
+               python3-pil,
+               python3-pil-dbg,
+               python3-setuptools,
+               python3-six,
+               python3-sphinx (>= 1.0.7+dfsg-1~),
+               python3-sphinxcontrib.programoutput
 Standards-Version: 3.9.6
-Vcs-Browser: http://git.epn-campus.eu/projects/fabio/repository
-Vcs-Git: git://git@git.epn-campus.eu:python-fabio
-Homepage: http://git.epn-campus.eu/projects/fabio
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/python-fabio.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/python-fabio.git
+Homepage: https://github.com/kif/fabio
 X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.4
 
 Package: python-fabio
 Architecture: any
@@ -50,21 +65,6 @@ Description: I/O library for images produced by 2D X-ray detector - Python2
  .
  This is the Python 2 version of the package.
 
-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.
-
 Package: python-fabio-dbg
 Architecture: any
 Section: debug
@@ -86,3 +86,64 @@ Description: I/O library for images produced by 2D X-ray detector - Python2 debu
  .
  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},
+         pymca,
+         python3-six
+Recommends: python3-lxml,
+            python3-matplotlib,
+            python3-pil
+Suggests: pyfai,
+          python3-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: ${misc:Depends},
+         ${python3:Depends},
+         ${shlibs:Depends},
+         python3-fabio (= ${binary:Version})
+Recommends: python3-dbg,
+            python3-lxml-dbg,
+            python3-matplotlib-dbg,
+            python3-pil-dbg
+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/rules b/debian/rules
index 507324c..9d4dbad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 export PYBUILD_NAME=fabio
 
 %:
-	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_clean:
         # remove the cython generated files distributed by upstream
@@ -24,11 +24,14 @@ override_dh_auto_test:
 
 override_dh_install:
 	dh_numpy
+	dh_numpy3
 	dh_install
 
 	# remove the /bin part of the -dbg package which conflict with
 	# non-dbg packages
 	rm -rf debian/python-fabio-dbg/usr/bin
+	rm -rf debian/python3-fabio/usr/bin
+	rm -rf debian/python3-fabio-dbg/usr/bin
 
 override_dh_installman:
 	dh_installman -p python-fabio doc/man/fabio_viewer.1

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



More information about the debian-science-commits mailing list