[Python-modules-commits] [thumbor] 02/07: Importing debian folder from Gilles Dubuc repository

Marcelo Jorge Vieira metal at moszumanska.debian.org
Sat Sep 9 04:57:54 UTC 2017


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

metal pushed a commit to branch master
in repository thumbor.

commit 8f875adc8dab89241d74371f9c022f01d5f62a02
Author: Marcelo Jorge Vieira <metal at alucinados.com>
Date:   Fri Sep 8 19:33:58 2017 -0300

    Importing debian folder from Gilles Dubuc repository
    
    https://github.com/gi11es/thumbor-debian
---
 debian/20-debian.conf                            |   1 +
 debian/changelog                                 |  23 +++++
 debian/compat                                    |   1 +
 debian/control                                   |  51 +++++++++++
 debian/copyright                                 | 111 +++++++++++++++++++++++
 debian/docs                                      |   1 +
 debian/patches/Fix-default-FILE_LOADER_ROOT_PATH |  41 +++++++++
 debian/patches/series                            |   1 +
 debian/pydist-overrides                          |   1 +
 debian/rules                                     |  19 ++++
 debian/source/format                             |   1 +
 debian/thumbor-config.1                          |   7 ++
 debian/thumbor-url.1                             |  84 +++++++++++++++++
 debian/thumbor.1                                 |  60 ++++++++++++
 debian/thumbor.install                           |   1 +
 debian/thumbor.manpages                          |   3 +
 debian/thumbor.postinst                          |  23 +++++
 debian/thumbor.service                           |  12 +++
 debian/watch                                     |   4 +
 19 files changed, 445 insertions(+)

