Date: Thu, 18 Apr 2019 18:00:42 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499296 - head/net/py-pyshark Message-ID: <201904181800.x3II0gHf082147@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904181800.x3II0gHf082147>