svn commit: r453872 - head/finance/electrum
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Nov 9 21:33:22 UTC 2017
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>
More information about the svn-ports-all
mailing list