Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2018 22:06:41 +0000 (UTC)
From:      Mikhail Teterin <mi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478332 - in head/devel: dispy pycos
Message-ID:  <201808282206.w7SM6fwn016548@repo.freebsd.org>

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



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