Date: Wed, 2 Aug 2023 21:20:29 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: a3fb954a5fc5 - main - =?utf-8?Q?devel/py-flake8:=20update=206.0.0=20=E2=86=92=206.1.0?= Message-ID: <202308022120.372LKT4j026591@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=a3fb954a5fc5408a2ebb725cd2378325894d562f commit a3fb954a5fc5408a2ebb725cd2378325894d562f Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2023-07-31 19:10:48 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2023-08-02 21:20:20 +0000 devel/py-flake8: update 6.0.0 → 6.1.0 - Switch to GitHub as PyPI tarball does not contain required test files --- devel/py-flake8/Makefile | 12 +++++++----- devel/py-flake8/distinfo | 6 +++--- devel/py-flake8/files/patch-setup.cfg | 15 --------------- 3 files changed, 10 insertions(+), 23 deletions(-) diff --git a/devel/py-flake8/Makefile b/devel/py-flake8/Makefile index 752e209c57b8..6c26a63ae785 100644 --- a/devel/py-flake8/Makefile +++ b/devel/py-flake8/Makefile @@ -1,7 +1,6 @@ PORTNAME= flake8 -PORTVERSION= 6.0.0 +PORTVERSION= 6.1.0 CATEGORIES= devel python -MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= amdmi3@FreeBSD.org @@ -18,10 +17,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mccabe>=0:devel/py-mccabe@${PY_FLAVOR} \ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} USES= python +USE_GITHUB= yes +GH_ACCOUNT= PyCQA USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes -# test_up_to_date is broken because pypi tarball lacks required files -# upstream is uncooperative about fixing this -PYTEST_BROKEN_TESTS= test_up_to_date test_all_pyflakes_messages_have_flake8_codes_assigned +PYTEST_BROKEN_TESTS= test_all_pyflakes_messages_have_flake8_codes_assigned + +post-patch: + @${REINPLACE_CMD} -Ee '/(mccabe|pycodestyle|pyflakes)/s|>.*||' ${WRKSRC}/setup.cfg .include <bsd.port.mk> diff --git a/devel/py-flake8/distinfo b/devel/py-flake8/distinfo index 6bd62b3affa3..50924da6a590 100644 --- a/devel/py-flake8/distinfo +++ b/devel/py-flake8/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669294573 -SHA256 (flake8-6.0.0.tar.gz) = c61007e76655af75e6785a931f452915b371dc48f56efd765247c8fe68f2b181 -SIZE (flake8-6.0.0.tar.gz) = 138524 +TIMESTAMP = 1690826558 +SHA256 (PyCQA-flake8-6.1.0_GH0.tar.gz) = bcb01efc0c83d3c9362e200b5359fe22e11b859962dd27e5bebf3ada7620ae2f +SIZE (PyCQA-flake8-6.1.0_GH0.tar.gz) = 139267 diff --git a/devel/py-flake8/files/patch-setup.cfg b/devel/py-flake8/files/patch-setup.cfg deleted file mode 100644 index f226afa2aee5..000000000000 --- a/devel/py-flake8/files/patch-setup.cfg +++ /dev/null @@ -1,15 +0,0 @@ ---- setup.cfg.orig 2022-11-23 22:27:42.662058600 +0300 -+++ setup.cfg 2022-11-24 16:01:07.666654000 +0300 -@@ -30,9 +30,9 @@ - package_dir = - =src - install_requires = -- mccabe>=0.7.0,<0.8.0 -- pycodestyle>=2.10.0,<2.11.0 -- pyflakes>=3.0.0,<3.1.0 -+ mccabe -+ pycodestyle -+ pyflakes - python_requires = >=3.8.1 - - [options.packages.find]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308022120.372LKT4j026591>