31 lines
623 B
Makefile
31 lines
623 B
Makefile
# $OpenBSD: Makefile,v 1.19 2022/01/13 17:57:18 sthen Exp $
|
|
|
|
COMMENT= Javascript Object Signing and Encryption (JOSE)
|
|
|
|
CATEGORIES= security devel
|
|
|
|
MODPY_EGG_VERSION= 1.12.0
|
|
DISTNAME= josepy-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-${DISTNAME}
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
FLAVORS= python3
|
|
FLAVOR= python3
|
|
|
|
MODULES= lang/python
|
|
MODPY_PI= Yes
|
|
MODPY_SETUPTOOLS= Yes
|
|
SUBST_VARS= MODPY_FLAVOR
|
|
|
|
RUN_DEPENDS= security/py-cryptography${MODPY_FLAVOR} \
|
|
security/py-openssl${MODPY_FLAVOR}
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
# patched to disable flake8 tests as we don't have pytest-flake8 yet
|
|
MODPY_PYTEST= Yes
|
|
|
|
.include <bsd.port.mk>
|