[python-uk] RaspberryPi related request for help
René Dudfield
renesd at gmail.com
Fri Mar 27 18:02:25 CET 2015
Ok, here's a start... I gathered more information, and found an
alternative[0].
Seems i2c-tools needs to make a new release first? That would be the place
to ask first. http://www.lm-sensors.org/browser/i2c-tools/trunk
Then the Debian package can be updated:
https://packages.debian.org/wheezy/python-smbus
By posting a bug report here, which will alert the maintainers.
https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=python-smbus;dist=unstable
You can see all the Debian package info here, like the change log, the
debian packaging files, and maintainer email addresses:
https://packages.qa.debian.org/i/i2c-tools.html
They last made a release on March 8th, so they would seem to be responsive.
Debian packages can be made with patches on top of upstream releases if
needed. Which they have done already in this package.
You need to have a separate .diff file patch for the feature. Which you can
get from here: http://www.lm-sensors.org/changeset/6267/i2c-tools/trunk
See the Debian python packaging guide:
https://wiki.debian.org/Python/Packaging
I'm sure the maintainers would be happy to help someone out if they have
questions.
best,
[0] There's a cffi implementation with python 3 support. That can be pip
installed, so there is no need for a debian package.
https://github.com/bivab/smbus-cffi
ps. what's the benefit of conda (to people, not to the company selling it)
now that there are wheels and devpi? Seems to only divide the python
community and add more confusion now.
On Tue, Mar 24, 2015 at 6:04 PM, Nicholas H.Tollervey <ntoll at ntoll.org>
wrote:
> Hi,
>
> The RaspberryPi Education team (i.e. Carrie Anne - cc'd) is having a
> problem getting a Python 3 version of smbus to work. The following links
> pretty much sum up the problem.
>
> http://www.spinics.net/lists/linux-i2c/msg08427.html
> http://procrastinative.ninja/2014/07/21/smbus-for-python34-on-raspberry/
> http://www.raspberrypi.org/forums/viewtopic.php?f=32&t=22348
>
> Put simply, does anyone have the time and knowledge to create a
> python3-smbus package for Raspbian using the instructions/details above?
> As I can tell, it's a case of following the instructions above to apply
> the patch and repackaging it. A good outcome would be a
> python3-smbus.deb package. I'm crazy busy at the moment but might try
> fixing this next week if you don't manage it first.
>
> You may be asking yourself, "Why should I?" Well, I'm glad you asked: a
> *huge* number of children (think several million) and the education team
> (around 4) would benefit from this work.
>
> Put simply, you'll be making a huge difference.
>
> Here's hoping you can help.
>
> :-)
>
> N.
>
>
> _______________________________________________
> python-uk mailing list
> python-uk at python.org
> https://mail.python.org/mailman/listinfo/python-uk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-uk/attachments/20150327/fbea5041/attachment.html>
More information about the python-uk
mailing list