Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2021 19:36:14 -0800 (PST)
From:      Don Lewis <truckman@FreeBSD.org>
To:        Antoine Brodin <antoine@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r563515 - in head: devel/py-pymtbl net/py-pynmsg
Message-ID:  <tkrat.4a34e6b0dacf2469@FreeBSD.org>
In-Reply-To: <202101311905.10VJ5kFO025821@repo.freebsd.org>
References:  <202101311905.10VJ5kFO025821@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?tkrat.4a34e6b0dacf2469>