[Python-modules-commits] [willow] 03/04: Initial packaging, based on stdeb 0.8.5 output. Closes: 837471

Christopher Hoskin christopher.hoskin at gmail.com
Sun Sep 11 20:29:50 UTC 2016


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

grinorcole-guest pushed a commit to branch master
in repository willow.

commit 2c413a117278ddbd3927069b6aaf5139c1638fd9
Author: Christopher Hoskin <christopher.hoskin at gmail.com>
Date:   Sun Sep 11 21:24:05 2016 +0100

    Initial packaging, based on stdeb 0.8.5 output. Closes: 837471
---
 debian/changelog                  |  5 +++++
 debian/clean                      |  1 +
 debian/compat                     |  1 +
 debian/control                    | 39 +++++++++++++++++++++++++++++++++
 debian/copyright                  | 45 +++++++++++++++++++++++++++++++++++++++
 debian/python-willow-doc.doc-base | 10 +++++++++
 debian/python-willow-doc.docs     |  1 +
 debian/rules                      | 17 +++++++++++++++
 debian/tests/control              |  3 +++
 debian/watch                      |  4 ++++
 10 files changed, 126 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..44fc9a5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+willow (0.3.1-1) unstable; urgency=low
+
+  * Initial packaging, based on stdeb 0.8.5 output. Closes: 837471
+
+ -- Christopher Hoskin <christopher.hoskin at gmail.com>  Sun, 11 Sep 2016 10:07:45 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..4027bc4
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+Willow.egg-info/
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..09ea18d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: willow
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> 
+Uploaders: Christopher Hoskin <christopher.hoskin at gmail.com>
+Section: python
+Priority: optional
+Build-Depends: dh-python, python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9),
+ python-sphinx, python-sphinx-rtd-theme, python-sphinxcontrib.spelling,
+ python-mock, python-pil, python-opencv, python-wand
+Standards-Version: 3.9.8
+Homepage: https://github.com/torchbox/Willow
+Testsuite: autopkgtest-pkg-python
+
+
+Package: python-willow
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Recommends: python-pil | python-wand
+Suggests: python-opencv, python-willow-doc
+Description: Python image library combining Pillow, Wand and OpenCV
+ Willow is a simple image library that combines the APIs of Pillow, Wand and
+ OpenCV. It converts the image between the libraries when necessary.
+ .
+ Willow currently has basic resize and crop operations, face and feature
+ detection and animated GIF support. New operations and library integrations
+ can also be easily implemented.
+
+Package: python-willow-doc
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: Python image library (documentation)
+ Willow is a simple image library that combines the APIs of Pillow, Wand and
+ OpenCV. It converts the image between the libraries when necessary.
+ .
+ Willow currently has basic resize and crop operations, face and feature
+ detection and animated GIF support. New operations and library integrations
+ can also be easily implemented.
+ .
+ This is the common documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1bfb0c5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,45 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: willow
+Source: https://github.com/torchbox/Willow/archive/v0.3.1.tar.gz
+
+Files: *
+Copyright: 2014-16 Torchbox Ltd and individual contributors 
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2016 Christopher Hoskin <christopher.hoskin at gmail.com>
+License: BSD-3-clause
+
+Files: willow/data/cascades/haarcascade_frontalface_alt2.xml
+Copyright: 2000, Intel Corporation
+License: BSD-3-clause
+
+
+License: BSD-3-clause
+ All rights reserved. 
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer. 
+ .
+ 2. 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. 
+ .
+ 3. Neither the name of the copyright holder 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. 
+
+
diff --git a/debian/python-willow-doc.doc-base b/debian/python-willow-doc.doc-base
new file mode 100644
index 0000000..780a794
--- /dev/null
+++ b/debian/python-willow-doc.doc-base
@@ -0,0 +1,10 @@
+Document: willow
+Title: Willow documentation
+Author: Torchbox <hello at torchbox.com>
+Abstract: This document describes how to use Willow a simple image library that
+ combines the APIs of Pillow, Wand and OpenCV.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-willow-doc/html/index.html
+Files: /usr/share/doc/python-willow-doc/html/*.html 
diff --git a/debian/python-willow-doc.docs b/debian/python-willow-doc.docs
new file mode 100644
index 0000000..6d28621
--- /dev/null
+++ b/debian/python-willow-doc.docs
@@ -0,0 +1 @@
+build/html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..cf7b6fc
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+# This file was automatically generated by stdeb 0.8.5 at
+# Sun, 11 Sep 2016 10:07:45 +0100
+export PYBUILD_NAME=willow
+
+export PYBUILD_BEFORE_TEST=cp -r {dir}/tests/images {build_dir}/tests/
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests/images
+
+%:
+	dh $@ --with python2,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
+	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docs/ build/man # Manpage generator
+
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f798de2
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import willow; print willow" ; done
+Depends: python-all, python-willow
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..665837b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# please also check http://pypi.debian.net/Willow/watch
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/Willow/Willow-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
\ No newline at end of file

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



More information about the Python-modules-commits mailing list