Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2018 21:43:02 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485797 - in head/security: . py-stix2
Message-ID:  <201811242143.wAOLh2wt055132@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Nov 24 21:43:02 2018
New Revision: 485797
URL: https://svnweb.freebsd.org/changeset/ports/485797

Log:
  New port: security/py-stix2
  
  Python APIs for serializing and de-serializing STIX 2 JSON content, along with
  higher-level APIs for common tasks, including data markings, versioning, and for
  resolving STIX IDs across multiple data sources.
  
  WWW: https://github.com/oasis-open/cti-python-stix2

Added:
  head/security/py-stix2/
  head/security/py-stix2/Makefile   (contents, props changed)
  head/security/py-stix2/distinfo   (contents, props changed)
  head/security/py-stix2/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sat Nov 24 21:31:54 2018	(r485796)
+++ head/security/Makefile	Sat Nov 24 21:43:02 2018	(r485797)
@@ -1051,6 +1051,7 @@
     SUBDIR += py-sslstrip
     SUBDIR += py-stem
     SUBDIR += py-stix
+    SUBDIR += py-stix2
     SUBDIR += py-stix2-patterns
     SUBDIR += py-tlslite
     SUBDIR += py-trezor

Added: head/security/py-stix2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-stix2/Makefile	Sat Nov 24 21:43:02 2018	(r485797)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	stix2
+PORTVERSION=	1.0.4
+DISTVERSIONPREFIX=	v
+CATEGORIES=	security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	antoine@FreeBSD.org
+COMMENT=	Python library to produce and consume STIX 2 JSON content
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
+		${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:3.4+
+USE_PYTHON=	distutils autoplist
+
+.include <bsd.port.mk>

Added: head/security/py-stix2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-stix2/distinfo	Sat Nov 24 21:43:02 2018	(r485797)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1543095179
+SHA256 (oasis-open-cti-python-stix2-v1.0.4_GH0.tar.gz) = 3ad8f4924a81ca149067774f3b660e9391b72f128a3ca6ad26649bce921e1844
+SIZE (oasis-open-cti-python-stix2-v1.0.4_GH0.tar.gz) = 177362

Added: head/security/py-stix2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-stix2/pkg-descr	Sat Nov 24 21:43:02 2018	(r485797)
@@ -0,0 +1,5 @@
+Python APIs for serializing and de-serializing STIX 2 JSON content, along with
+higher-level APIs for common tasks, including data markings, versioning, and for
+resolving STIX IDs across multiple data sources.
+
+WWW: https://github.com/oasis-open/cti-python-stix2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811242143.wAOLh2wt055132>