git: 1abef1021b36 - main - devel/py-pre-commit: Update version 3.5.0=>3.6.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 10 Dec 2023 14:56:44 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1abef1021b36a116f64ddd63ab325ac9211d3582

commit 1abef1021b36a116f64ddd63ab325ac9211d3582
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-10 09:21:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-10 14:56:32 +0000

    devel/py-pre-commit: Update version 3.5.0=>3.6.0
    
    Changelog: https://github.com/pre-commit/pre-commit/releases/tag/v3.6.0
---
 devel/py-pre-commit/Makefile | 10 ++++++++--
 devel/py-pre-commit/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/devel/py-pre-commit/Makefile b/devel/py-pre-commit/Makefile
index 765d9352184a..126b4d2e46dd 100644
--- a/devel/py-pre-commit/Makefile
+++ b/devel/py-pre-commit/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pre-commit
-PORTVERSION=	3.5.0
+PORTVERSION=	3.6.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -26,4 +26,10 @@ SHEBANG_FILES=	pre_commit/resources/hook-tmpl
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30900
+IGNORE=	python-3.9 or higher is required
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-pre-commit/distinfo b/devel/py-pre-commit/distinfo
index 288d6c1a57d4..10c0cf2377c3 100644
--- a/devel/py-pre-commit/distinfo
+++ b/devel/py-pre-commit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1697274696
-SHA256 (pre_commit-3.5.0.tar.gz) = 5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32
-SIZE (pre_commit-3.5.0.tar.gz) = 177079
+TIMESTAMP = 1702199648
+SHA256 (pre_commit-3.6.0.tar.gz) = d30bad9abf165f7785c15a21a1f46da7d0677cb00ee7ff4c579fd38922efe15d
+SIZE (pre_commit-3.6.0.tar.gz) = 177069