From owner-svn-ports-head@freebsd.org Thu Apr 18 18:00:46 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 E9EE31577ED9; Thu, 18 Apr 2019 18:00:45 +0000 (UTC) (envelope-from sunpoet@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 5026C71796; Thu, 18 Apr 2019 18:00:44 +0000 (UTC) (envelope-from sunpoet@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 094F7227A9; Thu, 18 Apr 2019 18:00:43 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3II0gqg082149; Thu, 18 Apr 2019 18:00:42 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3II0gHf082147; Thu, 18 Apr 2019 18:00:42 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201904181800.x3II0gHf082147@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 18 Apr 2019 18:00:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499296 - head/net/py-pyshark X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/net/py-pyshark X-SVN-Commit-Revision: 499296 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5026C71796 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Thu, 18 Apr 2019 18:00:46 -0000 Author: sunpoet Date: Thu Apr 18 18:00:42 2019 New Revision: 499296 URL: https://svnweb.freebsd.org/changeset/ports/499296 Log: Update to 0.4.2.2 - Add TEST_DEPENDS - Add NO_ARCH - Update pkg-descr - Update WWW - Take maintainership Changes: https://github.com/KimiNewt/pyshark/releases https://github.com/KimiNewt/pyshark/commits/master Modified: head/net/py-pyshark/Makefile head/net/py-pyshark/distinfo (contents, props changed) head/net/py-pyshark/pkg-descr (contents, props changed) Modified: head/net/py-pyshark/Makefile ============================================================================== --- head/net/py-pyshark/Makefile Thu Apr 18 18:00:37 2019 (r499295) +++ head/net/py-pyshark/Makefile Thu Apr 18 18:00:42 2019 (r499296) @@ -2,23 +2,29 @@ # $FreeBSD$ PORTNAME= pyshark -PORTVERSION= 0.3.6.2 +PORTVERSION= 0.4.2.2 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pyhon packet parsing using wireshark dissectors LICENSE= MIT -RUN_DEPENDS= tshark>0:net/tshark \ - ${PYTHON_PKGNAMEPREFIX}trollius>0:devel/py-trollius@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}logbook>0:devel/py-logbook@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}py>0:devel/py-py@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}logbook>=0:devel/py-logbook@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}py>=0:devel/py-py@${PY_FLAVOR} \ + tshark:net/tshark +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} -USES= python zip +USES= python:3.5+ USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +post-patch: + @${REINPLACE_CMD} -e 's|C:\\Program Files\\Wireshark\\\(.*\).exe|${LOCALBASE}/bin/\1|' ${WRKSRC}/pyshark/config.ini .include Modified: head/net/py-pyshark/distinfo ============================================================================== --- head/net/py-pyshark/distinfo Thu Apr 18 18:00:37 2019 (r499295) +++ head/net/py-pyshark/distinfo Thu Apr 18 18:00:42 2019 (r499296) @@ -1,3 +1,3 @@ -TIMESTAMP = 1486231320 -SHA256 (pyshark-0.3.6.2.zip) = 7ed7593767c15db13bb193927c8effd9326f4de3d6396a9b58b078a4fb3005ca -SIZE (pyshark-0.3.6.2.zip) = 27258 +TIMESTAMP = 1555595792 +SHA256 (pyshark-0.4.2.2.tar.gz) = d46c7470561243c02abb32c31eff8817a76dcc4fa29df976378e172429639d8b +SIZE (pyshark-0.4.2.2.tar.gz) = 21602 Modified: head/net/py-pyshark/pkg-descr ============================================================================== --- head/net/py-pyshark/pkg-descr Thu Apr 18 18:00:37 2019 (r499295) +++ head/net/py-pyshark/pkg-descr Thu Apr 18 18:00:42 2019 (r499296) @@ -1,4 +1,10 @@ -Python wrapper for tshark, allowing python packet parsing using +pyshark is a Python wrapper for tshark, allowing python packet parsing using wireshark dissectors. -WWW: https://pypi.org/project/pyshark/ +There are quite a few python packet parsing modules, this one is different +because it doesn't actually parse any packets, it simply uses tshark's +(wireshark command-line utility) ability to export XMLs to use its parsing. This +package allows parsing from a capture file or a live capture, using all +wireshark dissectors you have installed. + +WWW: https://github.com/KimiNewt/pyshark