# Created by: Mark Felder # $FreeBSD: head/net/py-pyshark/Makefile 555326 2020-11-15 18:05:39Z sunpoet $ PORTNAME= pyshark PORTVERSION= 0.4.2.11 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pyhon packet parsing using wireshark dissectors LICENSE= MIT RUN_DEPENDS= ${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:3.5+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e 's|C:\\Program Files\\Wireshark\\\(.*\).exe|${LOCALBASE}/bin/\1|' ${WRKSRC}/pyshark/config.ini .include