ports/security/py-openssl/Makefile

34 lines
850 B
Makefile
Raw Permalink Normal View History

2023-08-16 22:26:55 +00:00
COMMENT= Python interface to the OpenSSL library
MODPY_EGG_VERSION= 24.1.0
2023-08-16 22:26:55 +00:00
DISTNAME= pyOpenSSL-${MODPY_EGG_VERSION}
PKGNAME= py-openssl-${MODPY_EGG_VERSION}
CATEGORIES= security devel
HOMEPAGE= https://github.com/pyca/pyopenssl
# Apache 2
PERMIT_PACKAGE= Yes
WANTLIB += ${MODPY_WANTLIB}
WANTLIB += crypto pthread ssl
FLAVORS= python3
FLAVOR= python3
RUN_DEPENDS= security/py-cryptography${MODPY_FLAVOR}
BUILD_DEPENDS= ${RUN_DEPENDS}
MODULES= lang/python
MODPY_PI= Yes
MODPY_PYBUILD= setuptools
# deselect a few tests which cause problems:
# - test_it_works_*: DTLS tests which error out and stop others from running
# (add -v to see individual test names)
MODPY_PYTEST_ARGS= -k 'not test_it_works_at_all and not test_it_works_with_srtp'
2023-08-16 22:26:55 +00:00
TEST_DEPENDS= devel/py-flaky${MODPY_FLAVOR} \
devel/py-pretend${MODPY_FLAVOR}
.include <bsd.port.mk>