Files
Charlie Li 06a08e69f3 python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

30 lines
857 B
Makefile

PORTNAME= stix2
PORTVERSION= 2.1.0
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= security python
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
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>=0: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}six>=0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stix2-patterns>=0:security/py-stix2-patterns@${PY_FLAVOR}
USE_GITHUB= yes
GH_ACCOUNT= oasis-open
GH_PROJECT= cti-python-stix2
NO_ARCH= yes
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>