Control: tags -1 + patch Hi Guido
On Thu, Jun 27, 2013 at 06:43:26AM +0200, Salvatore Bonaccorso wrote: > Package: git-buildpackage > Version: 0.6.0 > Severity: normal > > Hi > > When I use the new subcommand syntax for gbp I get: > > gbp clone --verbose --all > git+ssh://git.debian.org/git/pkg-perl/packages/padre.git > > > Traceback (most recent call last): > File "/usr/bin/gbp", line 5, in <module> > from pkg_resources import load_entry_point > ImportError: No module named pkg_resources > > whereas the same with gbp-clone works. As /usr/bin/gbp will use pkg_resources directly, adding a Depends (and Build-Depends for the tests) on python-pkg-resources should be enough. Regards, Salvatore
>From b645ed6b2f58f0896c863aa50b7a0722a8ac9721 Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso <[email protected]> Date: Thu, 27 Jun 2013 07:37:01 +0200 Subject: [PATCH] Add (build-)dependency on python-pkg-resources Add Build-Depends and Depends on python-pkg-resources as /usr/bin/gbp uses pkg_resources. Closes: #714238 --- debian/control | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index c29074b..d25ec68 100644 --- a/debian/control +++ b/debian/control @@ -6,6 +6,7 @@ Build-Depends: debhelper (>= 7.0.50~), python (>> 2.6.6-3~), pychecker, gtk-doc-tools, sgml2x, docbook-utils, jade, python-dateutil, python-nose, python-nosexcover, + python-pkg-resources, bash-completion, perl, python-epydoc, python-coverage, python-setuptools, # For the testsuite git (>= 1:1.7.9.1-1~), bzip2, unzip, pristine-tar, devscripts @@ -18,7 +19,7 @@ X-Python-Version: >= 2.6 Package: git-buildpackage Architecture: all Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, devscripts (>= 2.10.66~), - git (>= 1:1.7.9.1-1~), python-dateutil, man-db + git (>= 1:1.7.9.1-1~), python-dateutil, python-pkg-resources, man-db Recommends: pristine-tar (>= 0.5), cowbuilder Suggests: python-notify, unzip Description: Suite to help with Debian packages in Git repositories -- 1.8.3.1

