freebsd-ports/security/py-stix2-patterns/Makefile
Antoine Brodin 657752ed50 New port: security/py-stix2-patterns
The STIX 2 Pattern Validator is a software tool for checking the syntax of the
Cyber Threat Intelligence (CTI) STIX Pattern expressions, which are used within
STIX to express conditions (prepresented with the Cyber Observable data model)
that indicate particular cyber threat activity.  The repository contains source
code, an ANTLR grammar, automated tests and associated documentation for the
tool.  The validator can be used as a command-line tool or as a Python library
which can be included in other applications.

WWW: https://github.com/oasis-open/cti-pattern-validator
2018-11-24 21:31:54 +00:00

26 lines
614 B
Makefile

# $FreeBSD$
PORTNAME= stix2-patterns
PORTVERSION= 1.1.0
DISTVERSIONPREFIX= v
CATEGORIES= security python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Python library to validate STIX 2 Patterns
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}antlr4-python3-runtime>=0:devel/py-antlr4-python3-runtime@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
USE_GITHUB= yes
GH_ACCOUNT= oasis-open
GH_PROJECT= cti-pattern-validator
NO_ARCH= yes
USES= python:3.4+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>