PORTNAME= securesystemslib PORTVERSION= 0.31.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Cryptographic and general-purpose routines WWW= https://github.com/secure-systems-lab/securesystemslib LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynacl>1.2.0:security/py-pynacl@${PY_FLAVOR} TEST_DEPENDS= ${LOCALBASE}/bin/gpg:security/gnupg USES= python shebangfix USE_PYTHON= autoplist cryptography pep517 pytest SHEBANG_FILES= securesystemslib/settings.py \ securesystemslib/schema.py \ securesystemslib/_vendor/test-ed25519-upstream.sh \ securesystemslib/keys.py \ securesystemslib/rsa_keys.py \ securesystemslib/hash.py \ securesystemslib/formats.py NO_ARCH= yes TEST_ARGS= tests post-patch: @${REINPLACE_CMD} -e 's|hatchling==|hatchling>=|g' \ ${WRKSRC}/pyproject.toml .include