mirror of
https://git.freebsd.org/ports.git
synced 2025-05-19 18:43:13 -04:00
Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
PORTNAME= openssl
|
|
PORTVERSION= 24.1.0
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= security python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pyOpenSSL-${PORTVERSION}
|
|
|
|
MAINTAINER= sbz@FreeBSD.org
|
|
COMMENT= Python interface to the OpenSSL library
|
|
WWW= https://github.com/pyca/pyopenssl
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>0:devel/py-flaky@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pretend>0:devel/py-pretend@${PY_FLAVOR} \
|
|
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
|
|
|
USES= cpe python
|
|
USE_PYTHON= autoplist concurrent cryptography distutils pytest pythonprefix
|
|
|
|
NO_ARCH= yes
|
|
|
|
CPE_VENDOR= jean-paul_calderone
|
|
CPE_PRODUCT= py${PORTNAME}
|
|
|
|
# These tests will be skipped due the following reasons:
|
|
#
|
|
# * test_connect_refused: Avoid stalling in build environments that don't have
|
|
# a internet connection
|
|
# * test_set_verify_callback_exception: Fails on *BSD systems, see also
|
|
# https://github.com/pyca/pyopenssl/issues/656 for further details
|
|
# * test_connect_ex: succeeds unexpectedly:
|
|
# https://github.com/pyca/pyopenssl/issues/1192
|
|
#
|
|
# The system clock must be in sync otherwise the test "test_verify_with_time"
|
|
# will fail.
|
|
PYTEST_IGNORED_TESTS= test_connect_ex \
|
|
test_connect_refused \
|
|
test_set_verify_callback_exception
|
|
TEST_ENV= LC_ALL=en_US.UTF-8 \
|
|
PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
.include <bsd.port.mk>
|