Date: Thu, 9 Nov 2017 21:33:21 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453872 - head/finance/electrum Message-ID: <201711092133.vA9LXLBv001714@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Thu Nov 9 21:33:21 2017 New Revision: 453872 URL: https://svnweb.freebsd.org/changeset/ports/453872 Log: Ignore on the package builders when default version of python is not 3.6+ Suggested by: bdrewery Reported by: pkg-fallout Modified: head/finance/electrum/Makefile Modified: head/finance/electrum/Makefile ============================================================================== --- head/finance/electrum/Makefile Thu Nov 9 21:26:22 2017 (r453871) +++ head/finance/electrum/Makefile Thu Nov 9 21:33:21 2017 (r453872) @@ -33,7 +33,14 @@ USE_PYTHON= autoplist distutils PYDISTUTILS_PKGNAME= Electrum NO_ARCH= yes +.include <bsd.port.pre.mk> + +.if defined(PACKAGE_BUILDING) && !defined(PACKAGE_BUILDING_FLAVORS) && \ + ${PYTHON_VER} != ${PYTHON_DEFAULT} +IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER} +.endif + post-patch: @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/setup.py -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711092133.vA9LXLBv001714>