git: 265da893fd1c - main - devel/py-pyproject-fmt: Allow build with py-pyproject-fmt-rust 1.1.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 May 2024 20:24:35 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=265da893fd1c286b2d94c68896ef32419f294c95
commit 265da893fd1c286b2d94c68896ef32419f294c95
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-28 20:19:53 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-28 20:19:53 +0000
devel/py-pyproject-fmt: Allow build with py-pyproject-fmt-rust 1.1.4
- Bump PORTREVISION for package change
---
devel/py-pyproject-fmt/Makefile | 3 ++-
devel/py-pyproject-fmt/files/patch-pyproject.toml | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/devel/py-pyproject-fmt/Makefile b/devel/py-pyproject-fmt/Makefile
index a3f13b8dac4e..c0953087cf41 100644
--- a/devel/py-pyproject-fmt/Makefile
+++ b/devel/py-pyproject-fmt/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pyproject-fmt
PORTVERSION= 2.1.3
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.4:devel/py-hatch-vcs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=1.24.2:devel/py-hatchling@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyproject-fmt-rust>=1.1.3<1.1.3_99:devel/py-pyproject-fmt-rust@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyproject-fmt-rust>=1.1.4<1.1.4_99:devel/py-pyproject-fmt-rust@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
diff --git a/devel/py-pyproject-fmt/files/patch-pyproject.toml b/devel/py-pyproject-fmt/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f4ae8c064850
--- /dev/null
+++ b/devel/py-pyproject-fmt/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2020-02-02 00:00:00 UTC
++++ pyproject.toml
+@@ -33,7 +33,7 @@ dependencies = [
+ "version",
+ ]
+ dependencies = [
+- "pyproject-fmt-rust==1.1.3",
++ "pyproject-fmt-rust==1.1.4",
+ "tomli>=2.0.1; python_version<'3.11'",
+ ]
+ optional-dependencies.docs = [