The attached file contains the patch to update the port to version 2.2.2 Fix: Patch attached with submission follows:
Port builds and installs fine, just one question. I think this port should RUN_DEPENDS on devel/py-usb to be actually usable. What do you think? --=20 pozdrawiam / with regards Pawe=B3 P=EAkala
In fact, it seems possible to use nxt-python with the bluethooth and py-bluez, but py-bluez is not available in the ports. I think most people will want the USB connection, so it is legitimate to include py-usb as a dependency. I updated the patch (in attachment). Quentin.
Author: pawel Date: Thu Dec 27 10:39:07 2012 New Revision: 309539 URL: http://svnweb.freebsd.org/changeset/ports/309539 Log: Update to version 2.2.2 PR: ports/174116 Submitted by: Quentin Stievenart <acieroid@awesom.eu> (maintainer) Modified: head/devel/nxt-python/Makefile head/devel/nxt-python/distinfo head/devel/nxt-python/pkg-plist Modified: head/devel/nxt-python/Makefile ============================================================================== --- head/devel/nxt-python/Makefile Thu Dec 27 08:43:58 2012 (r309538) +++ head/devel/nxt-python/Makefile Thu Dec 27 10:39:07 2012 (r309539) @@ -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 M 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> Modified: head/devel/nxt-python/distinfo ============================================================================== --- head/devel/nxt-python/distinfo Thu Dec 27 08:43:58 2012 (r309538) +++ head/devel/nxt-python/distinfo Thu Dec 27 10:39:07 2012 (r309539) @@ -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 Modified: head/devel/nxt-python/pkg-plist ============================================================================== --- head/devel/nxt-python/pkg-plist Thu Dec 27 08:43:58 2012 (r309538) +++ head/devel/nxt-python/pkg-plist Thu Dec 27 10:39:07 2012 (r309539) @@ -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 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!