[python-imageio] 05/06: Initial debianization

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Dec 22 14:40:04 UTC 2016


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

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

commit 5ee9b33b45153de38f06a1ab4bd5b5ecc062e552
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Dec 22 14:29:18 2016 +0000

    Initial debianization
---
 debian/changelog                   |  5 +++
 debian/clean                       |  1 +
 debian/compat                      |  1 +
 debian/control                     | 66 ++++++++++++++++++++++++++++++++++++++
 debian/copyright                   | 36 +++++++++++++++++++++
 debian/python-imageio-doc.doc-base | 10 ++++++
 debian/python-imageio-doc.docs     |  1 +
 debian/rules                       | 19 +++++++++++
 debian/tests/control               |  9 ++++++
 debian/watch                       |  5 +++
 10 files changed, 153 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d032a45
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-imageio (2.1.0+ds1-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #769767)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Thu, 22 Dec 2016 14:29:07 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..3feb78a
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+*.egg-info/
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..dcb1b4c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,66 @@
+Source: python-imageio
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python-all,
+               python-numpy,
+               python-pil,
+               python-pytest,
+               python-setuptools,
+               python3-all,
+               python3-numpy,
+               python3-numpydoc,
+               python3-pil,
+               python3-pytest,
+               python3-setuptools,
+               python3-sphinx
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-imageio.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-imageio.git
+Homepage: http://imageio.github.io/
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+
+Package: python-imageio
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends}
+Suggests: python-astropy,
+          python-gdal,
+          python-imageio-doc
+Description: library for reading and writing image data (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, video, volumetric data,
+ and scientific formats.
+ .
+ This package provides imageio for Python 2.
+
+Package: python3-imageio
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends}
+Suggests: python-imageio-doc,
+          python3-astropy,
+          python3-gdal
+Description: library for reading and writing image data (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, video, volumetric data,
+ and scientific formats.
+ .
+ This package provides imageio for Python 3.
+
+Package: python-imageio-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+         ${sphinxdoc:Depends}
+Built-Using: ${sphinxdoc:Built-Using}
+Description: documentation for imageio
+ Imageio is a Python library that provides an easy interface to read and write
+ a wide range of image data, including animated images, video, volumetric data,
+ and scientific formats.
+ .
+ This package provides the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..099a1d3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: imageio
+Upstream-Contact: Almar Klein <almar.klein at gmail.com>
+Source: https://pypi.python.org/pypi/imageio
+Files-Excluded: docs/ext/docscrape*.py
+ docs/ext/numpydoc.py
+
+Files: *
+Copyright: 2015 imageio contributors
+License: BSD-2-Clause
+
+Files: debian/*
+Copyright: 2016 Ghislain Antony Vaillant <ghisvail at gmail.com>
+License: BSD-2-Clause
+
+License: BSD-2-Clause
+ 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.
+ .
+ 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.
diff --git a/debian/python-imageio-doc.doc-base b/debian/python-imageio-doc.doc-base
new file mode 100644
index 0000000..be946d2
--- /dev/null
+++ b/debian/python-imageio-doc.doc-base
@@ -0,0 +1,10 @@
+Document: python-imageio-doc
+Title: imageio documentation
+Author: Almar Klein
+Abstract: This is the reference documentation for the imageio Python
+ library.
+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..6d28621
--- /dev/null
+++ b/debian/python-imageio-doc.docs
@@ -0,0 +1 @@
+build/html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..425ab7b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#! /usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE = 1
+
+export IMAGEIO_NO_INTERNET = 1
+export PYBUILD_NAME = imageio
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build: export http_proxy=127.0.0.1:9
+override_dh_auto_build: export https_proxy=127.0.0.1:9
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. sphinx-build -N -b html docs build/html
+
+override_dh_installchangelogs:
+	dh_installchangelogs docs/releasenotes.rst
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d3b1b70
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,9 @@
+Test-Command: cp -a tests $AUTOPKGTEST_TMP
+ ; cd $AUTOPKGTEST_TMP
+ ; IMAGEIO_NO_INTERNET=1 python -m pytest tests
+Depends: python-imageio, python-pytest
+
+Test-Command: cp -a tests $AUTOPKGTEST_TMP
+ ; cd $AUTOPKGTEST_TMP
+ ; IMAGEIO_NO_INTERNET=1 python3 -m pytest tests
+Depends: python3-imageio, python3-pytest
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..78f553b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts=repacksuffix=+ds1,\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.?\d+)?$//,\
+uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/imageio/imageio-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the debian-science-commits mailing list