Files
2024-12-21 11:38:44 +00:00

27 lines
535 B
Makefile

COMMENT = PGP packet parser library for Python
MODPY_DISTV = 1.5
DISTNAME = pgpdump-${MODPY_DISTV}
PKGNAME = py-${DISTNAME}
REVISION = 7
CATEGORIES = security
HOMEPAGE = https://github.com/toofishes/python-pgpdump
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
# test_parse_partial_length fails due to a missing file in the sources
do-test:
cd ${WRKSRC} && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} pgpdump/test.py
test: fake
.include <bsd.port.mk>