summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/changelog5
-rw-r--r--debian/control36
-rw-r--r--debian/copyright38
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
6 files changed, 89 insertions, 0 deletions
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 <daniel.baumann@progress-linux.org> 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 <daniel.baumann@progress-linux.org>
+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 <jonathan@slenders.be>
+Source: https://github.com/prompt-toolkit/ptpython/releases
+
+Files: *
+Copyright: 2015-2020 Jonathan Slenders <jonathan@slenders.be>
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2021 Daniel Baumann <daniel.baumann@progress-linux.org>
+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