git: 409a7fc314b7 - main - devel/py-Automat: update 20.2.0 -> 22.10.0

From: Kurt Jaeger <pi_at_FreeBSD.org>
Date: Sun, 30 Jun 2024 18:26:14 UTC
The branch main has been updated by pi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=409a7fc314b7026bbec5b9eb2ba46cba6eca3986

commit 409a7fc314b7026bbec5b9eb2ba46cba6eca3986
Author:     John W. O'Brien <john@saltant.com>
AuthorDate: 2024-06-30 18:23:29 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-06-30 18:23:29 +0000

    devel/py-Automat: update 20.2.0 -> 22.10.0
    
    - Drop dependency on textproc/py-m2r
    - Backport patch to remove gratuitous setup.py dependency on wheel
    
    PR:             279502
    Reported-by:    László Károlyi <laszlo@karolyi.hu>
    Reviewed-by:    vishwin
    Author:         John W. O'Brien <john@saltant.com> (maintainer)
---
 devel/py-Automat/Makefile | 8 +++++---
 devel/py-Automat/distinfo | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/devel/py-Automat/Makefile b/devel/py-Automat/Makefile
index 97c02e7e6f94..01899173f5fd 100644
--- a/devel/py-Automat/Makefile
+++ b/devel/py-Automat/Makefile
@@ -1,9 +1,12 @@
 PORTNAME=	Automat
-PORTVERSION=	20.2.0
+PORTVERSION=	22.10.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
+PATCH_SITES=	https://github.com/glyph/Automat/commit/
+PATCHFILES=	033cb4e0a41c.patch:-p1  # https://github.com/glyph/automat/pull/150
+
 MAINTAINER=	john@saltant.com
 COMMENT=	Finite-state machines in Python
 WWW=		https://github.com/glyph/Automat
@@ -11,8 +14,7 @@ WWW=		https://github.com/glyph/Automat
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}m2r>0:textproc/py-m2r@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm7>0:devel/py-setuptools_scm7@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
 
diff --git a/devel/py-Automat/distinfo b/devel/py-Automat/distinfo
index 87f19bdaddb3..cf5f011b8a91 100644
--- a/devel/py-Automat/distinfo
+++ b/devel/py-Automat/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1593260712
-SHA256 (Automat-20.2.0.tar.gz) = 7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33
-SIZE (Automat-20.2.0.tar.gz) = 61679
+TIMESTAMP = 1719531499
+SHA256 (Automat-22.10.0.tar.gz) = e56beb84edad19dcc11d30e8d9b895f75deeb5ef5e96b84a467066b3b84bb04e
+SIZE (Automat-22.10.0.tar.gz) = 59099
+SHA256 (033cb4e0a41c.patch) = 5899f43abb83601cb63afef9979e6c9c48cc2d76faea253b84024277692cbe9b
+SIZE (033cb4e0a41c.patch) = 634