git: bb19a6db5199 - main - devel/py-Automat: Update 22.10.0 → 24.8.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Oct 2024 23:05:36 UTC
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=bb19a6db5199329fac53aa72770ad64f74f0acf8 commit bb19a6db5199329fac53aa72770ad64f74f0acf8 Author: John W. O'Brien <john@saltant.com> AuthorDate: 2024-10-05 22:57:06 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-10-05 22:57:06 +0000 devel/py-Automat: Update 22.10.0 → 24.8.1 Commit log: https://github.com/glyph/automat/compare/v22.10.0...v24.8.1 - Convert to PEP-517 - Note: 24.8 introduces a major change to the public API, `TypeMachineBuilder`, while retaining `MethodicalMachine` for backward compatibility. See the documentation for details. PR: 281847 --- devel/py-Automat/Makefile | 24 ++++++++++++++---------- devel/py-Automat/distinfo | 8 +++----- devel/py-Automat/pkg-message | 2 +- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/devel/py-Automat/Makefile b/devel/py-Automat/Makefile index 01899173f5fd..6666c2eaa6ce 100644 --- a/devel/py-Automat/Makefile +++ b/devel/py-Automat/Makefile @@ -1,11 +1,9 @@ PORTNAME= Automat -PORTVERSION= 22.10.0 +DISTVERSION= 24.8.1 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 +DISTNAME= ${PORTNAME:tl}-${DISTVERSION} MAINTAINER= john@saltant.com COMMENT= Finite-state machines in Python @@ -14,17 +12,23 @@ WWW= https://github.com/glyph/Automat LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -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} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm7>0:devel/py-setuptools_scm7@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=35.0.2:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.29.0:devel/py-wheel@${PY_FLAVOR} -# Officially: 2.7, 3.5-3.8 +# Officially: 3.8-3.12 USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 # Note: We cannot include devel/py-twisted in *_DEPENDS because it depends # on us for BUILD and RUN. NO_ARCH= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 31000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> diff --git a/devel/py-Automat/distinfo b/devel/py-Automat/distinfo index cf5f011b8a91..1a92accd24c9 100644 --- a/devel/py-Automat/distinfo +++ b/devel/py-Automat/distinfo @@ -1,5 +1,3 @@ -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 +TIMESTAMP = 1727532915 +SHA256 (automat-24.8.1.tar.gz) = b34227cf63f6325b8ad2399ede780675083e439b20c323d376373d8ee6306d88 +SIZE (automat-24.8.1.tar.gz) = 128679 diff --git a/devel/py-Automat/pkg-message b/devel/py-Automat/pkg-message index f2a8e24b7398..8e7e67325efb 100644 --- a/devel/py-Automat/pkg-message +++ b/devel/py-Automat/pkg-message @@ -2,7 +2,7 @@ { type: install message: <<EOM Install graphics/py-graphviz and devel/py-twisted to enable state -machine visualization (`MethodicalMachine.asDigraph`). +machine visualization (`automat-visualize`). EOM } ]