[Python-modules-commits] [willow] 01/02: Add Python 3 package
Christopher Stuart Hoskin
mans0954 at moszumanska.debian.org
Wed Dec 6 07:00:09 UTC 2017
This is an automated email from the git hooks/post-receive script.
mans0954 pushed a commit to branch master
in repository willow.
commit 08ba25fe9afeef1bdfea9af9809e4306fb1e1e7f
Author: Christopher Hoskin <mans0954 at debian.org>
Date: Wed Dec 6 06:57:38 2017 +0000
Add Python 3 package
---
debian/changelog | 6 ++++++
debian/control | 24 ++++++++++++++++++++++--
debian/rules | 2 +-
debian/tests/control | 3 +++
4 files changed, 32 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e03052d..89635ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+willow (1.1-2) UNRELEASED; urgency=medium
+
+ * Add Python 3 package
+
+ -- Christopher Hoskin <mans0954 at debian.org> Wed, 06 Dec 2017 06:55:32 +0000
+
willow (1.1-1) unstable; urgency=medium
* Remove repack script, upstream is now DFSG compliant
diff --git a/debian/control b/debian/control
index 19a9f72..fa26dce 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,10 @@ Uploaders: Christopher Hoskin <mans0954 at debian.org>
Section: python
Priority: optional
Build-Depends: dh-python, python-setuptools, python-all, debhelper (>= 9),
+ python3-setuptools, python3-all,
python3-sphinx, python3-sphinx-rtd-theme, python3-sphinxcontrib.spelling,
- python-mock, python-pil, python-opencv, python-wand
+ python-mock, python-pil, python-opencv, python-wand,
+ python3-mock, python3-pil, python3-opencv, python3-wand
Standards-Version: 4.1.1
Homepage: https://github.com/torchbox/Willow
Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/willow.git
@@ -17,13 +19,31 @@ 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
+Description: Python image library combining Pillow, Wand and OpenCV (Python 2)
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 Python 2 version of the package.
+
+
+Package: python3-willow
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Recommends: python-pil | python-wand
+Suggests: python-opencv, python-willow-doc
+Description: Python image library combining Pillow, Wand and OpenCV (Python 3)
+ 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 Python 3 version of the package.
Package: python-willow-doc
Architecture: all
diff --git a/debian/rules b/debian/rules
index 6eb066b..13d39dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
export PYBUILD_NAME=willow
%:
- dh $@ --with python2,sphinxdoc --buildsystem=pybuild
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
diff --git a/debian/tests/control b/debian/tests/control
index f798de2..0598d6b 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,6 @@
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
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import willow; print(willow)" ; done
+Depends: python3-all, python3-willow
+
--
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