git: 69648f91bfa3 - main - devel/py-sarif-om: New Port: Python classes for the SARIF 2.1.0 object model
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jun 2022 22:51:48 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=69648f91bfa37d99c458174fcf9b63245cdac9f9
commit 69648f91bfa37d99c458174fcf9b63245cdac9f9
Author: Norikatsu Shigemura <nork@ninth-nine.com>
AuthorDate: 2022-06-09 22:47:34 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-06-09 22:51:05 +0000
devel/py-sarif-om: New Port: Python classes for the SARIF 2.1.0 object model
Add a new port, py-sarif-om is python classes for the SARIF 2.1.0
object model.
- Author becomes maintainer
PR: 264373
---
devel/Makefile | 1 +
devel/py-sarif-om/Makefile | 23 +++++++++++++++++++++++
devel/py-sarif-om/distinfo | 3 +++
devel/py-sarif-om/files/patch-setup.cfg | 16 ++++++++++++++++
devel/py-sarif-om/pkg-descr | 3 +++
5 files changed, 46 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 8b1fa2210f1b..8298d0653968 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5274,6 +5274,7 @@
SUBDIR += py-rx1
SUBDIR += py-saneyaml
SUBDIR += py-sarge
+ SUBDIR += py-sarif-om
SUBDIR += py-schedule
SUBDIR += py-schema
SUBDIR += py-schematics-patched
diff --git a/devel/py-sarif-om/Makefile b/devel/py-sarif-om/Makefile
new file mode 100644
index 000000000000..9ba9c346feb5
--- /dev/null
+++ b/devel/py-sarif-om/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= sarif-om
+DISTVERSION= 1.0.4
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= sarif_om-${DISTVERSION}
+
+MAINTAINER= nork@ninth-nine.com
+COMMENT= Python classes for the SARIF 2.1.0 object model
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR}
+
+USES= dos2unix python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-sarif-om/distinfo b/devel/py-sarif-om/distinfo
new file mode 100644
index 000000000000..0b18026b8c3b
--- /dev/null
+++ b/devel/py-sarif-om/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1654784499
+SHA256 (sarif_om-1.0.4.tar.gz) = cd5f416b3083e00d402a92e449a7ff67af46f11241073eea0461802a3b5aef98
+SIZE (sarif_om-1.0.4.tar.gz) = 28847
diff --git a/devel/py-sarif-om/files/patch-setup.cfg b/devel/py-sarif-om/files/patch-setup.cfg
new file mode 100644
index 000000000000..1f41f3e6d719
--- /dev/null
+++ b/devel/py-sarif-om/files/patch-setup.cfg
@@ -0,0 +1,16 @@
+--- setup.cfg.orig 2022-06-09 14:23:25 UTC
++++ setup.cfg
+@@ -1,10 +1,10 @@ author = Microsoft Corporation
+ [metadata]
+ name = sarif_om
+ author = Microsoft Corporation
+-author-email = v-lgold@microsoft.com
++author_email = v-lgold@microsoft.com
+ summary = Classes implementing the SARIF 2.1.0 object model.
+-home-page = https://github.com/microsoft/sarif-python-om
+-description-file = README.rst
++home_page = https://github.com/microsoft/sarif-python-om
++description_file = README.rst
+ license = MIT
+ classifier =
+ Development Status :: 5 - Production/Stable
diff --git a/devel/py-sarif-om/pkg-descr b/devel/py-sarif-om/pkg-descr
new file mode 100644
index 000000000000..90cdbb76f3a8
--- /dev/null
+++ b/devel/py-sarif-om/pkg-descr
@@ -0,0 +1,3 @@
+Python classes for the SARIF 2.1.0 object model.
+
+WWW: https://pypi.org/project/sarif-om/