git: b2a4b959ea03 - main - devel/py-behave: Update to 1.3.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Sep 2025 23:12:00 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b2a4b959ea03e587f29be107e8dac705f21e7ac4
commit b2a4b959ea03e587f29be107e8dac705f21e7ac4
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-09-07 22:35:42 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-09-07 23:03:35 +0000
devel/py-behave: Update to 1.3.1
- Update WWW
Changes: https://github.com/behave/behave/releases
https://behave.readthedocs.io/en/latest/new_and_noteworthy/
---
devel/py-behave/Makefile | 16 ++++++++++------
devel/py-behave/distinfo | 6 +++---
devel/py-behave/files/patch-pyproject.toml | 12 ++++++++++++
devel/py-behave/files/patch-setup.py | 11 -----------
4 files changed, 25 insertions(+), 20 deletions(-)
diff --git a/devel/py-behave/Makefile b/devel/py-behave/Makefile
index ac5ff184b179..8eb5e1cd5114 100644
--- a/devel/py-behave/Makefile
+++ b/devel/py-behave/Makefile
@@ -1,22 +1,26 @@
PORTNAME= behave
-PORTVERSION= 1.2.6
-PORTREVISION= 1
+PORTVERSION= 1.3.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Behaviour-driven development in Python style
-WWW= https://github.com/behave/behave
+WWW= https://behave.readthedocs.io/en/latest/ \
+ https://github.com/behave/behave
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parse>=1.8.2:textproc/py-parse@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}parse-type>=0.4.2:textproc/py-parse-type@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}six>=1.11:devel/py-six@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0.3.7:devel/py-colorama@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cucumber-expressions>=17.1.0:devel/py-cucumber-expressions@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cucumber-tag-expressions>=4.1.0:devel/py-cucumber-tag-expressions@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}parse-type>=0.6.0:textproc/py-parse-type@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}parse>=1.18.0:textproc/py-parse@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=1.15.0:devel/py-six@${PY_FLAVOR} \
+ ${PY_TOMLI}
USES= python
USE_PYTHON= autoplist concurrent pep517
diff --git a/devel/py-behave/distinfo b/devel/py-behave/distinfo
index 0f40e0205558..8d817666f8c8 100644
--- a/devel/py-behave/distinfo
+++ b/devel/py-behave/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1602524149
-SHA256 (behave-1.2.6.tar.gz) = b9662327aa53294c1351b0a9c369093ccec1d21026f050c3bd9b3e5cccf81a86
-SIZE (behave-1.2.6.tar.gz) = 701696
+TIMESTAMP = 1757120626
+SHA256 (behave-1.3.1.tar.gz) = 2a1f3a2490242132c4daf0732d9b65c99be6fef1f787f97fd028ea5a402025ff
+SIZE (behave-1.3.1.tar.gz) = 887256
diff --git a/devel/py-behave/files/patch-pyproject.toml b/devel/py-behave/files/patch-pyproject.toml
new file mode 100644
index 000000000000..a6516dee334f
--- /dev/null
+++ b/devel/py-behave/files/patch-pyproject.toml
@@ -0,0 +1,12 @@
+--- pyproject.toml.orig 2025-08-11 18:54:15 UTC
++++ pyproject.toml
+@@ -66,8 +66,7 @@ keywords = [
+ "BDD", "behavior-driven-development", "bdd-framework",
+ "behave", "gherkin", "cucumber-like"
+ ]
+-license = "BSD-2-Clause"
+-license-files = ["LICENSE"]
++license = { text = "BSD-2-Clause" }
+ classifiers = [
+ "Development Status :: 5 - Production/Stable",
+ "Environment :: Console",
diff --git a/devel/py-behave/files/patch-setup.py b/devel/py-behave/files/patch-setup.py
deleted file mode 100644
index 04722791c1e1..000000000000
--- a/devel/py-behave/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig 2018-02-25 16:27:09 UTC
-+++ setup.py
-@@ -100,8 +100,6 @@ setup(
- "pylint",
- ],
- },
-- # MAYBE-DISABLE: use_2to3
-- use_2to3= bool(python_version >= 3.0),
- license="BSD",
- classifiers=[
- "Development Status :: 4 - Beta",