Index | Thread | Search

From:
"Marco van Hulten" <marco@hulten.org>
Subject:
[patch] geo/py-fiona-1.10.1p5
To:
<ports@openbsd.org>
Date:
Thu, 30 Apr 2026 18:17:19 +0200

Download raw body.

Thread
To import fiona, devel/py-attrs was needed as run dep.

In addition, I excluded network tests and enabled SEPARATE_BUILD.

 Marco


diff -r 2d30ab349ace geo/py-fiona/Makefile
--- a/geo/py-fiona/Makefile	Thu Apr 30 17:22:50 2026 +0200
+++ b/geo/py-fiona/Makefile	Thu Apr 30 18:07:55 2026 +0200
@@ -3,7 +3,7 @@
 MODPY_DISTV =	1.10.1
 DISTNAME =	fiona-${MODPY_DISTV}
 PKGNAME =	${MODPY_PY_PREFIX}${DISTNAME:L:S/.post/pl/}
-REVISION =	4
+REVISION =	5
 
 CATEGORIES =	geo
 
@@ -19,6 +19,11 @@
 MODPY_PYBUILD =	setuptools
 MODPY_PI =	Yes
 MODPY_PYTEST_ARGS =	tests
+MODPY_PYTEST_ARGS +=	-k 'not test_collection_http \
+			and not test_collection_zip_http \
+			and not test_opener_fsspec_zip_http_fs \
+			and not test_open_http \
+			and not test_open_zip_https'
 MODPY_TEST_LINK_SO =	Yes
 
 BUILD_DEPENDS =	${RUN_DEPENDS} \
@@ -28,6 +33,7 @@
 LIB_DEPENDS =	geo/gdal
 
 RUN_DEPENDS =	geo/py-cligj \
+		devel/py-attrs \
 		devel/py-click \
 		devel/py-click-plugins \
 		devel/py-munch \
@@ -41,6 +47,8 @@
 
 WANTLIB += ${COMPILER_LIBCXX} gdal m
 
+SEPARATE_BUILD =	Yes
+
 # installs gdal & proj data to fiona dir for tests
 # but they end up in the wheel... so do it manually
 #MAKE_ENV +=	PACKAGE_DATA=Yes