[Python-modules-commits] [python-hidapi] 03/10: Include python3 package

Tristan Seligmann mithrandi at moszumanska.debian.org
Mon Dec 11 10:48:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

mithrandi pushed a commit to annotated tag debian/0.7.99.post21-1
in repository python-hidapi.

commit 09b91678865648731492cd84b028618c6f1a66aa
Author: Marek Marczykowski-Górecki <marmarek at invisiblethingslab.com>
Date:   Tue Oct 31 01:30:38 2017 +0100

    Include python3 package
    
    Signed-off-by: Marek Marczykowski-Górecki <marmarek at invisiblethingslab.com>
---
 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
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-hidapi.git



More information about the Python-modules-commits mailing list