svn commit: r456113 - head/devel/py-pyshapelib

Antoine Brodin antoine at FreeBSD.org
Tue Dec 12 09:03:40 UTC 2017


Author: antoine
Date: Tue Dec 12 09:03:39 2017
New Revision: 456113
URL: https://svnweb.freebsd.org/changeset/ports/456113

Log:
  Allow building with DEFAULT_VERSIONS=python=3.x

Modified:
  head/devel/py-pyshapelib/Makefile

Modified: head/devel/py-pyshapelib/Makefile
==============================================================================
--- head/devel/py-pyshapelib/Makefile	Tue Dec 12 09:00:32 2017	(r456112)
+++ head/devel/py-pyshapelib/Makefile	Tue Dec 12 09:03:39 2017	(r456113)
@@ -14,7 +14,7 @@ COMMENT=	Python bindings for Shapelib
 
 LICENSE=	LGPL20
 
-USES=		python
+USES=		python:2.7
 USE_LDCONFIG=	yes
 USE_PYTHON=	distutils
 
@@ -42,10 +42,4 @@ post-install-EXAMPLES-on:
 	${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${EXAMPLESDIR}
 .endfor
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_MAJOR_VER} != 2
-IGNORE=	does not work with ${PYTHON_VERSION}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list