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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-04-18 18:00:42 +00:00
parent 8c0accf3a1
commit b934477b47
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=499296
3 changed files with 25 additions and 13 deletions

View file

@ -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>

View file

@ -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

View file

@ -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