svn commit: r478914 - head/comms/libbtbb

Jan Beich jbeich at FreeBSD.org
Mon Sep 3 19:46:52 UTC 2018


"George V. Neville-Neil" <gnn at FreeBSD.org> writes:

> Author: gnn
> Date: Mon Sep  3 19:33:28 2018
> New Revision: 478914
> URL: https://svnweb.freebsd.org/changeset/ports/478914
>
> Log:
>   Switch to the more idiomatic inclusion of Python
>
> Modified:
>   head/comms/libbtbb/Makefile
>
> Modified: head/comms/libbtbb/Makefile
> ==============================================================================
> --- head/comms/libbtbb/Makefile	Mon Sep  3 19:10:43 2018	(r478913)
> +++ head/comms/libbtbb/Makefile	Mon Sep  3 19:33:28 2018	(r478914)
> @@ -11,11 +11,11 @@ COMMENT=	Bluetooth Baseband Library
>  LICENSE=	GPLv2
>  LICENSE_FILE=	${WRKSRC}/LICENSE
>  
> -BUILD_DEPENDS=	python27:lang/python27 \
> -		pyside-py27:devel/pyside \
> +BIULD_DEPENDS=	pyside-py27:devel/pyside \

Only works because devel/pyside has USES=python:2.7. I still think you
should let USES=python control the flavor here.

> -USES=		cmake:outsource
> +USES=		cmake:outsource \
> +		python

s/python/python:2.7/ as I now understand why BUILD_DEPENDS originally had python27:

$ python3.6 /usr/local/bin/btaptap
Traceback (most recent call last):
  File "/usr/local/bin/btaptap", line 493, in <module>
    print >>sys.stderr, "Must specify a libpcap capture or an Ellisys CSV file"
TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.TextIOWrapper'. Did you mean "print(<message>, file=<output_stream>)"?


More information about the svn-ports-head mailing list