git: 2d735cdb2cef - 2023Q3 - misc/py-lightgbm: Not for 32-bit systems

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 11 Jul 2023 18:57:50 UTC
The branch 2023Q3 has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2d735cdb2cef6794b49ce6dba0db6ee1fe243f18

commit 2d735cdb2cef6794b49ce6dba0db6ee1fe243f18
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-11 18:57:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-11 18:57:47 +0000

    misc/py-lightgbm: Not for 32-bit systems
    
    Reported by:    fallout
    
    (cherry picked from commit b9679f81c2044c20ac3f91ede74ef294fca5f327)
---
 misc/py-lightgbm/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/misc/py-lightgbm/Makefile b/misc/py-lightgbm/Makefile
index 292c4b976322..69480ad25fa4 100644
--- a/misc/py-lightgbm/Makefile
+++ b/misc/py-lightgbm/Makefile
@@ -12,6 +12,8 @@ WWW=		https://lightgbm.readthedocs.io/en/latest/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/../LICENSE
 
+NOT_FOR_ARCHS=	armv6 armv7 i386 # Exception: Cannot install LightGBM in 32-bit Python, please use 64-bit Python instead
+
 PY_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.22.0:science/py-scikit-learn@${PY_FLAVOR}