Hi,

   Here is a patch for geo/py-rasterio to add missing
RUN_DEPEND devel/py-attrs. It should fix the run
error when import rasterio.

wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/geo/py-rasterio/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile    4 Jan 2021 14:06:32 -0000       1.15
+++ Makefile    20 Jan 2021 23:29:17 -0000
@@ -5,7 +5,7 @@ COMMENT =       geospatial raster data API and
 MODPY_EGG_VERSION =    1.1.8
 DISTNAME =     rasterio-${MODPY_EGG_VERSION}
 PKGNAME =      py-${DISTNAME}
-REVISION =     0
+REVISION =     1
 
 CATEGORIES =   geo
 
@@ -31,7 +31,8 @@ WANTLIB +=    ${COMPILER_LIBCXX} gdal m ${M
 
 BUILD_DEPENDS +=       math/py-numpy${MODPY_FLAVOR}
 
-RUN_DEPENDS =  geo/py-cligj${MODPY_FLAVOR}>=0.5 \
+RUN_DEPENDS =  devel/py-attrs${MODPY_FLAVOR}>=19.2.0 \
+               geo/py-cligj${MODPY_FLAVOR}>=0.5 \
                net/py-boto3${MODPY_FLAVOR} \
                devel/py-click${MODPY_FLAVOR} \
                devel/py-click-plugins${MODPY_FLAVOR} \

Reply via email to