aboutsummaryrefslogtreecommitdiff
path: root/security/py-tuf/Makefile
blob: 49c8560cb841767357d6961e69409ce78729b756 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PORTNAME=	tuf
PORTVERSION=	2.0.0
CATEGORIES=	security devel python
MASTER_SITES=	CHEESESHOP
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

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.19.1:www/py-requests@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}securesystemslib>=0.22.0:security/py-securesystemslib@${PY_FLAVOR}

USES=		pytest python:3.7+
USE_PYTHON=	autoplist concurrent distutils

NO_ARCH=	yes

PYTEST_BROKEN_TESTS=	test_cleanup TestRepoExamples # uses files missing from pypi distribution

post-patch:
	@${RM} ${WRKSRC}/pyproject.toml

.include <bsd.port.mk>