git: 1601e8a6bc91 - main - misc/py-tflite: update 2.3.0 → 2.10.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 20 Jan 2024 07:48:09 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1601e8a6bc9146368a84d6659b31510ebec06209

commit 1601e8a6bc9146368a84d6659b31510ebec06209
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-20 07:42:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-20 07:42:05 +0000

    misc/py-tflite: update 2.3.0 → 2.10.0
    
    Reported by:    portscout
---
 misc/py-tflite/Makefile | 10 +++++++---
 misc/py-tflite/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/misc/py-tflite/Makefile b/misc/py-tflite/Makefile
index bdb284e2c176..25ae05981c18 100644
--- a/misc/py-tflite/Makefile
+++ b/misc/py-tflite/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	tflite
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.3.0
+DISTVERSION=	2.10.0
 CATEGORIES=	misc python # machine-learning
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -11,10 +11,14 @@ WWW=		https://jackwish.net/tflite/
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flatbuffers>0:devel/py-flatbuffers@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flatbuffers>0:devel/py-flatbuffers@${PY_FLAVOR} \
+		${PYNUMPY}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	pep517 autoplist pytest
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	jackwish
 
diff --git a/misc/py-tflite/distinfo b/misc/py-tflite/distinfo
index 56c77476612a..c13078219c0b 100644
--- a/misc/py-tflite/distinfo
+++ b/misc/py-tflite/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1596643172
-SHA256 (jackwish-tflite-v2.3.0_GH0.tar.gz) = e0a39b9a2f4fef3e584ccc2785f5364ef21c6a01fa672ab0587dc2d296204837
-SIZE (jackwish-tflite-v2.3.0_GH0.tar.gz) = 16916197
+TIMESTAMP = 1705735976
+SHA256 (jackwish-tflite-v2.10.0_GH0.tar.gz) = e77d131ed3d10a8f3b0e3ff845a6985b3b8b90ff8426b2e2336ea52e811ea9ff
+SIZE (jackwish-tflite-v2.10.0_GH0.tar.gz) = 16237894