Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2024 13:53:39 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 117ae8f4c6a8 - main - textproc/py-sphinx-autoapi: Fix astroid2 dependency
Message-ID:  <202403021353.422Drd4h045514@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=117ae8f4c6a8d27b0cc628ef6bb82a58e2ba8b6d

commit 117ae8f4c6a8d27b0cc628ef6bb82a58e2ba8b6d
Author:     Andreas Bilke <andreas@bilke.org>
AuthorDate: 2024-03-02 11:25:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-03-02 13:53:13 +0000

    textproc/py-sphinx-autoapi: Fix astroid2 dependency
    
    This patch changes to astroid2 as a dependency to limit the version < 3
    of astroid.
    
    A direct upgrade to  textproc/py-sphinx-autoapi v3 is not possible
    since we are missing the needed py-sphinx v6 dependency in the ports
    tree.
    
    PR:             277361
    Approved by:    submitter is maintainer
---
 textproc/py-sphinx-autoapi/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/textproc/py-sphinx-autoapi/Makefile b/textproc/py-sphinx-autoapi/Makefile
index c519b629c3eb..aa90ce5248ac 100644
--- a/textproc/py-sphinx-autoapi/Makefile
+++ b/textproc/py-sphinx-autoapi/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sphinx-autoapi
 DISTVERSION=	2.1.1
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.rst
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}anyascii>0:textproc/py-anyascii@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}astroid>=2.7:devel/py-astroid@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}astroid2>=2.7:devel/py-astroid2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sphinx>=5.2.0:textproc/py-sphinx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403021353.422Drd4h045514>