Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Sep 2018 21:46:34 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        "George V. Neville-Neil" <gnn@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r478914 - head/comms/libbtbb
Message-ID:  <lg8i-bbz9-wny@FreeBSD.org>
In-Reply-To: <201809031933.w83JXSWm040667@repo.freebsd.org> (George V. Neville-Neil's message of "Mon, 3 Sep 2018 19:33:28 %2B0000 (UTC)")
References:  <201809031933.w83JXSWm040667@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"George V. Neville-Neil" <gnn@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>)"?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lg8i-bbz9-wny>