Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2017 09:03:39 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456113 - head/devel/py-pyshapelib
Message-ID:  <201712120903.vBC93dQT058941@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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