Skip to content

Commit

Permalink
Merge pull request pyusb#146 from ehem/master
Browse files Browse the repository at this point in the history
Quick Debian packaging
  • Loading branch information
walac committed May 21, 2016
2 parents 73ab8d0 + 786333c commit 665334e
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pyusb (1.0.0) unstable; urgency=low

* Initial release.

-- Elliott Mitchell <ehem+pyusb@m5p.com> Thu, 19 May 2016 10:21:32 -0700
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8
32 changes: 32 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Source: pyusb
Section: python
Priority: extra
Maintainer: Wander Lairson Costa <wander.lairson@gmail.com>
Build-Depends: debhelper (>= 7.0.50~), python2.7, python3.2
Standards-Version: 3.8.4
Homepage: http://walac.github.io/pyusb

Package: pyusb
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python2.7 | python3.2, libusb-0.1-4 | libusb-1.0-0 | libopenusb0
Description: PyUSB 1.0 - Easy USB access from Python
Introduction
.
The PyUSB module provides for Python easy access to the host machine's
Universal Serial Bus (USB) system.
.
Until 0.4 version, PyUSB used to be a thin wrapper over libusb. With 1.0
version, things changed considerably. Now PyUSB is an API rich, backend
neutral Python USB module easy to use.
.
As with most Python modules, PyUSB's documentation is based on Python doc
strings and can therefore be manipulated by tools such as pydoc.
.
You can also find a tutorial at: https://github.com/walac/pyusb/blob/master/docs/tutorial.rst.
.
PyUSB supports libusb 0.1, libusb 1.0 and OpenUSB, but the user does not need
to worry about that, unless in some corner cases.
.
If you have any question about PyUSB, you can use the PyUSB mailing list
hosted in the SourceForge. In the PyUSB website (http://walac.github.io/pyusb)
you can find instructions on how to subscribe to the mailing list.
4 changes: 4 additions & 0 deletions debian/pyusb.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
README.rst
docs/*
LICENSE

11 changes: 11 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/make -f

PKG = pyusb

%:
dh $@

override_dh_auto_install:
python3.2 setup.py install --prefix=/usr --root=debian/pyusb
python2.7 setup.py install --prefix=/usr --root=debian/pyusb

0 comments on commit 665334e

Please sign in to comment.