svn commit: r563515 - in head: devel/py-pymtbl net/py-pynmsg

Don Lewis truckman at FreeBSD.org
Mon Feb 1 03:36:17 UTC 2021


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.



More information about the svn-ports-all mailing list