From owner-svn-ports-head@freebsd.org Tue Jan 29 13:22:36 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91D6214BD543; Tue, 29 Jan 2019 13:22:36 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 311A586587; Tue, 29 Jan 2019 13:22:36 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 19E848436; Tue, 29 Jan 2019 13:22:36 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0TDMZuw073974; Tue, 29 Jan 2019 13:22:35 GMT (envelope-from egypcio@FreeBSD.org) Received: (from egypcio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0TDMZNh073971; Tue, 29 Jan 2019 13:22:35 GMT (envelope-from egypcio@FreeBSD.org) Message-Id: <201901291322.x0TDMZNh073971@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: egypcio set sender to egypcio@FreeBSD.org using -f From: =?UTF-8?Q?Vin=c3=adcius_Zavam?= Date: Tue, 29 Jan 2019 13:22:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r491560 - in head/devel/py-streamparse: . files X-SVN-Group: ports-head X-SVN-Commit-Author: egypcio X-SVN-Commit-Paths: in head/devel/py-streamparse: . files X-SVN-Commit-Revision: 491560 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 311A586587 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2019 13:22:36 -0000 Author: egypcio Date: Tue Jan 29 13:22:35 2019 New Revision: 491560 URL: https://svnweb.freebsd.org/changeset/ports/491560 Log: devel/py-streamparse: update 3.14.0 to 3.15.0 - adopt port; - contextlib2 added as dependency (based on what setup.py sets); - texttable replaces prettytable (removed since 3.14.0 [348208b, #413]); - sort RUN_DEPENDS; - remove post-patch stage (it was removing test init script); - add TEST_DEPENDS; - check PYTHON_MAJOR_VER before adding extra dependencies (setup.py). Approved by: araujo (mentor) Differential Revision: https://reviews.freebsd.org/D18638 Added: head/devel/py-streamparse/files/ head/devel/py-streamparse/files/patch-setup.py (contents, props changed) Modified: head/devel/py-streamparse/Makefile head/devel/py-streamparse/distinfo Modified: head/devel/py-streamparse/Makefile ============================================================================== --- head/devel/py-streamparse/Makefile Tue Jan 29 13:05:55 2019 (r491559) +++ head/devel/py-streamparse/Makefile Tue Jan 29 13:22:35 2019 (r491560) @@ -2,32 +2,42 @@ # $FreeBSD$ PORTNAME= streamparse -PORTVERSION= 3.14.0 +PORTVERSION= 3.15.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= egypcio@FreeBSD.org COMMENT= Python analysis of Apache Storm streams LICENSE= APACHE20 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fabric3>0:devel/py-fabric3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pystorm>=3.1.0:devel/py-pystorm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}prettytable>0:devel/py-prettytable@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}simplejson>0:devel/py-simplejson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>0:devel/py-ruamel.yaml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}fabric3>0:devel/py-fabric3@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pystorm>=3.1.0:devel/py-pystorm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}simplejson>0:devel/py-simplejson@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}texttable>=0:textproc/py-texttable@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}thriftpy>=0.3.2:devel/py-thriftpy@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}unittest2>=0:devel/py-unittest2@${PY_FLAVOR} -USES= python:2.7 +USES= python USE_PYTHON= autoplist distutils -NO_ARCH= YES +NO_ARCH= yes +.include + +.if ${PYTHON_MAJOR_VER} < 3 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}contextlib2>0:devel/py-contextlib2@${PY_FLAVOR} +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}graphviz>=0:graphics/py-graphviz@${PY_FLAVOR} +.endif + post-patch: ${RM} ${WRKSRC}/test/__init__.py -.include +.include Modified: head/devel/py-streamparse/distinfo ============================================================================== --- head/devel/py-streamparse/distinfo Tue Jan 29 13:05:55 2019 (r491559) +++ head/devel/py-streamparse/distinfo Tue Jan 29 13:22:35 2019 (r491560) @@ -1,3 +1,3 @@ -TIMESTAMP = 1539822793 -SHA256 (streamparse-3.14.0.tar.gz) = 136339b578a57a71775b67c32b6e73f9d8dabb31b4f7009493d11b428d2e3bfd -SIZE (streamparse-3.14.0.tar.gz) = 54368 +TIMESTAMP = 1545574945 +SHA256 (streamparse-3.15.0.tar.gz) = f8893f8bc0d026cecbc9ebe39963b2c8c3d432aa7f2cb936605f6c2e5ca53d50 +SIZE (streamparse-3.15.0.tar.gz) = 54534 Added: head/devel/py-streamparse/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-streamparse/files/patch-setup.py Tue Jan 29 13:22:35 2019 (r491560) @@ -0,0 +1,19 @@ +--- setup.py.orig 2019-01-13 16:56:06 UTC ++++ setup.py +@@ -16,6 +16,7 @@ limitations under the License. + """ + import re + import sys ++import codecs + + from setuptools import setup, find_packages + +@@ -29,7 +30,7 @@ def get_version(): + + def readme(): + """ Returns README.rst contents as str """ +- with open("README.rst") as f: ++ with codecs.open('README.rst', 'r', encoding='utf8') as f: + return f.read() + +