From 95406744e043580ba7a2e993fb3b0c73b6c5be8c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 26 Feb 2021 05:13:46 +0100 Subject: Adding debian version 3.0.16-1. Signed-off-by: Daniel Baumann --- debian/changelog | 5 +++++ debian/control | 36 ++++++++++++++++++++++++++++++++++++ debian/copyright | 38 ++++++++++++++++++++++++++++++++++++++ debian/rules | 6 ++++++ debian/source/format | 1 + debian/watch | 3 +++ 6 files changed, 89 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright 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..8fbeab7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ptpython (3.0.16-1) sid; urgency=medium + + * Initial upload to sid (Closes: #869534). + + -- Daniel Baumann Fri, 26 Feb 2021 05:10:41 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..1c0389c --- /dev/null +++ b/debian/control @@ -0,0 +1,36 @@ +Source: ptpython +Section: python +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + dh-python, + python3, + python3-prompt-toolkit (>= 3.0.16), + python3-pygments, + python3-setuptools, +Rules-Requires-Root: no +Standards-Version: 4.5.1 +Homepage: https://github.com/prompt-toolkit/ptpython +Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/ptpython +Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/ptpython + +Package: ptpython +Section: python +Architecture: all +Depends: + python3-prompt-toolkit (>= 3.0.16), + ${misc:Depends}, + ${python3:Depends}, +Description: Alternative Python Prompt with auto-completion and syntax highlighting + Ptpython is an advanced Python REPL: + . + * Syntax highlighting. + * Multiline editing (the up arrow works). + * Autocompletion. + * Mouse support. + * Support for color schemes. + * Support for bracketed paste. + * Both Vi and Emacs key bindings. + * Support for double width (Chinese) characters. + * ...and many other things. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..dd98bff --- /dev/null +++ b/debian/copyright @@ -0,0 +1,38 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ptpython +Upstream-Contact: Jonathan Slenders +Source: https://github.com/prompt-toolkit/ptpython/releases + +Files: * +Copyright: 2015-2020 Jonathan Slenders +License: BSD-3-clause + +Files: debian/* +Copyright: 2021 Daniel Baumann +License: BSD-3-clause + +License: BSD-3-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. + . + * 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 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/rules b/debian/rules new file mode 100755 index 0000000..c89e472 --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=ptpython + +%: + dh ${@} --buildsystem=pybuild --with python3 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..38fb031 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/ptpython-$1\.tar\.gz/ \ +https://github.com/prompt-toolkit/ptpython/releases .*/v?(\d\S+)\.tar\.gz -- cgit v1.2.3