misc/hashdb: fix build

add setuptools dependency to fix build. the error was:

checking for python3.11... /usr/local/bin/python3.11
checking for a version of Python >= '2.1.0'... yes
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

Reported by:	pkg fallout
Approved by:	portmgr (blanket approval)
This commit is contained in:
Ruslan Makhmatkhanov 2024-06-07 17:57:20 +03:00
parent 9bfd3e9878
commit dfcddca68e

View file

@ -12,7 +12,8 @@ WWW= https://github.com/NPS-DEEP/hashdb
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= swig:devel/swig
BUILD_DEPENDS= swig:devel/swig \
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
LIB_DEPENDS= libewf.so:devel/libewf
USES= autoreconf compiler:c++11-lang gmake libtool localbase:ldflags \