Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2023 16:13:45 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 265d8a94e1c2 - main - graphics/py-pygeos: Update to 0.14
Message-ID:  <202305071613.347GDjMK040724@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 265d8a94e1c24e5985cd58b12cf327d91b012c06
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-07 16:04:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-07 16:04:02 +0000

    graphics/py-pygeos: Update to 0.14
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/pygeos/pygeos/releases
                    https://github.com/pygeos/pygeos/blob/master/CHANGELOG.rst
---
 graphics/py-pygeos/Makefile                   | 10 +++++-----
 graphics/py-pygeos/distinfo                   |  6 +++---
 graphics/py-pygeos/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/graphics/py-pygeos/Makefile b/graphics/py-pygeos/Makefile
index f5c070037736..89e7a45facbd 100644
--- a/graphics/py-pygeos/Makefile
+++ b/graphics/py-pygeos/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pygeos
-PORTVERSION=	0.12.0
-PORTREVISION=	1
+PORTVERSION=	0.14
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +11,14 @@ WWW=		https://github.com/pygeos/pygeos
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	geos>=3.5:graphics/geos \
-		${PYTHON_PKGNAMEPREFIX}numpy>=1.13,1:math/py-numpy@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.13,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=	libgeos.so:graphics/geos
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.13,1:math/py-numpy@${PY_FLAVOR}
 
 USES=		python:3.8+
-USE_PYTHON=	autoplist concurrent cython distutils
+USE_PYTHON=	autoplist concurrent cython pep517
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/graphics/py-pygeos/distinfo b/graphics/py-pygeos/distinfo
index a177bee3f67f..bcc166704a51 100644
--- a/graphics/py-pygeos/distinfo
+++ b/graphics/py-pygeos/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655208286
-SHA256 (pygeos-0.12.0.tar.gz) = 3c41542ef67c66015f443ae3e6e683503a8a221f9c24fb2380f6ae42aed1600a
-SIZE (pygeos-0.12.0.tar.gz) = 141393
+TIMESTAMP = 1683227639
+SHA256 (pygeos-0.14.tar.gz) = 30fbc17f64844200b85133b885fcfb65541b8779531f6ef4f8fe467d3fba7623
+SIZE (pygeos-0.14.tar.gz) = 141330
diff --git a/graphics/py-pygeos/files/patch-pyproject.toml b/graphics/py-pygeos/files/patch-pyproject.toml
new file mode 100644
index 000000000000..6d27f6fc0b84
--- /dev/null
+++ b/graphics/py-pygeos/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2022-12-12 08:21:17 UTC
++++ pyproject.toml
+@@ -2,7 +2,7 @@
+ # numpy and Cython are required to execute setup.py to build Cython extensions
+ requires = [
+     "Cython~=0.29",
+-    "oldest-supported-numpy",
++    "numpy",
+     "setuptools>=61.0.0",
+ ]
+ build-backend = "setuptools.build_meta"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305071613.347GDjMK040724>