aboutsummaryrefslogtreecommitdiff
path: root/devel/nxt-python
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-12-27 10:39:07 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-12-27 10:39:07 +0000
commit9a2172bad54b930ab53ff797a106e6e62fc93502 (patch)
tree0ab40600f7c29e74fb6b3d0425066bff4902fda9 /devel/nxt-python
parent13414184e1eff69f0e9de0a11ec769296709ec83 (diff)
downloadports-9a2172bad54b930ab53ff797a106e6e62fc93502.tar.gz
ports-9a2172bad54b930ab53ff797a106e6e62fc93502.zip
Update to version 2.2.2
PR: ports/174116 Submitted by: Quentin Stievenart <acieroid@awesom.eu> (maintainer)
Notes
Notes: svn path=/head/; revision=309539
Diffstat (limited to 'devel/nxt-python')
-rw-r--r--devel/nxt-python/Makefile14
-rw-r--r--devel/nxt-python/distinfo4
-rw-r--r--devel/nxt-python/pkg-plist10
3 files changed, 16 insertions, 12 deletions
diff --git a/devel/nxt-python/Makefile b/devel/nxt-python/Makefile
index 96d2bb0790eb..83a06c3d5b38 100644
--- a/devel/nxt-python/Makefile
+++ b/devel/nxt-python/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: nxt-python
-# Date created: 9 March 2011
-# Whom: Quentin Stievenart <acieroid@awesom.eu>
-#
+# Created by: Quentin Stievenart <acieroid@awesom.eu>
# $FreeBSD$
-#
PORTNAME= nxt-python
-PORTVERSION= 2.1.0
+PORTVERSION= 2.2.2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
@@ -15,12 +11,10 @@ COMMENT= Python interface for the Lego Mindstorms NXT robot
LICENSE= GPLv3
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/usb.so:${PORTSDIR}/devel/py-usb
+
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>
diff --git a/devel/nxt-python/distinfo b/devel/nxt-python/distinfo
index 305ba0bf02f7..a69959c5dc32 100644
--- a/devel/nxt-python/distinfo
+++ b/devel/nxt-python/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nxt-python-2.1.0.tar.gz) = ec05ded1eaa72f77330c68c60d3cda88fdeee14dfbeacc583f2ecbd24f7c9025
-SIZE (nxt-python-2.1.0.tar.gz) = 49769
+SHA256 (nxt-python-2.2.2.tar.gz) = 8d32d8d690b2047691964326337bc8614502c37c66b25c5812a67052a5df35cc
+SIZE (nxt-python-2.2.2.tar.gz) = 95225
diff --git a/devel/nxt-python/pkg-plist b/devel/nxt-python/pkg-plist
index 91758582c356..ec604b7829b3 100644
--- a/devel/nxt-python/pkg-plist
+++ b/devel/nxt-python/pkg-plist
@@ -1,5 +1,6 @@
bin/nxt_filer
bin/nxt_push
+bin/nxt_server
bin/nxt_test
%%PYTHON_SITELIBDIR%%/nxt/__init__.py
%%PYTHON_SITELIBDIR%%/nxt/__init__.pyc
@@ -58,5 +59,14 @@ bin/nxt_test
%%PYTHON_SITELIBDIR%%/nxt/utils.py
%%PYTHON_SITELIBDIR%%/nxt/utils.pyc
%%PYTHON_SITELIBDIR%%/nxt/utils.pyo
+%%PYTHON_SITELIBDIR%%/nxt/fantomsock.py
+%%PYTHON_SITELIBDIR%%/nxt/motcont.py
+%%PYTHON_SITELIBDIR%%/nxt/ipsock.py
+%%PYTHON_SITELIBDIR%%/nxt/fantomsock.pyc
+%%PYTHON_SITELIBDIR%%/nxt/motcont.pyc
+%%PYTHON_SITELIBDIR%%/nxt/ipsock.pyc
+%%PYTHON_SITELIBDIR%%/nxt/fantomsock.pyo
+%%PYTHON_SITELIBDIR%%/nxt/motcont.pyo
+%%PYTHON_SITELIBDIR%%/nxt/ipsock.pyo
@dirrm %%PYTHON_SITELIBDIR%%/nxt/sensor
@dirrm %%PYTHON_SITELIBDIR%%/nxt