From 247e71a86d8c1585928796700b10f99d3e3d7710 Mon Sep 17 00:00:00 2001 From: Alexandre Viau Date: Fri, 10 Oct 2014 12:56:09 -0400 Subject: [PATCH] Imported Debian patch 3.3-1 --- debian/changelog | 6 +++++ debian/compat | 1 + debian/control | 50 ++++++++++++++++++++++++++++++++++++++++ debian/copyright | 53 +++++++++++++++++++++++++++++++++++++++++++ debian/patches/series | 0 debian/rules | 8 +++++++ debian/source/format | 1 + debian/watch | 3 +++ 8 files changed, 122 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b370a47 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +python-click (3.3-1) unstable; urgency=low + + * Initial release (Closes: #764953) + + -- Alexandre Viau Fri, 10 Oct 2014 12:56:09 -0400 + 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..9d9583b --- /dev/null +++ b/debian/control @@ -0,0 +1,50 @@ +Source: python-click +Maintainer: Alexandre Viau +Homepage: https://github.com/mitsuhiko/click +Section: python +X-Python-Version: >= 2.7 +X-Python3-Version: >= 3.3 +Priority: optional +Build-Depends: debhelper (>= 9), + dh-python, + python-all, + python-setuptools, + python-pytest, + python-colorama, + python3-all, + python3-setuptools, + python3-requests, + python3-pytest, + python3-colorama +Standards-Version: 3.9.6 + +Package: python-click +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python-colorama +Description: Simple wrapper around optparse for powerful command line utilities + Click is a Python package for creating beautiful command line interfaces + in a composable way with as little code as necessary. It's the "Command + Line Interface Creation Kit". It's highly configurable but comes with + sensible defaults out of the box. + . + It aims to make the process of writing command line tools quick and fun + while also preventing any frustration caused by the inability to implement + an intended CLI API. + . + This is the Python 2 compatible package. + +Package: python3-click +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, python3-colorama +Description: Simple wrapper around optparse for powerful command line utilities + Click is a Python package for creating beautiful command line interfaces + in a composable way with as little code as necessary. It's the "Command + Line Interface Creation Kit". It's highly configurable but comes with + sensible defaults out of the box. + . + It aims to make the process of writing command line tools quick and fun + while also preventing any frustration caused by the inability to implement + an intended CLI API. + . + This is the Python 3 compatible package. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f29e49e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,53 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: click +Source: https://github.com/mitsuhiko/click + + +Files: * +Copyright: 2014 Armin Ronacher +License: BSD-3-clause + +Files: click/parser.py +Copyright: 2001-2006 Gregory P. Ward + 2002-2006 Python Software Foundation +License: BSD-3-clause + +License: BSD-3-clause + Copyright (c) 2014 by Armin Ronacher. + . + Click uses parts of optparse written by Gregory P. Ward and maintained by the + Python software foundation. This is limited to code in the parser.py + module: + . + Copyright (c) 2001-2006 Gregory P. Ward. All rights reserved. + Copyright (c) 2002-2006 Python Software Foundation. All rights reserved. + . + Some rights reserved. + . + 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. + . + * The names of the contributors 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 COPYRIGHT + OWNER 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/patches/series b/debian/patches/series new file mode 100644 index 0000000..e69de29 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b865e59 --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=click +export PYBUILD_TEST_PYTEST=1 +export PYBUILD_TEST_ARGS={dir}/tests/ + +%: + dh $@ --with python2,python3 --buildsystem=pybuild 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..69e7b3f --- /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/c/click/click-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))