git: 679519359177 - main - graphics/py-ming: limit supported python versions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Nov 2021 13:59:49 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=6795193591770b8706b7c2396e18e24f16d2ad8f commit 6795193591770b8706b7c2396e18e24f16d2ad8f Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2021-10-28 12:33:09 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2021-11-01 13:59:04 +0000 graphics/py-ming: limit supported python versions checking for the distutils Python package... no configure: error: cannot import Python module "distutils". Please check your Python installation. The error was: <string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives Approved by: portmgr blanket --- graphics/py-ming/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/py-ming/Makefile b/graphics/py-ming/Makefile index 3c6041cf362f..a67155bc98ef 100644 --- a/graphics/py-ming/Makefile +++ b/graphics/py-ming/Makefile @@ -19,7 +19,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \ libming.so:graphics/ming \ libpng.so:graphics/png -USES= autoreconf cpe libtool localbase:ldflags pkgconfig python:3.6+ +USES= autoreconf cpe libtool localbase:ldflags pkgconfig python:3.6-3.9 USE_PYTHON= autoplist concurrent distutils CONFIGURE_ARGS= --enable-python