Package Details: python2-pyusb 0.4.3-7

Git Clone URL: https://aur.archlinux.org/python2-pyusb.git (read-only)
Package Base: python2-pyusb
Description: A native Python module written in C which provides USB access.
Upstream URL: http://sourceforge.net/projects/pyusb/
Licenses: custom
Conflicts: pyusb=0.4.3
Provides: pyusb
Submitter: luolimao
Maintainer: anatolik
Last Packager: anatolik
Votes: 82
Popularity: 1.394115
First Submitted: 2013-04-05 23:58
Last Updated: 2015-07-09 22:41

Latest Comments

russo79 commented on 2013-12-18 07:18

@jpkotta

I'm aware of all that. But quoting website:
"The project is divided in two major versions: the stable 0.x and the under development 1.0 versions"
Version 1.0 is still a development version. and that's the reason why I still didn't updated this package to it, and that I'm not going to do it now.

russo79 commented on 2013-12-18 07:16

@jpkotta

I'm aware of all that. The think is that like you wrote, the version name is 1.0.0beta1 (A beta version).
And that's the reason why I still didn't updated this package to version 1, and that I'm not going to do it now.


jpkotta commented on 2013-12-18 01:22

This is out of date. The latest release is 1.0.0beta1. Perhaps more importantly, it is no longer a C module, and Python 3 is supported.

I've submitted a PKGBUILD for python-pyusb: https://aur.archlinux.org/packages/python-pyusb/

Here's a PKGBUILD for python2-pyusb: http://pastebin.com/vkCr2trE

I've tested with python{,2}-usbtmc-git, but none of the other dependencies.

jpkotta commented on 2013-12-18 01:21

This is out of date. The latest release is 1.0.0beta1. Perhaps more importantly, it is no longer a C module, and Python 3 is supported.

I've submitted a PKGBUILD for python-pyusb: https://aur.archlinux.org/packages/python-pyusb/

Here's a PKGBUILD for python2-pyusb: http://pastebin.com/vkCr2trE

xyproto commented on 2013-05-06 14:15

Merged(+deleted) pyusb into python2-pyusb.

russo79 commented on 2013-05-04 18:53

@luolimao

I am currently working on updating gnome15 packages.
One of the changes will be replacing pyusb by python2-pyusb.
Could you disown this package as you told me in the pyusb page?

Thanks.

luolimao commented on 2013-04-06 00:00

@russo79 Python2-pyusb [1] is the correctly named package. I'll orphan it if/whenever you're ready to pick it up, and you can merge this package into it afterwards.

[1] https://aur.archlinux.org/packages/python2-pyusb/

alucryd commented on 2013-04-05 21:36

luolimao: Someone asked for this to be disowned so he could take it over, but you adopted in the meantime. I'm disowning again.

russo79 commented on 2013-04-05 00:11

Hi.

You should change the dependency of libusb to libusb-compat.
The latest provide the file /usr/include/usb.h necessary for compiling.

If libusb-compat is not installed you have the following error:

gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c pyusb.c -o build/temp.linux-x86_64-2.7/pyusb.o
In file included from pyusb.c:11:0:
pyusb.h:6:17: fatal error: usb.h: No such file or directory
#include <usb.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1

bbandi commented on 2012-10-24 20:51

On the pyUSB homepage it says: "It runs on any Python version >= 2.4 (this includes Python 3). "
So it should depend on python2 OR python3

All comments