Index: graphics/py-fiona/Makefile =================================================================== --- graphics/py-fiona/Makefile +++ graphics/py-fiona/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= Fiona -DISTVERSION= 1.7.13 -PORTREVISION= 2 +DISTVERSION= 1.8.13 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -22,5 +21,8 @@ USES= compiler:c++11-lang python USE_PYTHON= autoplist distutils cython + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME:tl} -name *.so -exec ${STRIP_CMD} {} + .include Index: graphics/py-fiona/distinfo =================================================================== --- graphics/py-fiona/distinfo +++ graphics/py-fiona/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1534883784 -SHA256 (Fiona-1.7.13.tar.gz) = a156129f0904cb7eb24aa0745b6075da54f2c31db168ed3bcac8a4bd716d77b2 -SIZE (Fiona-1.7.13.tar.gz) = 731237 +TIMESTAMP = 1592577678 +SHA256 (Fiona-1.8.13.tar.gz) = 5ec34898c8b983a723fb4e949dd3e0ed7e691c303e51f6bfd61e52ac9ac813ae +SIZE (Fiona-1.8.13.tar.gz) = 1161029 Index: graphics/py-fiona/files/patch-setup.py =================================================================== --- graphics/py-fiona/files/patch-setup.py +++ graphics/py-fiona/files/patch-setup.py @@ -1,37 +0,0 @@ -Obtained from: https://github.com/Toblerity/Fiona/commit/99fa8c27e6f8f8d1dba428fe123878cf9bb5bba3 - ---- setup.py.orig 2018-07-17 18:09:40 UTC -+++ setup.py -@@ -181,6 +181,14 @@ ext_options = dict( - extra_link_args=extra_link_args, - ) - -+ext_options_cpp = ext_options.copy() -+# GDAL 2.3+ requires C++11 -+if sys.platform == "win32": -+ ext_options_cpp["extra_compile_args"] = ["/std:c++11"] -+else: -+ ext_options_cpp["extra_compile_args"] = ["-std=c++11"] -+ -+ - # Define the extension modules. - ext_modules = [] - -@@ -207,7 +215,7 @@ if source_is_repo and "clean" not in sys - - ext_modules = cythonize([ - Extension('fiona._geometry', ['fiona/_geometry.pyx'], **ext_options), -- Extension('fiona._transform', ['fiona/_transform.pyx'], **ext_options), -+ Extension('fiona._transform', ['fiona/_transform.pyx'], **ext_options_cpp), - Extension('fiona._crs', ['fiona/_crs.pyx'], **ext_options), - Extension('fiona._drivers', ['fiona/_drivers.pyx'], **ext_options), - Extension('fiona._err', ['fiona/_err.pyx'], **ext_options), -@@ -217,7 +225,7 @@ if source_is_repo and "clean" not in sys - # If there's no manifest template, as in an sdist, we just specify .c files. - elif "clean" not in sys.argv: - ext_modules = [ -- Extension('fiona._transform', ['fiona/_transform.cpp'], **ext_options), -+ Extension('fiona._transform', ['fiona/_transform.cpp'], **ext_options_cpp), - Extension('fiona._geometry', ['fiona/_geometry.c'], **ext_options), - Extension('fiona._crs', ['fiona/_crs.c'], **ext_options), - Extension('fiona._drivers', ['fiona/_drivers.c'], **ext_options),