diff --git a/debian/20-debian.conf b/debian/20-debian.conf
new file mode 100644
index 0000000..e7d32c5
--- /dev/null
+++ b/debian/20-debian.conf
@@ -0,0 +1 @@
+FILE_STORAGE_ROOT_PATH = '/var/cache/thumbor/storage'
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f9e160f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,23 @@
+thumbor (6.3.2+git20170607-1) jessie-wikimedia; urgency=medium
+
+  * Internal upload, use thumbor from git fork afb1c0e
+  * debian/control
+    - add python-schedule dependency
+    - add python-webcolors dependency
+  * debian/rules
+    - exclude broken distributed collage filter test
+    - exclude broken upstream SVG tests: https://github.com/thumbor/thumbor/issues/933
+
+ -- Gilles Dubuc <gilles at wikimedia.org>  Wed, 07 Jun 2017 11:21:16 +0000
+
+thumbor (6.0.1+git20160706-1) jessie-wikimedia; urgency=medium
+
+  * Internal upload, use thumbor from git f813c18be
+
+ -- Filippo Giunchedi <filippo at debian.org>  Thu, 14 Jul 2016 12:52:12 +0100
+
+thumbor (6.0.1-1) unstable; urgency=low
+
+  * Initial release. (Closes: #723778)
+
+ -- Gilles Dubuc <gilles at wikimedia.org>  Wed, 18 May 2016 16:16:36 +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..b250428
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,51 @@
+Source: thumbor
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Gilles Dubuc <gilles at wikimedia.org>
+Section: python
+Priority: optional
+Standards-Version: 3.9.8
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               dh-systemd (>= 1.5),
+               ffmpeg,
+               gifsicle,
+               libimage-exiftool-perl,
+               libjpeg-turbo-progs,
+               python-all,
+               python-argparse,
+               python-cairosvg,
+               python-celery,
+               python-colorama,
+               python-concurrent.futures,
+               python-crypto (>= 2.1.0),
+               python-dev,
+               python-derpconf (>= 0.2.0),
+               python-libthumbor,
+               python-mock (>=1.0.1),
+               python-nose,
+               python-numpy,
+               python-opencv,
+               python-pexif (>=0.15),
+               python-pil (>= 3.0.0),
+               python-preggy (>= 1.3.0),
+               python-pyexiv2,
+               python-pyssim,
+               python-redis (>= 2.4.9),
+               python-schedule,
+               python-setuptools,
+               python-statsd (>= 3.0.1),
+               python-tornado (>= 4.1.0),
+               python-tz,
+               python-webcolors,
+               redis-server,
+X-Python-Version: >= 2.7
+Homepage: https://github.com/thumbor/thumbor
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/thumbor.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/thumbor.git
+
+Package: thumbor
+Architecture: any
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, python-argparse, python-cairosvg, python-crypto (>= 2.1.0), python-derpconf (>= 0.2.0), python-concurrent.futures, python-libthumbor, python-pexif (>= 0.15), python-pil (>= 3.0.0), python-schedule, python-statsd (>= 3.0.1), python-tornado (>= 4.1.0), python-tz, python-webcolors
+Description: Photo thumbnail service
+ Thumbor is a smart imaging service. It enables on-demand crop, resizing
+ and flipping of images.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d93585e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,111 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: thumbor
+Source: https://github.com/thumbor/thumbor
+
+Files: *
+Copyright: 2014 Globo.com
+License: MIT
+
+Files: thumbor/detectors/*/*.xml
+Copyright: 2000 Intel Corporation
+License: Intel-Open-Source-License
+
+Files: tests/fixtures/haarcascade_eye_tree_eyeglasses.xml
+Copyright: 2000 Intel Corporation
+License: Intel-Open-Source-License
+
+Files: thumbor/filters/haarcascade_eye.xml
+Copyright: 2000 Intel Corporation
+License: Intel-Open-Source-License
+
+Files: thumbor/engines/extensions/pil.py
+Copyright: 2012 Almar Klein, Ant1, Marius van Voorden
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2014 Globo.com,
+           2016 Gilles Dubuc <gilles at wikimedia.org>
+License: MIT
+
+License: MIT
+ Copyright (c) 2014 Globo.com
+ .
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+ the Software, and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: Intel-Open-Source-License
+ IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+ .
+ By downloading, copying, installing or using the software you agree to this license.
+ If you do not agree to this license, do not download, install,
+ copy or use the software.
+ .
+ .
+                        Intel License Agreement
+                For Open Source Computer Vision Library
+ .
+ Copyright (C) 2000, Intel Corporation, all rights reserved.
+ Third party copyrights are property of their respective owners.
+ .
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+ .
+   * Redistribution's of source code must retain the above copyright notice,
+     this list of conditions and the following disclaimer.
+ .
+   * Redistribution's 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.
+ .
+   * The name of Intel Corporation may not 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 Intel Corporation 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.
+
+License: BSD-3-clause
+ This code is subject to the (new) BSD license:
+ .
+ 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.
+     * Neither the name of the <organization> 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 <COPYRIGHT HOLDER> 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/docs b/debian/docs
new file mode 100644
index 0000000..c2401f7
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.mkd
diff --git a/debian/patches/Fix-default-FILE_LOADER_ROOT_PATH b/debian/patches/Fix-default-FILE_LOADER_ROOT_PATH
new file mode 100644
index 0000000..e29117b
--- /dev/null
+++ b/debian/patches/Fix-default-FILE_LOADER_ROOT_PATH
@@ -0,0 +1,41 @@
+The home directory can't be guessed at that point, the thumbor user future home is a better default
+
+--- a/thumbor/config.py
++++ b/thumbor/config.py
+@@ -8,7 +8,7 @@
+ # http://www.opensource.org/licenses/mit-license
+ # Copyright (c) 2011 globo.com thumbor at googlegroups.com
+ 
+-from os.path import expanduser, join
++from os.path import join
+ import tempfile
+ 
+ import derpconf.config as config
+@@ -16,7 +16,7 @@
+ 
+ from thumbor import __version__
+ 
+-home = expanduser("~")
++home = '/var/lib/thumbor'
+ 
+ Config.define('THUMBOR_LOG_CONFIG', None, 'Logging configuration as json', 'Logging')
+ Config.define(
+--- a/tests/test_config.py
++++ b/tests/test_config.py
+@@ -8,7 +8,6 @@
+ # http://www.opensource.org/licenses/mit-license
+ # Copyright (c) 2011 globo.com thumbor at googlegroups.com
+ 
+-from os.path import expanduser
+ from unittest import TestCase
+ import mock
+ 
+@@ -49,7 +48,7 @@
+             ('GIF_ENGINE', 'thumbor.engines.gif'),
+             ('URL_SIGNER', 'libthumbor.url_signers.base64_hmac_sha1'),
+             ('ALLOW_UNSAFE_URL', True),
+-            ('FILE_LOADER_ROOT_PATH', expanduser("~")),
++            ('FILE_LOADER_ROOT_PATH', '/var/lib/thumbor'),
+             ('STORAGE_EXPIRATION_SECONDS', 60 * 60 * 24 * 30),
+             ('STORES_CRYPTO_KEY_FOR_EACH_IMAGE', False),
+             ('MIXED_STORAGE_FILE_STORAGE', 'thumbor.storages.no_storage'),
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..93a09bb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Fix-default-FILE_LOADER_ROOT_PATH
diff --git a/debian/pydist-overrides b/debian/pydist-overrides
new file mode 100644
index 0000000..fb7f70d
--- /dev/null
+++ b/debian/pydist-overrides
@@ -0,0 +1 @@
+pillow python-imaging
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..675cab7
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+export PYBUILD_NAME=thumbor
+export PYBUILD_TEST_NOSE=1
+export PYBUILD_BEFORE_TEST=cp -R tests integration_tests {build_dir}; redis-server --port 6668 --requirepass hey_you > /dev/null &
+export PYBUILD_AFTER_TEST=redis-cli -p 6668 -a hey_you shutdown; rm -rf {build_dir}/tests {build_dir}/integration_tests
+export PYBUILD_TEST_ARGS=-s integration_tests/ tests/ --ignore-files=test_statsd_metrics.py --ignore-files=test_sentry.py --ignore-files=test_queued_detector.py --ignore-files=test_distributed_collage.py --exclude=test_convert_svg_already_converted_to_png --exclude=test_convert_not_well_formed_svg_to_png
+export PYBUILD_AFTER_INSTALL=mkdir -p {destdir}/etc/thumbor.d; HOME=/var/lib/thumbor PYTHONPATH={destdir}/usr/lib/python{version}/dist-packages/ python{version} {destdir}/usr/bin/thumbor-config > {destdir}/etc/thumbor.d/10-default.conf; find {destdir}/usr/lib/python{version}/dist-packages/ -name '*.c' -delete
+export LC_ALL=C.UTF-8
+
+%:
+	dh $@ --with python2,systemd --buildsystem=pybuild
+
+override_dh_clean:
+	rm -rf thumbor.egg-info
+	redis-cli -p 6668 -a hey_you shutdown || true
+	dh_clean
+
+override_dh_installinit:
+	dh_installinit --name=thumbor --noscripts
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/thumbor-config.1 b/debian/thumbor-config.1
new file mode 100644
index 0000000..0c90290
--- /dev/null
+++ b/debian/thumbor-config.1
@@ -0,0 +1,7 @@
+.TH THUMBOR-CONFIG "1" "June 2016" "thumbor-config 6.0.1" "User Commands"
+.SH NAME
+thumbor-config \- Sample config file generator for Thumbor
+.SH SYNOPSIS
+.B thumbor-config
+.SH DESCRIPTION
+Outputs a sample configuration file for the current Thumbor install.
diff --git a/debian/thumbor-url.1 b/debian/thumbor-url.1
new file mode 100644
index 0000000..1743503
--- /dev/null
+++ b/debian/thumbor-url.1
@@ -0,0 +1,84 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.46.4.
+.TH THUMBOR-URL "1" "June 2016" "thumbor-url 6.0.1" "User Commands"
+.SH NAME
+thumbor-url \- Signed URL generator for Thumbor
+.SH SYNOPSIS
+.B thumbor-url
+[\fI\,options\/\fR] \fI\,imageurl or type thumbor-url -h (--help) for help\/\fR
+.SH OPTIONS
+.TP
+\fB\-\-version\fR
+show program's version number and exit
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this help message and exit
+.TP
+\fB\-l\fR KEY_FILE, \fB\-\-key_file\fR=\fI\,KEY_FILE\/\fR
+The file to read the security key from [default:
+none].
+.TP
+\fB\-k\fR KEY, \fB\-\-key\fR=\fI\,KEY\/\fR
+The security key to encrypt the url with [default:
+none].
+.TP
+\fB\-w\fR WIDTH, \fB\-\-width\fR=\fI\,WIDTH\/\fR
+The target width for the image [default: 0].
+.TP
+\fB\-e\fR HEIGHT, \fB\-\-height\fR=\fI\,HEIGHT\/\fR
+The target height for the image [default: 0].
+.TP
+\fB\-n\fR, \fB\-\-fitin\fR
+Indicates that fit\-in resizing should be performed.
+.TP
+\fB\-m\fR, \fB\-\-meta\fR
+Indicates that meta information should be retrieved.
+.TP
+\fB\-\-adaptive\fR
+Indicates that adaptive fit\-in cropping should be
+used.
+.TP
+\fB\-\-full\fR
+Indicates that fit\-full cropping should be used.
+.TP
+\fB\-s\fR, \fB\-\-smart\fR
+Indicates that smart cropping should be used.
+.TP
+\fB\-t\fR, \fB\-\-trim\fR
+Indicate that surrounding whitespace should be
+trimmed.
+.TP
+\fB\-f\fR, \fB\-\-horizontal\-flip\fR
+Indicates that the image should be horizontally
+flipped.
+.TP
+\fB\-v\fR, \fB\-\-vertical\-flip\fR
+Indicates that the image should be vertically flipped.
+.TP
+\fB\-a\fR HALIGN, \fB\-\-halign\fR=\fI\,HALIGN\/\fR
+The horizontal alignment to use for cropping [default:
+center].
+.TP
+\fB\-i\fR VALIGN, \fB\-\-valign\fR=\fI\,VALIGN\/\fR
+The vertical alignment to use for cropping [default:
+middle].
+.TP
+\fB\-\-filters\fR=\fI\,FILTERS\/\fR
+Filters to be applied to the image, e.g.
+brightness(10).
+.TP
+\fB\-c\fR CROP, \fB\-\-crop\fR=\fI\,CROP\/\fR
+The coordinates of the points to manual cropping in
+the format leftxtop:rightxbottom (100x200:400x500)
+[default: none].
+.SH "SEE ALSO"
+The full documentation for
+.B thumbor-url
+is maintained as a Texinfo manual.  If the
+.B info
+and
+.B thumbor-url
+programs are properly installed at your site, the command
+.IP
+.B info thumbor-url
+.PP
+should give you access to the complete manual.
diff --git a/debian/thumbor.1 b/debian/thumbor.1
new file mode 100644
index 0000000..29ce86e
--- /dev/null
+++ b/debian/thumbor.1
@@ -0,0 +1,60 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.46.4.
+.TH THUMBOR "1" "June 2016" "thumbor 6.0.1" "User Commands"
+.SH NAME
+thumbor \- Thumbnailing service
+.SH DESCRIPTION
+usage: thumbor [\-h] [\-\-version] [\-p PORT] [\-i IP] [\-f FD] [\-c CONF]
+.IP
+[\-k KEYFILE] [\-l LOG_LEVEL] [\-a APP]
+.PP
+thumbor server
+.SS "optional arguments:"
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this help message and exit
+.TP
+\fB\-\-version\fR
+show program's version number and exit
+.TP
+\fB\-p\fR PORT, \fB\-\-port\fR PORT
+The port to run this thumbor instance at [default:
+8888].
+.TP
+\fB\-i\fR IP, \fB\-\-ip\fR IP
+The host address to run this thumbor instance at
+[default: 0.0.0.0].
+.TP
+\fB\-f\fR FD, \fB\-\-fd\fR FD
+The file descriptor number or path to listen for
+connections on (\fB\-\-port\fR and \fB\-\-ip\fR will be ignored if
+this is set)[default: None].
+.TP
+\fB\-c\fR CONF, \fB\-\-conf\fR CONF
+The path of the configuration file to use for this
+thumbor instance [default: None].
+.TP
+\fB\-k\fR KEYFILE, \fB\-\-keyfile\fR KEYFILE
+The path of the configuration file to use for this
+thumbor instance [default: None].
+.TP
+\fB\-l\fR LOG_LEVEL, \fB\-\-log\-level\fR LOG_LEVEL
+The log level to be used. Possible values are: debug,
+info, warning, error, critical or notset. [default:
+warning].
+.TP
+\fB\-a\fR APP, \fB\-\-app\fR APP
+A custom app to use for this thumbor server in case
+you subclassed ThumborServiceApp [default:
+thumbor.app.ThumborServiceApp].
+.SH "SEE ALSO"
+The full documentation for
+.B thumbor
+is maintained as a Texinfo manual.  If the
+.B info
+and
+.B thumbor
+programs are properly installed at your site, the command
+.IP
+.B info thumbor
+.PP
+should give you access to the complete manual.
diff --git a/debian/thumbor.install b/debian/thumbor.install
new file mode 100644
index 0000000..4222cf2
--- /dev/null
+++ b/debian/thumbor.install
@@ -0,0 +1 @@
+debian/20-debian.conf etc/thumbor.d
diff --git a/debian/thumbor.manpages b/debian/thumbor.manpages
new file mode 100644
index 0000000..4fcea04
--- /dev/null
+++ b/debian/thumbor.manpages
@@ -0,0 +1,3 @@
+debian/thumbor.1
+debian/thumbor-config.1
+debian/thumbor-url.1
diff --git a/debian/thumbor.postinst b/debian/thumbor.postinst
new file mode 100644
index 0000000..8bce05b
--- /dev/null
+++ b/debian/thumbor.postinst
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ] ; then
+	if ! getent passwd thumbor | grep -q thumbor; then
+		useradd --system --user-group --home /var/lib/thumbor thumbor
+	fi
+
+	install -d -o thumbor -g thumbor -m 750 /var/cache/thumbor
+
+	if [ ! -e /etc/thumbor.key ] ; then
+		umask 077
+		od --read-bytes 16 --output-duplicates \
+			--address-radix n --format x2 /dev/urandom | tr -d ' ' > /etc/thumbor.key
+		umask 002
+		chown thumbor:thumbor /etc/thumbor.key
+	fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/thumbor.service b/debian/thumbor.service
new file mode 100644
index 0000000..8e757a0
--- /dev/null
+++ b/debian/thumbor.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Thumbor image manipulation service
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/thumbor -k /etc/thumbor.key -c /etc/thumbor.d/
+User=thumbor
+PrivateTmp=yes
+
+[Install]
+WantedBy=default.target
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1b1ff8f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/thumbor/thumbor-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+

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



More information about the Python-modules-commits mailing list