[nxt_python] I forgot to add the patch file.

Bruno Wolff III bruno at fedoraproject.org
Sat Oct 22 15:16:07 UTC 2011


commit 16a5112ec1dcf052e0094a3a37776bdea7e5b2c6
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Oct 22 10:15:44 2011 -0500

    I forgot to add the patch file.

 nxt_python-0.7-udev.patch |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/nxt_python-0.7-udev.patch b/nxt_python-0.7-udev.patch
new file mode 100644
index 0000000..fb3c863
--- /dev/null
+++ b/nxt_python-0.7-udev.patch
@@ -0,0 +1,16 @@
+--- setup.py.orig	2011-10-22 09:29:36.800535140 -0500
++++ setup.py	2011-10-22 09:29:09.913117889 -0500
+@@ -9,7 +9,7 @@
+ 	author_email='dplau at comcast.net',
+ 	description='LEGO Mindstorms NXT Control Package',
+ 	url = 'http://home.comcast.net/~dplau/nxt_python/',
+-	data_files=[ ('/etc/udev/rules.d/', [ '70-lego.rules' ] ) ],
++	data_files=[ ('/lib/udev/rules.d/', [ '70-lego.rules' ] ) ],
+ 	packages=['nxt'],
+ 	package_data = { 'nxt' : [ 'bluesock.py', 'compass.py', 'error.py', 'locator.py', 'sensor.py', 'telegram.py', 'brick.py', 'direct.py', 'motor.py', 'system.py', 'usbsock.py' ] },
+ 	scripts=['scripts/nxt_push', 'scripts/nxt_test', 'scripts/nxt_filer']
+--- 70-lego.rules.orig	2011-10-22 09:27:22.258435531 -0500
++++ 70-lego.rules	2011-10-22 09:28:45.557022353 -0500
+@@ -1 +1 @@
+-BUS=="usb", SYSFS{idVendor}=="0694", GROUP="lego", MODE="0660"
++SUBSYSTEM=="usb", ATTRS{idVendor}=="0694", GROUP="lego", MODE="0660"


More information about the scm-commits mailing list