git: a974020a3547 - main - devel/py-pycocotools: Update to 2.0.8

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 18 Jun 2024 14:30:16 UTC
The branch main has been updated by sunpoet:

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

commit a974020a3547b29236709eabb50ffa4bcb3ed557
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-18 14:25:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-18 14:25:55 +0000

    devel/py-pycocotools: Update to 2.0.8
    
    Changes:        https://github.com/ppwwyyxx/cocoapi/commits/master/PythonAPI
---
 devel/py-pycocotools/Makefile                   | 4 ++--
 devel/py-pycocotools/distinfo                   | 6 +++---
 devel/py-pycocotools/files/patch-pyproject.toml | 6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/devel/py-pycocotools/Makefile b/devel/py-pycocotools/Makefile
index a12d8dca057e..c218cfac71db 100644
--- a/devel/py-pycocotools/Makefile
+++ b/devel/py-pycocotools/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pycocotools
-PORTVERSION=	2.0.7
+PORTVERSION=	2.0.8
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +16,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>=2.1.0:math/py-matplotlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.9+
 USE_PYTHON=	autoplist concurrent cython pep517
 
 post-install:
diff --git a/devel/py-pycocotools/distinfo b/devel/py-pycocotools/distinfo
index b8eb70d8dc0f..83ac49c7d9a7 100644
--- a/devel/py-pycocotools/distinfo
+++ b/devel/py-pycocotools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692211759
-SHA256 (pycocotools-2.0.7.tar.gz) = da8b7815196eebf0adabf67fcc459126cbc6498bbc6ab1fd144c371465d86879
-SIZE (pycocotools-2.0.7.tar.gz) = 24965
+TIMESTAMP = 1718690474
+SHA256 (pycocotools-2.0.8.tar.gz) = 8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e1dfb8d
+SIZE (pycocotools-2.0.8.tar.gz) = 24993
diff --git a/devel/py-pycocotools/files/patch-pyproject.toml b/devel/py-pycocotools/files/patch-pyproject.toml
index 99b5925c9fe1..e51a028b2392 100644
--- a/devel/py-pycocotools/files/patch-pyproject.toml
+++ b/devel/py-pycocotools/files/patch-pyproject.toml
@@ -1,10 +1,10 @@
---- pyproject.toml.orig	2022-11-04 06:39:37 UTC
+--- pyproject.toml.orig	2024-06-17 01:36:18 UTC
 +++ pyproject.toml
-@@ -1,7 +1,7 @@
+@@ -1,7 +1,7 @@ requires = [
  [build-system]
  requires = [
      "cython>=0.27.3",
--    "oldest-supported-numpy",
+-    "numpy>=2.0.0rc1",
 +    "numpy",
      "setuptools>=43.0.0",
      "wheel",