Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 13:24:19 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408407 - head/science/py-pysal
Message-ID:  <201602071324.u17DOJMx073852@repo.freebsd.org>

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



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