Files
ports/security/py-stix2/Makefile
T
Po-Chuan Hsieh 4ebfbd6ca1 security/py-stix2: Update to 3.0.2
- Change MASTER_SITES to PYPI
- Convert to USE_PYTHON=pep517

Changes:	https://github.com/oasis-open/cti-python-stix2/releases
PR:		291071
Approved by:	antoine (maintainer)
2026-04-21 23:47:37 +08:00

27 lines
874 B
Makefile

PORTNAME= stix2
PORTVERSION= 3.0.2
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Python library to produce and consume STIX 2 JSON content
WWW= https://github.com/oasis-open/cti-python-stix2
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}simplejson>=0:devel/py-simplejson@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stix2-patterns>=2.1.2:security/py-stix2-patterns@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>