1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/devel/dispy/Makefile
Mikhail Teterin c14da75d65 Upgrade pycos from 4.7.7 to 4.8.1. Fix both pycos and dispy to check
for our OS, instead of "darwin", when determining, how to properly
bind broadcast address.

No new release for dispy, so bump its PORTREVISION instead.
2018-08-28 22:06:41 +00:00

30 lines
690 B
Makefile

# Created by: Mikhail Teterin
# $FreeBSD$
PORTNAME= dispy
PORTVERSION= 4.9.1
PORTREVISION= 1
CATEGORIES= devel net
MASTER_SITES= SF/${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= mi@aldan.algebra.com
COMMENT= Distributed and Parallel Computing with/for Python
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycos>=4.7.7:devel/pycos@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
post-patch:
${FIND} ${WRKSRC} -name \*.py | \
${XARGS} ${GREP} -l darwin |\
${XARGS} ${REINPLACE_CMD} \
"s,sys.platform == 'darwin',sys.platform.startswith('${OPSYS:tl}'),"
.include <bsd.port.mk>