Package: python3-popcon
Version: 1.3
Tags: patch
Severity: serious

Hi,

python3-popcon has a Depends for python-xdg. This should, of course,
be python3-xdg:

$ sudo apt-get install python3-popcon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  python3-popcon
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 4920 B of archives.
After this operation, 22.5 kB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian sid/main amd64 python3-popcon all 1.3 
[4920 B]
Fetched 4920 B in 0s (0 B/s)             
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package python3-popcon.
(Reading database ... 23217 files and directories currently installed.)
Preparing to unpack .../python3-popcon_1.3_all.deb ...
Unpacking python3-popcon (1.3) ...
Setting up python3-popcon (1.3) ...

$ python3
Python 3.5.2+ (default, Aug  5 2016, 08:07:14) 
[GCC 6.1.1 20160724] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import popcon
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/popcon.py", line 80, in <module>
    import xdg.BaseDirectory
ImportError: No module named 'xdg.BaseDirectory'


Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/control b/debian/control
index 74e977a..2f6d28e 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,7 @@ Description: Python interface to Debian's Popularity Contest 
(popcon)
 
 Package: python3-popcon
 Architecture: all
-Depends: ${misc:Depends}, ${python3:Depends}, python-xdg
+Depends: ${misc:Depends}, ${python3:Depends}, python3-xdg
 Description: Python interface to Debian's Popularity Contest (popcon)
  This package provides the popcon module, which allows to query Debian's
  Popularity Contest data.

Reply via email to