Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2024 01:25:09 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: 504f5a0a3fa7 - main - devel/py-mccabe: Fix dependency
Message-ID:  <202412210125.4BL1P9eP010347@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=504f5a0a3fa7ec99c938f0ac81165f29d506fcd5

commit 504f5a0a3fa7ec99c938f0ac81165f29d506fcd5
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-12-20 08:37:54 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-12-21 01:08:08 +0000

    devel/py-mccabe: Fix dependency
    
    Requirement of pytest-runner was removed upstream. See following:
    https://github.com/PyCQA/mccabe/commit/9274755156fc4d6e228069f67a021dc12cc14a18
    
    PR:             263645
    Reported by:    ngie
---
 devel/py-mccabe/Makefile  | 10 +++++-----
 devel/py-mccabe/pkg-descr |  2 --
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/devel/py-mccabe/Makefile b/devel/py-mccabe/Makefile
index a7bea265e35d..c2925abf72bd 100644
--- a/devel/py-mccabe/Makefile
+++ b/devel/py-mccabe/Makefile
@@ -1,20 +1,20 @@
 PORTNAME=	mccabe
-PORTVERSION=	0.7.0
+DISTVERSION=	0.7.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Ned's script to check McCabe complexity
-WWW=		https://pypi.org/project/mccabe/
+WWW=		https://pypi.org/project/mccabe/ \
+	https://github.com/PyCQA/mccabe/
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
-
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist distutils pytest
 
 NO_ARCH=	yes
 
diff --git a/devel/py-mccabe/pkg-descr b/devel/py-mccabe/pkg-descr
index c0c278e2fc3a..79a38803d25b 100644
--- a/devel/py-mccabe/pkg-descr
+++ b/devel/py-mccabe/pkg-descr
@@ -1,5 +1,3 @@
 Ned's script to check McCabe complexity.
 
 This module provides a plugin for flake8, the Python code checker.
-
-See also: https://github.com/flintwork/mccabe



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