[python-fabio] 28/31: Add the python-fabio-doc package
Frédéric-Emmanuel Picca
picca at moszumanska.debian.org
Fri Dec 27 19:05:49 UTC 2013
This is an automated email from the git hooks/post-receive script.
picca pushed a commit to branch master
in repository python-fabio.
commit bfb37633e86ef70cdc87ce08509a051a7692d794
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date: Fri Dec 27 18:08:23 2013 +0100
Add the python-fabio-doc package
---
debian/changelog | 6 ++++--
debian/control | 45 ++++++++++++++++++++++++++++++++-------------
debian/rules | 20 ++++++++++++++++++--
3 files changed, 54 insertions(+), 17 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index eb08354..21b5b05 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
python-fabio (0.1.3-2) UNRELEASED; urgency=medium
- * * Bump Standard-Versions to 3.9.5 (no change)
- * * Add the -dbg packages
+ * debian/control
+ - Bump Standard-Versions to 3.9.5 (no change)
+ - Add the python-fabio-dbg package
+ - Add the python-fabio-doc package
-- Picca Frédéric-Emmanuel <picca at debian.org> Fri, 27 Dec 2013 09:46:21 +0100
diff --git a/debian/control b/debian/control
index f8df432..174ce61 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,9 @@ Build-Depends: debhelper (>= 9),
python-numpy,
python-numpy-dbg,
python-setuptools
+Build-Depends-Indep: python-imaging,
+ python-lxml,
+ python-sphinx (>= 1.0.7+dfsg-1~)
Standards-Version: 3.9.5
Vcs-Browser: http://git.epn-campus.eu/projects/fabio/repository
Vcs-Git: git://git@git.epn-campus.eu:python-fabio
@@ -24,17 +27,33 @@ Recommends: python-imaging,
python-lxml,
python-matplotlib
Suggests: pyfai,
- pymca
+ pymca,
+ python-fabio-doc
Description: I/O library 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)
+ 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-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+ ${sphinxdoc:Depends}
+Description: I/O library for images produced by 2D X-ray detector (common 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
@@ -48,12 +67,12 @@ Recommends: python-dbg,
python-lxml-dbg,
python-matplotlib-dbg
Description: I/O library for images produced by 2D X-ray detector (debug ext)
- 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)
+ 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.
diff --git a/debian/rules b/debian/rules
index 1eec740..1737aaa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,23 @@
#!/usr/bin/make -f
+PY2VERS = $(shell pyversions -r -v)
+
%:
- dh $@ --with python2
+ dh $@ --with python2,sphinxdoc
override_dh_clean:
- dh_clean
+ rm -rf build/sphinx
rm -rf *.egg-info
+ dh_clean
+
+
+override_dh_auto_build-indep:
+ dh_auto_build
+ # build the documentation
+ set -e -x;\
+ for py in $(PY2VERS); do \
+ env http_proxy='localhost' python$$py setup.py build_doc ;\
+ done
override_dh_install:
dh_numpy
@@ -17,3 +29,7 @@ override_dh_install:
# Continue with regular dh_install
dh_install
+
+override_dh_installdocs-indep:
+ # install the documentation
+ dh_installdocs "build/sphinx/html" -p python-fabio-doc
--
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