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
This commit is contained in:
Dmitry Marakasov 2021-10-28 15:33:09 +03:00
parent c4ba40e2d5
commit 6795193591

View File

@ -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