Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2026 15:48:20 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 721080aec129 - main - security/py-stix2-patterns: Update to 2.1.2
Message-ID:  <69e79c44.342ce.5b01b447@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=721080aec129175ff407e375bbe38e5736db0e19

commit 721080aec129175ff407e375bbe38e5736db0e19
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-21 15:43:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-21 15:47:37 +0000

    security/py-stix2-patterns: Update to 2.1.2
    
    - Change MASTER_SITES to PYPI
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/oasis-open/cti-pattern-validator/releases
    PR:             291071
    Approved by:    antoine (maintainer)
---
 security/py-stix2-patterns/Makefile | 18 ++++++++----------
 security/py-stix2-patterns/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/security/py-stix2-patterns/Makefile b/security/py-stix2-patterns/Makefile
index 115d1083acf6..191ee458fe7b 100644
--- a/security/py-stix2-patterns/Makefile
+++ b/security/py-stix2-patterns/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	stix2-patterns
-PORTVERSION=	2.0.0
-PORTREVISION=	1
-DISTVERSIONPREFIX=	v
+PORTVERSION=	2.1.2
 CATEGORIES=	security python
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	stix2_patterns-${PORTVERSION}
 
 MAINTAINER=	antoine@FreeBSD.org
 COMMENT=	Python library to validate STIX 2 Patterns
@@ -12,15 +12,13 @@ WWW=		https://github.com/oasis-open/cti-pattern-validator
 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}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}antlr4-python3-runtime>=4.13.0,1<4.14,1:devel/py-antlr4-python3-runtime@${PY_FLAVOR}
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	oasis-open
-GH_PROJECT=	cti-pattern-validator
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
-USES=		python
-USE_PYTHON=	distutils autoplist concurrent
 
 .include <bsd.port.mk>
diff --git a/security/py-stix2-patterns/distinfo b/security/py-stix2-patterns/distinfo
index 0028a042bb5c..867e1f00ac75 100644
--- a/security/py-stix2-patterns/distinfo
+++ b/security/py-stix2-patterns/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660724515
-SHA256 (oasis-open-cti-pattern-validator-v2.0.0_GH0.tar.gz) = 952cdea1e3c82c582ef37c971b3a4796eb4c38044da04a85c51dc7a95df1235f
-SIZE (oasis-open-cti-pattern-validator-v2.0.0_GH0.tar.gz) = 58721
+TIMESTAMP = 1776692386
+SHA256 (stix2_patterns-2.1.2.tar.gz) = b2059d36c1fd87740f3facc22a4147cde1e2b0acb8d5e4c08fbf04b1dc553185
+SIZE (stix2_patterns-2.1.2.tar.gz) = 78811


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e79c44.342ce.5b01b447>