diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2018-09-14 05:52:33 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2018-09-14 05:52:33 +0800 |
commit | f088c38be2a4662c1bcaca2fd81e024b8bb101b4 (patch) | |
tree | 582fb09ed55110cd1b568ee786492ffa537b5ca3 /graphics | |
parent | ae58369bdf06e3a8794d873adaf315161c246a3e (diff) | |
download | freebsd-ports-gnome-f088c38be2a4662c1bcaca2fd81e024b8bb101b4.tar.gz freebsd-ports-gnome-f088c38be2a4662c1bcaca2fd81e024b8bb101b4.tar.zst freebsd-ports-gnome-f088c38be2a4662c1bcaca2fd81e024b8bb101b4.zip |
Remove PYTHON option
- Bump PORTREVISION for package change
The Python bindings are unsupported since GEOS 3.0. Recommended options are:
- Use devel/py-shapely instead.
- Call functions from libgeos_c via Python ctypes.
Reference: https://github.com/libgeos/geos/blob/master/swig/python/README.txt
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/geos/Makefile | 6 | ||||
-rw-r--r-- | graphics/geos/pkg-plist | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/graphics/geos/Makefile b/graphics/geos/Makefile index fb8f3213a037..7949b07cebcd 100644 --- a/graphics/geos/Makefile +++ b/graphics/geos/Makefile @@ -3,6 +3,7 @@ PORTNAME= geos PORTVERSION= 3.6.3 +PORTREVISION= 1 CATEGORIES= graphics geography MASTER_SITES= http://download.osgeo.org/geos/ \ LOCAL/sunpoet @@ -13,7 +14,7 @@ COMMENT= GEOS implements all the OpenGIS "Simple Features for SQL" LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -OPTIONS_DEFINE= PYTHON RUBY +OPTIONS_DEFINE= RUBY OPTIONS_SUB= yes CONFIGURE_ARGS= ac_cv_path_SWIG=${LOCALBASE}/bin/swig3.0 @@ -25,9 +26,6 @@ USES= gmake libtool tar:bzip2 PLIST_SUB= PORTVERSION=${PORTVERSION} -PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30 -PYTHON_CONFIGURE_ENABLE=python -PYTHON_USES= python:2.7 RUBY_BUILD_DEPENDS= swig3.0:devel/swig30 RUBY_CONFIGURE_ENABLE= ruby RUBY_CONFIGURE_ENV= RUBY="${RUBY}" diff --git a/graphics/geos/pkg-plist b/graphics/geos/pkg-plist index d9a04df27549..df75b59fbd88 100644 --- a/graphics/geos/pkg-plist +++ b/graphics/geos/pkg-plist @@ -389,11 +389,5 @@ lib/libgeos_c.a lib/libgeos_c.so lib/libgeos_c.so.1 lib/libgeos_c.so.1.10.3 -%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos.pth -%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/_geos.a -%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/_geos.so -%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/geos.py -%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/geos.pyc -%%PYTHON%%%%PYTHON_SITELIBDIR%%/geos/geos.pyo %%RUBY%%%%RUBY_SITEARCHLIBDIR%%/geos.a %%RUBY%%%%RUBY_SITEARCHLIBDIR%%/geos.so |