svn commit: r408407 - head/science/py-pysal

John Marino marino at FreeBSD.org
Sun Feb 7 13:24:20 UTC 2016


Author: marino
Date: Sun Feb  7 13:24:18 2016
New Revision: 408407
URL: https://svnweb.freebsd.org/changeset/ports/408407

Log:
  science/py-pysal: Avoid interactive build possibility
  
  This port checks the release date, and subtracts it from the current
  date.  If the difference is more than 6 months, it interactively asks
  the user if they want to upgrade.
  
  The post-patch target removes this possibility, ensuring the port never
  reverts to an interactive build.
  
  approved by:	infrastructure blanket (interactive builds discouraged)

Modified:
  head/science/py-pysal/Makefile

Modified: head/science/py-pysal/Makefile
==============================================================================
--- head/science/py-pysal/Makefile	Sun Feb  7 13:21:14 2016	(r408406)
+++ head/science/py-pysal/Makefile	Sun Feb  7 13:24:18 2016	(r408407)
@@ -23,4 +23,8 @@ NO_ARCH=	yes
 USE_PYTHON=	autoplist concurrent distutils
 USES=		python
 
+post-patch:
+	@${REINPLACE_CMD} -e "s|check_stable=True|check_stable=False|" \
+		${WRKSRC}/pysal/config.py
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list