From owner-svn-ports-head@freebsd.org Mon Feb 1 03:36:16 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F305A4F3B0A; Mon, 1 Feb 2021 03:36:16 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DTYWh6hLjz3L8V; Mon, 1 Feb 2021 03:36:16 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from mousie.catspoiler.org (unknown [76.212.85.177]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: truckman) by smtp.freebsd.org (Postfix) with ESMTPSA id 45101983E; Mon, 1 Feb 2021 03:36:16 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Date: Sun, 31 Jan 2021 19:36:14 -0800 (PST) From: Don Lewis Subject: Re: svn commit: r563515 - in head: devel/py-pymtbl net/py-pynmsg To: Antoine Brodin cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org In-Reply-To: <202101311905.10VJ5kFO025821@repo.freebsd.org> Message-ID: References: <202101311905.10VJ5kFO025821@repo.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-Disposition: INLINE X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 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, 01 Feb 2021 03:36:17 -0000 On 31 Jan, Antoine Brodin wrote: > Author: antoine > Date: Sun Jan 31 19:05:45 2021 > New Revision: 563515 > URL: https://svnweb.freebsd.org/changeset/ports/563515 > > Log: > Remove python 2.7 support > > Modified: > head/devel/py-pymtbl/Makefile > head/net/py-pynmsg/Makefile > > Modified: head/devel/py-pymtbl/Makefile > ============================================================================== > --- head/devel/py-pymtbl/Makefile Sun Jan 31 19:01:15 2021 (r563514) > +++ head/devel/py-pymtbl/Makefile Sun Jan 31 19:05:45 2021 (r563515) > @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT > > LIB_DEPENDS= libmtbl.so:devel/mtbl > > -USES= pkgconfig python shebangfix uniquefiles:dirs > +USES= pkgconfig python:3.6+ shebangfix uniquefiles:dirs > USE_PYTHON= autoplist cython distutils > > SHEBANG_FILES= examples/*.py examples/*/*.py > > Modified: head/net/py-pynmsg/Makefile > ============================================================================== > --- head/net/py-pynmsg/Makefile Sun Jan 31 19:01:15 2021 (r563514) > +++ head/net/py-pynmsg/Makefile Sun Jan 31 19:05:45 2021 (r563515) > @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT > > LIB_DEPENDS= libnmsg.so:net/nmsg > > -USES= pkgconfig python shebangfix uniquefiles:dirs > +USES= pkgconfig python:3.6+ shebangfix uniquefiles:dirs > USE_PYTHON= autoplist cython distutils > > SHEBANG_FILES= examples/*.py Question, won't there be additional churn when we clean up after the removal of python 2 (or 3.6 if that happens first)? If I do a build without specifying a flavor, the flavor for the default python (3) version is built. FWIW, this code is compatible with both python 2 and python 3.