git: 84a7243349dd - main - graphics/py-cartopy: Update to 0.23.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 13 Apr 2024 09:32:37 UTC
The branch main has been updated by sunpoet:

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

commit 84a7243349ddcfbb75d49ba57a0ca259cc83f3e3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-13 09:29:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-13 09:31:41 +0000

    graphics/py-cartopy: Update to 0.23.0
    
    - Update LICENSE
    
    Changes:        https://github.com/SciTools/cartopy/releases
---
 graphics/py-cartopy/Makefile                   |  6 +++---
 graphics/py-cartopy/distinfo                   |  6 +++---
 graphics/py-cartopy/files/patch-pyproject.toml | 12 ++++++------
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/graphics/py-cartopy/Makefile b/graphics/py-cartopy/Makefile
index e5607efb13a3..289e23df45c0 100644
--- a/graphics/py-cartopy/Makefile
+++ b/graphics/py-cartopy/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	cartopy
-PORTVERSION=	0.22.0
+PORTVERSION=	0.23.0
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -9,8 +9,8 @@ MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Cartographic library with Matplotlib support for visualisation
 WWW=		https://github.com/SciTools/cartopy
 
-LICENSE=	LGPL3+
-LICENSE_FILE=	${WRKSRC}/COPYING.LESSER
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools>=40.6.0:devel/py-setuptools@${PY_FLAVOR} \
diff --git a/graphics/py-cartopy/distinfo b/graphics/py-cartopy/distinfo
index 2782fcd5170e..e92e87f4cda3 100644
--- a/graphics/py-cartopy/distinfo
+++ b/graphics/py-cartopy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692211791
-SHA256 (Cartopy-0.22.0.tar.gz) = b300f90120931d43f11ef87c064ea1dacec1b59a4940aa76ebf82cf09548bb49
-SIZE (Cartopy-0.22.0.tar.gz) = 10938577
+TIMESTAMP = 1712886448
+SHA256 (Cartopy-0.23.0.tar.gz) = 231f37b35701f2ba31d94959cca75e6da04c2eea3a7f14ce1c75ee3b0eae7676
+SIZE (Cartopy-0.23.0.tar.gz) = 10687976
diff --git a/graphics/py-cartopy/files/patch-pyproject.toml b/graphics/py-cartopy/files/patch-pyproject.toml
index 6449790c2c1b..c72a2d843b4a 100644
--- a/graphics/py-cartopy/files/patch-pyproject.toml
+++ b/graphics/py-cartopy/files/patch-pyproject.toml
@@ -1,10 +1,10 @@
---- pyproject.toml.orig	2023-08-05 00:47:19 UTC
+--- pyproject.toml.orig	2024-04-10 17:45:30 UTC
 +++ pyproject.toml
-@@ -3,13 +3,13 @@ requires = [
-     "wheel",
-     "setuptools >= 40.6.0",
-     "Cython >= 0.29.24",
--    "oldest-supported-numpy",
+@@ -9,13 +9,13 @@ requires = [
+     # Note that building against numpy 1.x works fine too - users and
+     # redistributors can do this by installing the numpy version they like and
+     # disabling build isolation.
+-    "numpy>=2.0.0rc1",
 +    "numpy",
      "setuptools_scm >= 7.0.0",
  ]