Bug#681583: python-blist: empty package

2012-07-17 Thread Evgeni Golov
tags 681583 + patch
thanks

Hi,

this is due to blist not Build-Depending on anything pythoninc and thus 
resulting in the following during build:
dh_auto_build
 Can't exec pyversions: No such file or directory at 
/usr/share/perl5/Debian/Debhelper/Buildsystem/python_distutils.pm line 120.
 Use of uninitialized value $python_default in substitution (s///) at 
/usr/share/perl5/Debian/Debhelper/Buildsystem/python_distutils.pm line 121.
 Use of uninitialized value $python_default in substitution (s///) at 
/usr/share/perl5/Debian/Debhelper/Buildsystem/python_distutils.pm line 122.

A patch to solve the issue is attached.

Regards
Evgeni

-- 
Bruce Schneier can read and understand Perl programs.
diff -Nru blist-1.3.4/debian/changelog blist-1.3.4/debian/changelog
--- blist-1.3.4/debian/changelog	2012-04-17 22:36:29.0 +0200
+++ blist-1.3.4/debian/changelog	2012-07-17 08:20:53.0 +0200
@@ -1,3 +1,12 @@
+blist (1.3.4-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh_python2.
+  * Add python-all-dev to Build-Depends.
+  * Add python:Depends and python:Provides to Depends and Provides.
+
+ -- Evgeni Golov evg...@debian.org  Tue, 17 Jul 2012 08:02:31 +0200
+
 blist (1.3.4-1) unstable; urgency=low
 
   * Initial release.
diff -Nru blist-1.3.4/debian/control blist-1.3.4/debian/control
--- blist-1.3.4/debian/control	2012-04-24 23:19:13.0 +0200
+++ blist-1.3.4/debian/control	2012-07-17 08:19:07.0 +0200
@@ -5,7 +5,7 @@
 Uploaders:
  Michael Gilbert mgilb...@debian.org
 Build-Depends:
- debhelper (= 9)
+ debhelper (= 9), python-all-dev
 Standards-Version: 3.9.3
 Homepage: http://pypi.python.org/pypi/blist
 
@@ -14,6 +14,9 @@
 Depends:
  ${shlibs:Depends},
  ${misc:Depends},
+ ${python:Depends}
+Provides:
+ ${python:Provides}
 Description: List-like type for python with better asymptotic performance
  This package is a drop-in replacement for the Python list the provides better
  performance when modifying large lists. The blist package also provides
diff -Nru blist-1.3.4/debian/rules blist-1.3.4/debian/rules
--- blist-1.3.4/debian/rules	2012-04-17 23:44:54.0 +0200
+++ blist-1.3.4/debian/rules	2012-07-17 08:11:19.0 +0200
@@ -9,4 +9,4 @@
 	dh_clean
 
 %:
-	dh $@ 
+	dh $@ --with=python2


Bug#681583: python-blist: empty package

2012-07-17 Thread Evgeni Golov
On Tue, Jul 17, 2012 at 08:27:16AM +0200, Evgeni Golov wrote:
 A patch to solve the issue is attached.

A better version, with versioned build-depens on p-all-dev and a closes 
for the bug is attached now.

-- 
Bruce Schneier can read and understand Perl programs.
diff -Nru blist-1.3.4/debian/changelog blist-1.3.4/debian/changelog
--- blist-1.3.4/debian/changelog	2012-04-17 22:36:29.0 +0200
+++ blist-1.3.4/debian/changelog	2012-07-17 08:44:23.0 +0200
@@ -1,3 +1,13 @@
+blist (1.3.4-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh_python2.
+  * Add python-all-dev to Build-Depends.
+  * Add python:Depends and python:Provides to Depends and Provides.
+  * This all closes: #681583
+
+ -- Evgeni Golov evg...@debian.org  Tue, 17 Jul 2012 08:02:31 +0200
+
 blist (1.3.4-1) unstable; urgency=low
 
   * Initial release.
diff -Nru blist-1.3.4/debian/control blist-1.3.4/debian/control
--- blist-1.3.4/debian/control	2012-04-24 23:19:13.0 +0200
+++ blist-1.3.4/debian/control	2012-07-17 08:43:38.0 +0200
@@ -5,7 +5,7 @@
 Uploaders:
  Michael Gilbert mgilb...@debian.org
 Build-Depends:
- debhelper (= 9)
+ debhelper (= 9), python-all-dev (= 2.6.6-3~)
 Standards-Version: 3.9.3
 Homepage: http://pypi.python.org/pypi/blist
 
@@ -14,6 +14,9 @@
 Depends:
  ${shlibs:Depends},
  ${misc:Depends},
+ ${python:Depends}
+Provides:
+ ${python:Provides}
 Description: List-like type for python with better asymptotic performance
  This package is a drop-in replacement for the Python list the provides better
  performance when modifying large lists. The blist package also provides
diff -Nru blist-1.3.4/debian/rules blist-1.3.4/debian/rules
--- blist-1.3.4/debian/rules	2012-04-17 23:44:54.0 +0200
+++ blist-1.3.4/debian/rules	2012-07-17 08:11:19.0 +0200
@@ -9,4 +9,4 @@
 	dh_clean
 
 %:
-	dh $@ 
+	dh $@ --with=python2


Bug#681583: python-blist: empty package

2012-07-17 Thread Evgeni Golov
On Tue, Jul 17, 2012 at 08:48:22AM +0200, Evgeni Golov wrote:
 On Tue, Jul 17, 2012 at 08:27:16AM +0200, Evgeni Golov wrote:
  A patch to solve the issue is attached.
 
 A better version, with versioned build-depens on p-all-dev and a closes 
 for the bug is attached now.

After Jakub's pointer to [1] on IRC, a revised patch is attached.

Regards
Evgeni

[1] http://lists.debian.org/debian-python/2011/03/msg00139.html

-- 
Bruce Schneier can read and understand Perl programs.
diff -Nru blist-1.3.4/debian/changelog blist-1.3.4/debian/changelog
--- blist-1.3.4/debian/changelog	2012-04-17 22:36:29.0 +0200
+++ blist-1.3.4/debian/changelog	2012-07-17 14:49:24.0 +0200
@@ -1,3 +1,13 @@
+blist (1.3.4-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh_python2.
+  * Add python-all-dev to Build-Depends.
+  * Add python:Depends to Depends.
+  * This all closes: #681583
+
+ -- Evgeni Golov evg...@debian.org  Tue, 17 Jul 2012 08:02:31 +0200
+
 blist (1.3.4-1) unstable; urgency=low
 
   * Initial release.
diff -Nru blist-1.3.4/debian/control blist-1.3.4/debian/control
--- blist-1.3.4/debian/control	2012-04-24 23:19:13.0 +0200
+++ blist-1.3.4/debian/control	2012-07-17 14:49:14.0 +0200
@@ -5,7 +5,7 @@
 Uploaders:
  Michael Gilbert mgilb...@debian.org
 Build-Depends:
- debhelper (= 9)
+ debhelper (= 9), python-all-dev (= 2.6.6-3~)
 Standards-Version: 3.9.3
 Homepage: http://pypi.python.org/pypi/blist
 
@@ -14,6 +14,7 @@
 Depends:
  ${shlibs:Depends},
  ${misc:Depends},
+ ${python:Depends}
 Description: List-like type for python with better asymptotic performance
  This package is a drop-in replacement for the Python list the provides better
  performance when modifying large lists. The blist package also provides
diff -Nru blist-1.3.4/debian/rules blist-1.3.4/debian/rules
--- blist-1.3.4/debian/rules	2012-04-17 23:44:54.0 +0200
+++ blist-1.3.4/debian/rules	2012-07-17 08:11:19.0 +0200
@@ -9,4 +9,4 @@
 	dh_clean
 
 %:
-	dh $@ 
+	dh $@ --with=python2


Bug#681583: python-blist: empty package

2012-07-14 Thread Jakub Wilk

Package: python-blist
Version: 1.3.4-1
Severity: grave
Justification: renders package unusable

The binary package is virtually empty:

$ dpkg -c python-blist_1.3.4-1_i386.deb
drwxr-xr-x root/root 0 2012-05-06 15:23 ./
drwxr-xr-x root/root 0 2012-05-06 15:23 ./usr/
drwxr-xr-x root/root 0 2012-05-06 15:23 ./usr/share/
drwxr-xr-x root/root 0 2012-05-06 15:23 ./usr/share/doc/
drwxr-xr-x root/root 0 2012-05-06 15:23 ./usr/share/doc/python-blist/
-rw-r--r-- root/root   141 2012-04-17 22:36 
./usr/share/doc/python-blist/changelog.Debian.gz
-rw-r--r-- root/root  8233 2012-04-25 00:42 
./usr/share/doc/python-blist/copyright
-rw-r--r-- root/root  2440 2011-01-31 00:10 
./usr/share/doc/python-blist/README.rst.gz


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.4-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org