Control: tags -1 + patch

Hi,

please consider attached patch, it updates this package to new upstream
release, adds Python 3 support and switches dh build system to pybuild
(which makes providing Python 3 packages a lot easier)
diff -ruN python-argcomplete-0.6.9/debian/changelog python-argcomplete-0.8.1/debian/changelog
--- python-argcomplete-0.6.9/debian/changelog	2014-01-29 13:27:55.000000000 -0800
+++ python-argcomplete-0.8.1/debian/changelog	2014-08-28 14:23:30.192107153 -0700
@@ -1,3 +1,12 @@
+python-argcomplete (0.8.1-1) unstable; urgency=medium
+
+  * New upstream release
+    - fixes install_requires (removes hadrcoded distribute; closes: #731825)
+  * Add python3-argcomplete binary package (closes: #731238)
+  * Switch dh build system to pybuild
+
+ -- Piotr Ożarowski <pi...@debian.org>  Thu, 28 Aug 2014 12:39:29 -0700
+
 python-argcomplete (0.6.9-1) unstable; urgency=medium
 
   * Imported Upstream version 0.6.9
diff -ruN python-argcomplete-0.6.9/debian/control python-argcomplete-0.8.1/debian/control
--- python-argcomplete-0.6.9/debian/control	2014-01-29 13:27:55.000000000 -0800
+++ python-argcomplete-0.8.1/debian/control	2014-08-28 13:37:06.415978141 -0700
@@ -2,7 +2,8 @@
 Maintainer: Marco Nenciarini <mnen...@debian.org>
 Section: python
 Priority: optional
-Build-Depends: python-setuptools (>= 0.6b3), python-all, debhelper (>= 7)
+Build-Depends: python-setuptools (>= 0.6b3), python-all, debhelper (>= 7),
+ dh-python, python3-all, python3-setuptools
 Standards-Version: 3.9.5.0
 Vcs-Git: git://anonscm.debian.org/collab-maint/python-argcomplete.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/python-argcomplete.git
@@ -15,6 +16,23 @@
  Argcomplete provides easy, extensible command line tab completion of
  arguments for your Python script.
  .
+ It makes two assumptions:
+ .
+  * You're using bash as your shell
+  * You're using argparse to manage your command line arguments/options
+ .
+ Argcomplete is particularly useful if your program has lots of
+ options or subparsers, and if your program can dynamically suggest
+ completions for your argument/option values (for example, if the user
+ is browsing resources over the network).
+
+Package: python3-argcomplete
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: bash tab completion for argparse (for Python 3)
+ Argcomplete provides easy, extensible command line tab completion of
+ arguments for your Python script.
+ .
  It makes two assumptions:
  .
   * You're using bash as your shell
diff -ruN python-argcomplete-0.6.9/debian/rules python-argcomplete-0.8.1/debian/rules
--- python-argcomplete-0.6.9/debian/rules	2014-01-29 13:27:55.000000000 -0800
+++ python-argcomplete-0.8.1/debian/rules	2014-08-28 13:48:24.289191318 -0700
@@ -3,11 +3,11 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-
-WITH_PYTHON2 = $(shell test -f /usr/bin/dh_python2 && echo "--with python2")
+export PYBUILD_NAME=argcomplete
+export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin
 
 %:
-	dh ${WITH_PYTHON2} $@
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 generate_manpages:
 	VERSION=$$(./setup.py -V) ; \

Reply via email to