Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2022 20:30:59 GMT
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 671ccbc7f90d - main - devel/py-pycodestyle: switch to pytest
Message-ID:  <202209082030.288KUxD2095133@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=671ccbc7f90d523c438dc3d9e778909bf67be929

commit 671ccbc7f90d523c438dc3d9e778909bf67be929
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-09-08 19:38:46 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-09-08 20:30:20 +0000

    devel/py-pycodestyle: switch to pytest
---
 devel/py-pycodestyle/Makefile  | 9 ++++-----
 devel/py-pycodestyle/pkg-descr | 2 --
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/devel/py-pycodestyle/Makefile b/devel/py-pycodestyle/Makefile
index 68109eb12fdd..675c918222bd 100644
--- a/devel/py-pycodestyle/Makefile
+++ b/devel/py-pycodestyle/Makefile
@@ -6,15 +6,14 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Python style guide checker
-WWW=		https://pycodestyle.readthedocs.io/en/latest/
+WWW=		https://pycodestyle.readthedocs.io/en/latest/ \
+		https://pypi.org/project/pycodestyle/ \
+		https://github.com/pycqa/pycodestyle
 
 LICENSE=	MIT # mentioned as "Expat"
 
-USES=		python:3.6+
+USES=		python:3.6+ pytest
 USE_PYTHON=	autoplist concurrent distutils
 NO_ARCH=	yes
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover testsuite
-
 .include <bsd.port.mk>
diff --git a/devel/py-pycodestyle/pkg-descr b/devel/py-pycodestyle/pkg-descr
index 47b9cc8ed4c1..195d8f5e8f32 100644
--- a/devel/py-pycodestyle/pkg-descr
+++ b/devel/py-pycodestyle/pkg-descr
@@ -3,5 +3,3 @@ style conventions in PEP 8.
 
 This package used to be called pep8 but was renamed to pycodestyle
 to reduce confusion
-
-See also: https://pypi.org/project/pycodestyle/



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