Files
ports/security/py-tuf/Makefile
T

31 lines
916 B
Makefile

PORTNAME= tuf
DISTVERSION= 7.0.0
CATEGORIES= security devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Framework for securing software update systems
WWW= https://www.updateframework.com
LICENSE= APACHE20 MIT
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.29.0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}securesystemslib>=1.0:security/py-securesystemslib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1:net/py-urllib3@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
PYTEST_BROKEN_TESTS= test_cleanup TestRepoExamples # uses files missing from pypi distribution
post-patch:
@${REINPLACE_CMD} -e 's|hatchling=|hatchling>|g' ${WRKSRC}/pyproject.toml
.include <bsd.port.mk>