31 lines
609 B
Makefile
31 lines
609 B
Makefile
# $OpenBSD: Makefile,v 1.5 2020/07/03 21:13:07 sthen Exp $
|
|
|
|
COMMENT = PGP packet parser library for Python
|
|
|
|
MODPY_EGG_VERSION = 1.5
|
|
DISTNAME = pgpdump-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
REVISION = 1
|
|
|
|
CATEGORIES = security
|
|
|
|
HOMEPAGE = https://github.com/toofishes/python-pgpdump
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
MODPY_PI = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
# 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>
|