[Python-modules-commits] [python-libusb1] 01/02: Add python3 and pypy binary packages.

Arnaud Fontaine arnau at moszumanska.debian.org
Tue Nov 22 04:31:11 UTC 2016


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

arnau pushed a commit to branch master
in repository python-libusb1.

commit e67cf92d1cbcd100fe93ac759ad82df12488995a
Author: Arnaud Fontaine <arnaud.fontaine at nexedi.com>
Date:   Tue Nov 22 13:29:47 2016 +0900

    Add python3 and pypy binary packages.
---
 debian/control | 35 ++++++++++++++++++++++++++++++++++-
 debian/rules   |  4 ++--
 2 files changed, 36 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index d61b350..03b5914 100644
--- a/debian/control
+++ b/debian/control
@@ -6,9 +6,14 @@ Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.o
 Build-Depends: debhelper (>= 10~),
                dh-python,
                python-all,
+               python3-all,
+               pypy,
                libusb-1.0-0
-Build-Depends-Indep: python-setuptools
+Build-Depends-Indep: python-setuptools,
+                     python3-setuptools,
+                     pypy-setuptools
 X-Python-Version: >= 2.4
+X-Python3-Version: >= 3.2
 Standards-Version: 3.9.8
 Homepage: http://github.com/vpelletier/python-libusb1
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-libusb1.git
@@ -27,3 +32,31 @@ Description: Python wrapper for libusb1 (Python 2)
  This python module differs from pyusb in that it only aims to wrap
  libusb1. As a consequence, it can expose all libusb1 features and not a
  subset common to various usb libraries.
+
+Package: python3-libusb1
+Architecture: all
+Depends: ${python3:Depends},
+         ${misc:Depends},
+         libusb-1.0-0
+Description: Python wrapper for libusb1 (Python 3)
+ Makes the whole libusb1 API available to Python. Both synchronous and
+ asynchronous APIs are exposed, giving access to all USB transfer types
+ (control, bulk, interrupt, isochronous).
+ .
+ This python module differs from pyusb in that it only aims to wrap
+ libusb1. As a consequence, it can expose all libusb1 features and not a
+ subset common to various usb libraries.
+
+Package: pypy-libusb1
+Architecture: all
+Depends: ${pypy:Depends},
+         ${misc:Depends},
+         libusb-1.0-0
+Description: Python wrapper for libusb1 (PyPy)
+ Makes the whole libusb1 API available to Python. Both synchronous and
+ asynchronous APIs are exposed, giving access to all USB transfer types
+ (control, bulk, interrupt, isochronous).
+ .
+ This python module differs from pyusb in that it only aims to wrap
+ libusb1. As a consequence, it can expose all libusb1 features and not a
+ subset common to various usb libraries.
diff --git a/debian/rules b/debian/rules
index 02c3cff..7bf2917 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,11 @@
 #!/usr/bin/make -f
 
 #export DH_VERBOSE=1
-export PYBUILD_NAME=usb1
+export PYBUILD_NAME=libusb1
 
 # Upstream does not install unittest tests so copy it before executing
 # 'pybuild --test' (dh_auto_test)
 export PYBUILD_BEFORE_TEST=cp {dir}/testUSB1.py {build_dir}
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3,pypy --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list