svn commit: r478332 - in head/devel: dispy pycos

Mikhail Teterin mi at FreeBSD.org
Tue Aug 28 22:06:42 UTC 2018


Author: mi
Date: Tue Aug 28 22:06:41 2018
New Revision: 478332
URL: https://svnweb.freebsd.org/changeset/ports/478332

Log:
  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.

Modified:
  head/devel/dispy/Makefile
  head/devel/pycos/Makefile
  head/devel/pycos/distinfo

Modified: head/devel/dispy/Makefile
==============================================================================
--- head/devel/dispy/Makefile	Tue Aug 28 22:04:02 2018	(r478331)
+++ head/devel/dispy/Makefile	Tue Aug 28 22:06:41 2018	(r478332)
@@ -3,6 +3,7 @@
 
 PORTNAME=	dispy
 PORTVERSION=	4.9.1
+PORTREVISION=	1
 CATEGORIES=	devel net
 MASTER_SITES=	SF/${PORTNAME}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,5 +19,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycos>=4.7.7:devel
 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>

Modified: head/devel/pycos/Makefile
==============================================================================
--- head/devel/pycos/Makefile	Tue Aug 28 22:04:02 2018	(r478331)
+++ head/devel/pycos/Makefile	Tue Aug 28 22:06:41 2018	(r478332)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pycos
-PORTVERSION=	4.7.7
+PORTVERSION=	4.8.1
 CATEGORIES=	devel net
 MASTER_SITES=	SF/${PORTNAME}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,5 +16,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 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>

Modified: head/devel/pycos/distinfo
==============================================================================
--- head/devel/pycos/distinfo	Tue Aug 28 22:04:02 2018	(r478331)
+++ head/devel/pycos/distinfo	Tue Aug 28 22:06:41 2018	(r478332)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1533921415
-SHA256 (pycos-4.7.7.tar.gz) = d3ebdaf2319ab3dc30a0b7c8fb7158c4f009f17c0707ffc7d11f5ada7cb3eb2f
-SIZE (pycos-4.7.7.tar.gz) = 283359
+TIMESTAMP = 1535482822
+SHA256 (pycos-4.8.1.tar.gz) = d25d6f96be09cb780de13f8ee7b37732b68281e6ed927aac54ad5a0afafdf845
+SIZE (pycos-4.8.1.tar.gz) = 288617


More information about the svn-ports-head mailing list