Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2018 21:52:33 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479700 - head/graphics/geos
Message-ID:  <201809132152.w8DLqX8j080861@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Sep 13 21:52:33 2018
New Revision: 479700
URL: https://svnweb.freebsd.org/changeset/ports/479700

Log:
  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

Modified:
  head/graphics/geos/Makefile
  head/graphics/geos/pkg-plist

Modified: head/graphics/geos/Makefile
==============================================================================
--- head/graphics/geos/Makefile	Thu Sep 13 21:52:28 2018	(r479699)
+++ head/graphics/geos/Makefile	Thu Sep 13 21:52:33 2018	(r479700)
@@ -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 Featu
 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}"

Modified: head/graphics/geos/pkg-plist
==============================================================================
--- head/graphics/geos/pkg-plist	Thu Sep 13 21:52:28 2018	(r479699)
+++ head/graphics/geos/pkg-plist	Thu Sep 13 21:52:33 2018	(r479700)
@@ -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



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