[Python-modules-commits] r31654 - in packages/pyusb/trunk/debian (11 files)

bzed at users.alioth.debian.org bzed at users.alioth.debian.org
Tue Jan 6 21:14:21 UTC 2015


    Date: Tuesday, January 6, 2015 @ 21:14:20
  Author: bzed
Revision: 31654

* New upstream release (Closes: #712206)
  - Fixes missing module usb.core (Closes: #708764)
* Builds python3-usb in addition to python-usb (Closes: #749908)
* Bump standards version to 3.9.6 without further change
* Debhelper now at version 9
* Using source format "3.0 (quilt)"
* Changed some dependencies
* Changed description of package in d/control
* "cme fix dpkg-control" to clean up d/control
* The packaging work up to v1.0.0b1-1
 - Removed debian/python-usb.examples.

Added:
  packages/pyusb/trunk/debian/python-usb.install
  packages/pyusb/trunk/debian/python3-usb.install
  packages/pyusb/trunk/debian/pyversions
  packages/pyusb/trunk/debian/source/format
Modified:
  packages/pyusb/trunk/debian/changelog
  packages/pyusb/trunk/debian/compat
  packages/pyusb/trunk/debian/control
  packages/pyusb/trunk/debian/copyright
  packages/pyusb/trunk/debian/rules
  packages/pyusb/trunk/debian/watch
Deleted:
  packages/pyusb/trunk/debian/python-usb.examples

Modified: packages/pyusb/trunk/debian/changelog
===================================================================
--- packages/pyusb/trunk/debian/changelog	2015-01-05 16:19:28 UTC (rev 31653)
+++ packages/pyusb/trunk/debian/changelog	2015-01-06 21:14:20 UTC (rev 31654)
@@ -1,12 +1,21 @@
-pyusb (0.4.3-2) UNRELEASED; urgency=low
+pyusb (1.0.0~b2-1) experimental; urgency=low
 
-  [ Scott Kitterman ]
-  * Remove obsolete debian/pyversions file
+  [ Ruben Undheim ]
+  * New upstream release (Closes: #712206)
+    - Fixes missing module usb.core (Closes: #708764)
+  * Builds python3-usb in addition to python-usb (Closes: #749908)
+  * Bump standards version to 3.9.6 without further change
+  * Debhelper now at version 9
+  * Using source format "3.0 (quilt)"
+  * Changed some dependencies
+  * Changed description of package in d/control
+  * "cme fix dpkg-control" to clean up d/control
 
-  [ Jakub Wilk ]
-  * Use canonical URIs for Vcs-* fields.
+  [ Chris J Arges ]
+  * The packaging work up to v1.0.0b1-1
+   - Removed debian/python-usb.examples.
 
- -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 16:03:46 +0200
+ -- Ruben Undheim <ruben.undheim at gmail.com>  Mon, 15 Dec 2014 13:19:02 +0100
 
 pyusb (0.4.3-1) unstable; urgency=low
 

Modified: packages/pyusb/trunk/debian/compat
===================================================================
--- packages/pyusb/trunk/debian/compat	2015-01-05 16:19:28 UTC (rev 31653)
+++ packages/pyusb/trunk/debian/compat	2015-01-06 21:14:20 UTC (rev 31654)
@@ -1 +1 @@
-7
+9

Modified: packages/pyusb/trunk/debian/control
===================================================================
--- packages/pyusb/trunk/debian/control	2015-01-05 16:19:28 UTC (rev 31653)
+++ packages/pyusb/trunk/debian/control	2015-01-06 21:14:20 UTC (rev 31654)
@@ -1,17 +1,38 @@
 Source: pyusb
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Bernd Zeimetz <bzed at debian.org>,
+           Ruben Undheim <ruben.undheim at gmail.com>
 Section: python
 Priority: optional
-Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Bernd Zeimetz <bzed at debian.org>
-Build-Depends: debhelper (>= 7.3.5), libusb-dev, python-all-dev (>= 2.6.6-6)
-Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all-dev (>= 2.6.6-6),
+               python3-all-dev
+Standards-Version: 3.9.6
+X-Python-Version: all
+X-Python3-Version: >= 3.1
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pyusb/trunk/
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pyusb/trunk/
 Homepage: http://sourceforge.net/apps/trac/pyusb
-Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pyusb/trunk/
-Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pyusb/trunk/
 
 Package: python-usb
 Architecture: any
-Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Depends: ${python:Depends},
+         ${misc:Depends},
+         libusb-1.0-0
 Description: USB interface for Python
- PyUSB is a native Python module written in C (meanwhile, because the
- next major version will use ctypes), that provides USB access for it.
+ This version of python-usb is written entirely in Python and uses
+ ctypes to interact with various USB libraries. Both libusb-0.1, libusb-1.0
+ and openusb are supported with various backends.
+
+Package: python3-usb
+Architecture: any
+Depends: ${python3:Depends},
+         ${misc:Depends},
+         libusb-1.0-0
+Description: USB interface for Python (Python3)
+ This version of python-usb is written entirely in Python and uses
+ ctypes to interact with various USB libraries. Both libusb-0.1, libusb-1.0
+ and openusb are supported with various backends.
+ .
+ This package contains the Python 3 version of pyusb.

Modified: packages/pyusb/trunk/debian/copyright
===================================================================
--- packages/pyusb/trunk/debian/copyright	2015-01-05 16:19:28 UTC (rev 31653)
+++ packages/pyusb/trunk/debian/copyright	2015-01-06 21:14:20 UTC (rev 31654)
@@ -3,15 +3,23 @@
 It is now maintained within the python-modules team, mainly by
 Bernd Zeimetz <bernd at bzed.de>
 
-It was downloaded from http://pyusb.berlios.de/
+It was downloaded from http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/
 
 Upstream Author:
 
   Wander Lairson Costa <wander.lairson at gmail.com>
 
+and
+
+Files: usb/_lookup.py
+Copyright: 2009-2014 Walker Inman
+
+Files: usb/libloader.py
+Copyright: 2013-2014 André Erdmann
+
 Copyright:
 
-Copyright (C) 2005-2010 Wander Lairson Costa. All Rights Reserved.
+Copyright (C) 2005-2014 Wander Lairson Costa. All Rights Reserved.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
@@ -38,3 +46,4 @@
 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
 OF SUCH DAMAGE.
 
+

Deleted: packages/pyusb/trunk/debian/python-usb.examples
===================================================================
--- packages/pyusb/trunk/debian/python-usb.examples	2015-01-05 16:19:28 UTC (rev 31653)
+++ packages/pyusb/trunk/debian/python-usb.examples	2015-01-06 21:14:20 UTC (rev 31654)
@@ -1,2 +0,0 @@
-samples/usbenum.py
-samples/usbprint.py

Added: packages/pyusb/trunk/debian/python-usb.install
===================================================================
--- packages/pyusb/trunk/debian/python-usb.install	                        (rev 0)
+++ packages/pyusb/trunk/debian/python-usb.install	2015-01-06 21:14:20 UTC (rev 31654)
@@ -0,0 +1,3 @@
+usr/lib/python2.*/*-packages/*-info
+usr/lib/python2.*/*-packages/*/*.py
+usr/lib/python2.*/*-packages/*/*/*.py

Added: packages/pyusb/trunk/debian/python3-usb.install
===================================================================
--- packages/pyusb/trunk/debian/python3-usb.install	                        (rev 0)
+++ packages/pyusb/trunk/debian/python3-usb.install	2015-01-06 21:14:20 UTC (rev 31654)
@@ -0,0 +1,3 @@
+usr/lib/python3/*-packages/*-info
+usr/lib/python3/*-packages/*/*.py
+usr/lib/python3/*-packages/*/*/*.py

Added: packages/pyusb/trunk/debian/pyversions
===================================================================
--- packages/pyusb/trunk/debian/pyversions	                        (rev 0)
+++ packages/pyusb/trunk/debian/pyversions	2015-01-06 21:14:20 UTC (rev 31654)
@@ -0,0 +1 @@
+2.3-

Modified: packages/pyusb/trunk/debian/rules
===================================================================
--- packages/pyusb/trunk/debian/rules	2015-01-05 16:19:28 UTC (rev 31653)
+++ packages/pyusb/trunk/debian/rules	2015-01-06 21:14:20 UTC (rev 31654)
@@ -2,5 +2,20 @@
 # -*- makefile -*-
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3
 
+override_dh_auto_clean:
+	rm -rf build
+	dh_auto_clean
+
+override_dh_auto_build:
+	dh_auto_build
+	set -ex; for python in $(shell py3versions -r); do \
+		$$python setup.py build; \
+	done;
+
+override_dh_auto_install:
+	dh_auto_install
+	set -ex; for python in $(shell py3versions -r); do \
+		$$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
+	done;

Added: packages/pyusb/trunk/debian/source/format
===================================================================
--- packages/pyusb/trunk/debian/source/format	                        (rev 0)
+++ packages/pyusb/trunk/debian/source/format	2015-01-06 21:14:20 UTC (rev 31654)
@@ -0,0 +1 @@
+3.0 (quilt)

Modified: packages/pyusb/trunk/debian/watch
===================================================================
--- packages/pyusb/trunk/debian/watch	2015-01-05 16:19:28 UTC (rev 31653)
+++ packages/pyusb/trunk/debian/watch	2015-01-06 21:14:20 UTC (rev 31654)
@@ -1,4 +1,2 @@
 version=3
-# Don't look at 1.0 versions yet.
-
-http://sf.net/pyusb/pyusb-(0.*).tar.gz debian uupdate
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|[a-c])\d*)$/$1~$2/ http://sf.net/pyusb/pyusb-(.*).tar.gz debian uupdate




More information about the Python-modules-commits mailing list