1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

nxt-python is a python driver/interface for the Lego Mindstorms NXT robot. The

1.x releases aim to improve on NXT_Python's interface and should be compatible
with scripts which use it while the 2.x releases improve on the API in
backwards-incompatible ways and will not work with NXT_Python scripts.

WWW: http://code.google.com/p/nxt-python/

PR:		ports/155409
Submitted by:	Quentin Stievenart [acieroid awesom.eu]
This commit is contained in:
Rene Ladan 2011-03-10 22:54:18 +00:00
parent bae20c0edf
commit 40c0045a0c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270632
5 changed files with 97 additions and 0 deletions

View File

@ -1063,6 +1063,7 @@
SUBDIR += ninja
SUBDIR += noweb
SUBDIR += nspr
SUBDIR += nxt-python
SUBDIR += oaf
SUBDIR += obby
SUBDIR += obfuscatejs

26
devel/nxt-python/Makefile Normal file
View File

@ -0,0 +1,26 @@
# New ports collection makefile for: nxt-python
# Date created: 9 March 2011
# Whom: Quentin Stievenart <acieroid@awesom.eu>
#
# $FreeBSD$
#
PORTNAME= nxt-python
PORTVERSION= 2.1.0
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= acieroid@awesom.eu
COMMENT= Python interface for the Lego Mindstorms NXT robot
LICENSE= GPLv3
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= ${PORTNAME}
post-patch:
# fixes FreeBSD specific bug
${REINPLACE_CMD} 's|\(self.handle.reset()\)|#\1|' ${WRKSRC}/nxt/usbsock.py
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (nxt-python-2.1.0.tar.gz) = ec05ded1eaa72f77330c68c60d3cda88fdeee14dfbeacc583f2ecbd24f7c9025
SIZE (nxt-python-2.1.0.tar.gz) = 49769

View File

@ -0,0 +1,6 @@
nxt-python is a python driver/interface for the Lego Mindstorms NXT robot. The
1.x releases aim to improve on NXT_Python's interface and should be compatible
with scripts which use it while the 2.x releases improve on the API in
backwards-incompatible ways and will not work with NXT_Python scripts.
WWW: http://code.google.com/p/nxt-python/

View File

@ -0,0 +1,62 @@
bin/nxt_filer
bin/nxt_push
bin/nxt_test
%%PYTHON_SITELIBDIR%%/nxt/__init__.py
%%PYTHON_SITELIBDIR%%/nxt/__init__.pyc
%%PYTHON_SITELIBDIR%%/nxt/__init__.pyo
%%PYTHON_SITELIBDIR%%/nxt/bluesock.py
%%PYTHON_SITELIBDIR%%/nxt/bluesock.pyc
%%PYTHON_SITELIBDIR%%/nxt/bluesock.pyo
%%PYTHON_SITELIBDIR%%/nxt/brick.py
%%PYTHON_SITELIBDIR%%/nxt/brick.pyc
%%PYTHON_SITELIBDIR%%/nxt/brick.pyo
%%PYTHON_SITELIBDIR%%/nxt/direct.py
%%PYTHON_SITELIBDIR%%/nxt/direct.pyc
%%PYTHON_SITELIBDIR%%/nxt/direct.pyo
%%PYTHON_SITELIBDIR%%/nxt/error.py
%%PYTHON_SITELIBDIR%%/nxt/error.pyc
%%PYTHON_SITELIBDIR%%/nxt/error.pyo
%%PYTHON_SITELIBDIR%%/nxt/lightblueglue.py
%%PYTHON_SITELIBDIR%%/nxt/lightblueglue.pyc
%%PYTHON_SITELIBDIR%%/nxt/lightblueglue.pyo
%%PYTHON_SITELIBDIR%%/nxt/locator.py
%%PYTHON_SITELIBDIR%%/nxt/locator.pyc
%%PYTHON_SITELIBDIR%%/nxt/locator.pyo
%%PYTHON_SITELIBDIR%%/nxt/motor.py
%%PYTHON_SITELIBDIR%%/nxt/motor.pyc
%%PYTHON_SITELIBDIR%%/nxt/motor.pyo
%%PYTHON_SITELIBDIR%%/nxt/sensor/__init__.py
%%PYTHON_SITELIBDIR%%/nxt/sensor/__init__.pyc
%%PYTHON_SITELIBDIR%%/nxt/sensor/__init__.pyo
%%PYTHON_SITELIBDIR%%/nxt/sensor/analog.py
%%PYTHON_SITELIBDIR%%/nxt/sensor/analog.pyc
%%PYTHON_SITELIBDIR%%/nxt/sensor/analog.pyo
%%PYTHON_SITELIBDIR%%/nxt/sensor/common.py
%%PYTHON_SITELIBDIR%%/nxt/sensor/common.pyc
%%PYTHON_SITELIBDIR%%/nxt/sensor/common.pyo
%%PYTHON_SITELIBDIR%%/nxt/sensor/digital.py
%%PYTHON_SITELIBDIR%%/nxt/sensor/digital.pyc
%%PYTHON_SITELIBDIR%%/nxt/sensor/digital.pyo
%%PYTHON_SITELIBDIR%%/nxt/sensor/generic.py
%%PYTHON_SITELIBDIR%%/nxt/sensor/generic.pyc
%%PYTHON_SITELIBDIR%%/nxt/sensor/generic.pyo
%%PYTHON_SITELIBDIR%%/nxt/sensor/hitechnic.py
%%PYTHON_SITELIBDIR%%/nxt/sensor/hitechnic.pyc
%%PYTHON_SITELIBDIR%%/nxt/sensor/hitechnic.pyo
%%PYTHON_SITELIBDIR%%/nxt/sensor/mindsensors.py
%%PYTHON_SITELIBDIR%%/nxt/sensor/mindsensors.pyc
%%PYTHON_SITELIBDIR%%/nxt/sensor/mindsensors.pyo
%%PYTHON_SITELIBDIR%%/nxt/system.py
%%PYTHON_SITELIBDIR%%/nxt/system.pyc
%%PYTHON_SITELIBDIR%%/nxt/system.pyo
%%PYTHON_SITELIBDIR%%/nxt/telegram.py
%%PYTHON_SITELIBDIR%%/nxt/telegram.pyc
%%PYTHON_SITELIBDIR%%/nxt/telegram.pyo
%%PYTHON_SITELIBDIR%%/nxt/usbsock.py
%%PYTHON_SITELIBDIR%%/nxt/usbsock.pyc
%%PYTHON_SITELIBDIR%%/nxt/usbsock.pyo
%%PYTHON_SITELIBDIR%%/nxt/utils.py
%%PYTHON_SITELIBDIR%%/nxt/utils.pyc
%%PYTHON_SITELIBDIR%%/nxt/utils.pyo
@dirrm %%PYTHON_SITELIBDIR%%/nxt/sensor
@dirrm %%PYTHON_SITELIBDIR%%/nxt