svn commit: r499296 - head/net/py-pyshark
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Apr 18 18:00:46 UTC 2019
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 at FreeBSD.org
+MAINTAINER= sunpoet at 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
More information about the svn-ports-head
mailing list