[imageio] 02/02: initial debianization + successful build

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Nov 17 09:47:59 UTC 2014


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

ghisvail-guest pushed a commit to branch master
in repository imageio.

commit dd40edc6802c3d89990023392f2cc04c1fb18ef8
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Mon Nov 17 09:41:43 2014 +0000

    initial debianization + successful build
    
     * documentation package included but commented out
     * pending new upstream release providing source doc
---
 debian/changelog                   |  5 +++
 debian/compat                      |  1 +
 debian/control                     | 63 ++++++++++++++++++++++++++++++++++++++
 debian/copyright                   | 16 ++++++++++
 debian/python-imageio-doc.doc-base |  8 +++++
 debian/python-imageio-doc.docs     |  1 +
 debian/rules                       | 12 ++++++++
 debian/source/format               |  1 +
 debian/watch                       |  3 ++
 9 files changed, 110 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c649fc4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+imageio (1.0-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #769767)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Sun, 16 Nov 2014 18:03:39 +0000
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..f234174
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,63 @@
+Source: imageio
+Section: science
+Priority: extra
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all (>= 2.6.6-3~),
+ python-setuptools,
+ python-numpy,
+ python3-all,
+ python3-setuptools,
+ python3-numpy,
+ python-docutils,
+ python-sphinx (>= 1.0.7+dfsg-1~)  
+Standards-Version: 3.9.6
+Homepage: http://imageio.github.io/
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/imageio.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/imageio.git
+
+Package: python-imageio
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends}
+Suggests: python-imageio-doc
+Description: Library for reading and writing a wide range of image format (Python 2)
+ Imageio is a Python library that provides an easy interface to read and
+ write a wide range of image data, including animated images, volumetric
+ data, and scientific formats. It is cross-platform, runs on Python 2.x
+ and 3.x, and is easy to install.
+ .
+ This package provides the Python 2 version of the library.
+
+Package: python3-imageio
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends}
+Suggests: python-imageio-doc
+Description: Library for reading and writing a wide range of image format (Python 3)
+ Imageio is a Python library that provides an easy interface to read and
+ write a wide range of image data, including animated images, volumetric
+ data, and scientific formats. It is cross-platform, runs on Python 2.x
+ and 3.x, and is easy to install.
+ .
+ This package provides the Python 3 version of the library.
+
+#Package: python-imageio-doc
+#Section: doc
+#Architecture: all
+#Depends:
+# ${misc:Depends},
+# ${sphinxdoc:Depends}
+#Description: Library for reading and writing a wide range of image format (Documentation)
+# Imageio is a Python library that provides an easy interface to read and
+# write a wide range of image data, including animated images, volumetric
+# data, and scientific formats. It is cross-platform, runs on Python 2.x
+# and 3.x, and is easy to install.
+# .
+# This package provides the documentation of the library.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..82bcb0e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: imageio
+Source: http://imageio.github.io/
+
+Files: *
+Copyright: 2014 The imageio contributors
+License: BSD-2-clause
+
+Files: debian/*
+Copyright: 2014 Ghislain Antony Vaillant
+License: BSD-2-clause
+
+License: BSD-2-clause
+ On Debian systems, the complete text of the BSD license 
+ can be found in "/usr/share/common-licenses/BSD".
+
diff --git a/debian/python-imageio-doc.doc-base b/debian/python-imageio-doc.doc-base
new file mode 100644
index 0000000..5ba6d5d
--- /dev/null
+++ b/debian/python-imageio-doc.doc-base
@@ -0,0 +1,8 @@
+Document: python-imageio-doc
+Title: Imageio Documentation
+Author: Almar Klein
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-imageio-doc/html/index.html
+Files: /usr/share/doc/python-imageio-doc/html/*.html
diff --git a/debian/python-imageio-doc.docs b/debian/python-imageio-doc.docs
new file mode 100644
index 0000000..a213c54
--- /dev/null
+++ b/debian/python-imageio-doc.docs
@@ -0,0 +1 @@
+docs/build/html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6ee1b94
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=imageio
+export PYBUILD_DISABLE=test
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+#	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+#override_dh_auto_build:
+#	dh_auto_build
+#	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # HTML generator
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..68f0f37
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|dev|a|b|c)/~$1/ \
+https://pypi.python.org/packages/source/i/imageio/imageio-(.*)\.(?:tar\.gz|zip|tar\.bz2)

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



More information about the debian-science-commits mailing list