Your message dated Mon, 23 Dec 2019 18:25:58 -0500
with message-id 
<CAB4XWXxVE-VFYGZBsOzhonUkHGDBrzBs-pR=a9u_Kpo7L=u...@mail.gmail.com>
and subject line Re: python-hid: Python 3 packaging of python-hid
has caused the Debian Bug report #880685,
regarding python-hid: Python 3 packaging of python-hid
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
880685: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880685
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-hid
Version: 0.7.99.6-2
Severity: wishlist
Tags: patch

Dear Maintainer,

Source package python-hid lack python3 packaging of the module. It would
be nice to have it there.
I've prepared patches for this already, patches attached. And also
available here:
https://github.com/marmarek/qubes-python-hid/commit/a210104d0e8e6bc6b9b25b39e8e5c1831e9a6e9d
https://github.com/marmarek/qubes-python-hid/commit/aec7b337729043e9dd6bc2e90e23176958ada2ff

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.56-21.pvops.qubes.x86_64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.UTF-8), LANGUAGE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-hid depends on:
ii  libc6              2.24-11+deb9u1
ii  libhidapi-hidraw0  0.8.0~rc1+git20140818.d17db57+dfsg-1
ii  libhidapi-libusb0  0.8.0~rc1+git20140818.d17db57+dfsg-1
ii  libudev1           232-25+deb9u1
ii  libusb-1.0-0       2:1.0.21-1
ii  python             2.7.13-2

python-hid recommends no packages.

python-hid suggests no packages.

-- no debconf information
From a210104d0e8e6bc6b9b25b39e8e5c1831e9a6e9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?=
 <[email protected]>
Date: Mon, 30 Oct 2017 23:19:40 +0100
Subject: [PATCH 1/2] Convert to pybuild
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Organization: Invisible Things Lab
Cc: Marek Marczykowski-Górecki <[email protected]>

And also reformat Build-Depends.

Signed-off-by: Marek Marczykowski-Górecki <[email protected]>
---
 debian/compat  |  2 +-
 debian/control | 10 +++++++++-
 debian/rules   |  8 +++++++-
 3 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index 4f41574..3c79ae5 100644
--- a/debian/control
+++ b/debian/control
@@ -4,12 +4,20 @@ Uploaders: Tristan Seligmann <[email protected]>
 Section: python
 Priority: optional
 Homepage: https://github.com/trezor/cython-hidapi
-Build-Depends: python-all-dev, debhelper (>=7), dh-python, cython, 
libhidapi-dev, libusb-1.0-0-dev, libudev-dev
+Build-Depends:
+ python-all-dev,
+ debhelper (>=9),
+ dh-python,
+ cython,
+ libhidapi-dev,
+ libusb-1.0-0-dev,
+ libudev-dev,
 Standards-Version: 3.9.6
 
 Package: python-hid
 Architecture: any
 Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
+Provides: ${python:Provides}
 Description: cython interface to hidapi
  This has been tested with:
  .
diff --git a/debian/rules b/debian/rules
index c455c93..60a2f5c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,13 @@
 # This file was automatically generated by stdeb 0.6.0+git at
 # Fri, 26 Sep 2014 11:34:03 +0200
 
+export PYBUILD_NAME=hid
+
+override_dh_clean:
+       dh_clean
+       rm -f hid.c hidraw.c
+
 %:
-       dh $@ --with python2 --buildsystem=python_distutils
+       dh $@ --with python2 --buildsystem=pybuild
 
 
-- 
2.9.5

From aec7b337729043e9dd6bc2e90e23176958ada2ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?=
 <[email protected]>
Date: Mon, 30 Oct 2017 23:20:58 +0100
Subject: [PATCH 2/2] Include python3 package
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Organization: Invisible Things Lab
Cc: Marek Marczykowski-Górecki <[email protected]>

Signed-off-by: Marek Marczykowski-Górecki <[email protected]>
---
 debian/control | 21 +++++++++++++++++++++
 debian/rules   |  2 +-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 3c79ae5..d1767f3 100644
--- a/debian/control
+++ b/debian/control
@@ -9,11 +9,32 @@ Build-Depends:
  debhelper (>=9),
  dh-python,
  cython,
+ cython3,
  libhidapi-dev,
  libusb-1.0-0-dev,
  libudev-dev,
+ python3-all,
+ python3-all-dev
 Standards-Version: 3.9.6
 
+Package: python3-hid
+Architecture: any
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Provides: ${python3:Provides}
+Description: cython3 interface to hidapi
+ This has been tested with:
+ .
+ * the PIC18F4550 on the development board from CCS with their example program.
+ * the Fine Offset WH3081 Weather Station.
+ .
+ It works on Linux, Windows XP and OS X.
+ .
+ HIDAPI is a multi-platform library which allows an application to interface
+ with USB and Bluetooth HID-Class devices on Windows, Linux, FreeBSD, and Mac
+ OS X.  HIDAPI can be either built as a shared library (.so or .dll) or
+ can be embedded directly into a target application by adding a single source
+ file (per platform) and a single header.
+
 Package: python-hid
 Architecture: any
 Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
diff --git a/debian/rules b/debian/rules
index 60a2f5c..769eabb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,6 @@ override_dh_clean:
        rm -f hid.c hidraw.c
 
 %:
-       dh $@ --with python2 --buildsystem=pybuild
+       dh $@ --with python2,python3 --buildsystem=pybuild
 
 
-- 
2.9.5


--- End Message ---
--- Begin Message ---
Version: 0.7.99.6-3

On Fri, 03 Nov 2017 20:00:41 +0100
=?utf-8?q?Marek_Marczykowski-G=C3=B3recki?=
<[email protected]> wrote:
> Package: python-hid
> Version: 0.7.99.6-2
> Severity: wishlist
> Tags: patch

--- End Message ---

Reply via email to