From owner-svn-ports-head@freebsd.org Mon Sep 3 19:46:52 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 434A1FF4636; Mon, 3 Sep 2018 19:46:52 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0231174011; Mon, 3 Sep 2018 19:46:52 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id EEB5B19D45; Mon, 3 Sep 2018 19:46:51 +0000 (UTC) From: Jan Beich To: "George V. Neville-Neil" Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r478914 - head/comms/libbtbb References: <201809031933.w83JXSWm040667@repo.freebsd.org> Date: Mon, 03 Sep 2018 21:46:34 +0200 In-Reply-To: <201809031933.w83JXSWm040667@repo.freebsd.org> (George V. Neville-Neil's message of "Mon, 3 Sep 2018 19:33:28 +0000 (UTC)") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2018 19:46:52 -0000 "George V. Neville-Neil" 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 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(, file=)"?