diff --git a/security/py-securesystemslib/Makefile b/security/py-securesystemslib/Makefile index 6ef5cd85f3de..3edba9068185 100644 --- a/security/py-securesystemslib/Makefile +++ b/security/py-securesystemslib/Makefile @@ -1,32 +1,36 @@ 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 pytest shebangfix USE_PYTHON= autoplist cryptography pep517 PYTEST_ARGS= tests 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 +post-patch: + @${REINPLACE_CMD} -e 's|hatchling==|hatchling>=|g' \ + ${WRKSRC}/pyproject.toml + .include