Package: hivex
Version: 1.3.7-3
Severity: normal
Tags: patch

It appears that you intend (from what's in debian/rules and control) to
support python3, but with the current packaging no python3 bindings are
provided.  The attached patch provides a python3-hivex package that has
support for the default python3 (currently 3.2).  Ideally it would support
all python3 versions, but I couldn't quite figure out why that wasn't
happening.  In any case, the attached would be a good step forward.
diff -Nru hivex-1.3.7/debian/changelog hivex-1.3.7/debian/changelog
--- hivex-1.3.7/debian/changelog	2013-05-23 10:08:18.000000000 -0400
+++ hivex-1.3.7/debian/changelog	2013-05-23 13:29:59.000000000 -0400
@@ -1,3 +1,12 @@
+hivex (1.3.7-4) UNRELEASED; urgency=low
+
+  * Finish support for python3 bindings
+    - Add python3-hivex binary
+    - Add debian/python3-hivex.install
+    - Adjust debian/python-hivex.install to not include python3 files
+
+ -- Scott Kitterman <sc...@kitterman.com>  Thu, 23 May 2013 13:28:38 -0400
+
 hivex (1.3.7-3) unstable; urgency=low
 
   * Added patch to fix FTBFS due to usage of obsolete rake/rdoctask,
diff -Nru hivex-1.3.7/debian/control hivex-1.3.7/debian/control
--- hivex-1.3.7/debian/control	2013-05-23 07:45:32.000000000 -0400
+++ hivex-1.3.7/debian/control	2013-05-23 13:14:34.000000000 -0400
@@ -108,6 +108,15 @@
  Python bindings for libhivex, a library for reading and writing
  Windows Registry "hive" binary files.
 
+Package: python3-hivex
+Architecture: any
+Section: python
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Python 3 bindings for hivex
+ Python 3 bindings for libhivex, a library for reading and writing
+ Windows Registry "hive" binary files.
+
+
 Package: ruby-hivex
 Architecture: any
 Section: ruby
diff -Nru hivex-1.3.7/debian/python3-hivex.install hivex-1.3.7/debian/python3-hivex.install
--- hivex-1.3.7/debian/python3-hivex.install	1969-12-31 19:00:00.000000000 -0500
+++ hivex-1.3.7/debian/python3-hivex.install	2013-05-23 13:28:20.000000000 -0400
@@ -0,0 +1 @@
+/usr/lib/python3*/dist-packages
diff -Nru hivex-1.3.7/debian/python-hivex.install hivex-1.3.7/debian/python-hivex.install
--- hivex-1.3.7/debian/python-hivex.install	2013-05-23 07:45:32.000000000 -0400
+++ hivex-1.3.7/debian/python-hivex.install	2013-05-23 13:27:58.000000000 -0400
@@ -1 +1 @@
-/usr/lib/python*/dist-packages
+/usr/lib/python2*/dist-packages

Reply via email to