aboutsummaryrefslogtreecommitdiff
path: root/science/py-pysal
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-07 13:24:18 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-07 13:24:18 +0000
commit1ec38a38ab7a522c11b0c9151dd6137fd7a86df9 (patch)
tree48af368cc43cb575fde2050d60f4f82d7f852abd /science/py-pysal
parentbd6523c890244e9fd39bf5266c383d4193aa7187 (diff)
downloadports-1ec38a38ab7a522c11b0c9151dd6137fd7a86df9.tar.gz
ports-1ec38a38ab7a522c11b0c9151dd6137fd7a86df9.zip
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)
Notes
Notes: svn path=/head/; revision=408407
Diffstat (limited to 'science/py-pysal')
-rw-r--r--science/py-pysal/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/science/py-pysal/Makefile b/science/py-pysal/Makefile
index 3ce33b5cd7d0..934fe44200f7 100644
--- a/science/py-pysal/Makefile
+++ b/science/py-pysal/Makefile
@@ -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>