[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#869534: ITP: ptpython -- Alternative Python Prompt



Hi Andrej

On 3/5/21 7:19 PM, Andrej Shadura wrote:
> push my work so that you can take bits from it and merge with
> whatever you have:

no problem :)

thanks, and thanks for doing the prompt-toolkit upload, too.

I've now uploaded my ptpython to NEW. jftr there's the diff between the
two packages attached. I'll happily merge the things where it makes
sense in the subsequent upload.

Regards,
Daniel
diff -Naurp /srv/git/daniel/ptpython/debian/changelog debian/changelog
--- /srv/git/daniel/ptpython/debian/changelog	2021-03-01 20:19:30.279540055 +0100
+++ debian/changelog	2021-03-05 19:47:22.796978707 +0100
@@ -1,5 +1,5 @@
-ptpython (3.0.16-1) sid; urgency=medium
+ptpython (3.0.16-1) unstable; urgency=low
 
-  * Initial upload to sid (Closes: #869534).
+  * Initial upload.
 
- -- Daniel Baumann <daniel.baumann@progress-linux.org>  Fri, 26 Feb 2021 05:10:41 +0100
+ -- Andrej Shadura <andrewsh@debian.org>  Fri, 05 Mar 2021 19:06:27 +0100
diff -Naurp /srv/git/daniel/ptpython/debian/control debian/control
--- /srv/git/daniel/ptpython/debian/control	2021-03-01 20:21:58.603091620 +0100
+++ debian/control	2021-03-05 19:47:22.796978707 +0100
@@ -1,36 +1,40 @@
 Source: ptpython
+Maintainer: Andrej Shadura <andrewsh@debian.org>
+Uploaders: Debian Python Team <team+python@tracker.debian.org>
 Section: python
 Priority: optional
-Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
 Build-Depends:
  debhelper-compat (= 13),
  dh-python,
- python3,
+ dh-sequence-python3,
+ python3-all,
+ python3-appdirs,
+ python3-setuptools,
+ python3-jedi (>= 0.16.0),
  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
+Vcs-Browser: https://salsa.debian.org/python-team/packages/ptpython
+Vcs-Git: https://salsa.debian.org/python-team/packages/ptpython.git
 
-Package: ptpython
-Section: python
+Package: python3-ptpython
 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:
+Description: advanced Python REPL
+ Ptpython is an advanced terminal-based Python REPL.
+ .
+ Features:
+ .
+  * Syntax highlighting.
+  * Multiline editing (the up arrow works)
+  * Autocompletion
+  * Mouse support
+  * Support for color schemes
+  * Support for bracketed paste (disabled by default)
+  * Vi and Emacs key bindings
+  * Support for double-width characters
  .
-   * 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.
+ Ptpython is built using prompt_toolkit.
diff -Naurp /srv/git/daniel/ptpython/debian/copyright debian/copyright
--- /srv/git/daniel/ptpython/debian/copyright	2021-03-04 20:25:38.063415553 +0100
+++ debian/copyright	2021-03-05 19:47:22.796978707 +0100
@@ -1,14 +1,12 @@
 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>
+Copyright: 2014—2021, Jonathan Slenders <jonathan@slenders.be>
 License: BSD-3-clause
 
 Files: debian/*
-Copyright: 2021 Daniel Baumann <daniel.baumann@progress-linux.org>
+Copyright: 2021, Andrej Shadura <andrewsh@debian.org>
 License: BSD-3-clause
 
 License: BSD-3-clause
@@ -22,7 +20,7 @@ License: BSD-3-clause
    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
+ * 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.
  .
diff -Naurp /srv/git/daniel/ptpython/debian/gbp.conf debian/gbp.conf
--- /srv/git/daniel/ptpython/debian/gbp.conf	1970-01-01 01:00:00.000000000 +0100
+++ debian/gbp.conf	2021-03-05 19:47:22.796978707 +0100
@@ -0,0 +1,3 @@
+[DEFAULT]
+debian-branch = debian/unstable
+upstream-branch = upstream/latest
diff -Naurp /srv/git/daniel/ptpython/debian/rules debian/rules
--- /srv/git/daniel/ptpython/debian/rules	2021-03-01 20:19:30.279540055 +0100
+++ debian/rules	2021-03-05 19:47:22.796978707 +0100
@@ -1,6 +1,5 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=ptpython
-
 %:
-	dh ${@} --buildsystem=pybuild --with python3
+	dh "$@" --buildsystem=pybuild
diff -Naurp /srv/git/daniel/ptpython/debian/upstream/metadata debian/upstream/metadata
--- /srv/git/daniel/ptpython/debian/upstream/metadata	1970-01-01 01:00:00.000000000 +0100
+++ debian/upstream/metadata	2021-03-05 19:47:22.796978707 +0100
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/prompt-toolkit/ptpython/issues
+Bug-Submit: https://github.com/prompt-toolkit/ptpython/issues/new
+Repository: https://github.com/prompt-toolkit/ptpython.git
+Repository-Browse: https://github.com/prompt-toolkit/ptpython
diff -Naurp /srv/git/daniel/ptpython/debian/watch debian/watch
--- /srv/git/daniel/ptpython/debian/watch	2021-03-01 20:19:30.279540055 +0100
+++ debian/watch	2021-03-05 19:47:22.796978707 +0100
@@ -1,3 +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
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/ptpython/ptpython-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

Reply to: