Hi,

update for devel/py-codestyle version 2.11.1
Changelog: https://github.com/PyCQA/pycodestyle/blob/main/CHANGES.txt

Update Makefile:
- modify HOMEPAGE from GH repository to project's home 
https://pycodestyle.pycqa.org
- remove MODPY_PI and use GitHub to download sources via DIST_TUPLE => sources 
on PyPI don't include 'testing' directory to run unittests

Build and tests OK on current/amd64 with Python 3.10.13.
Functional tests OK with 'pycodestyle' binary on Python examples.

Tests/comments welcome and please commit if OK.

Laurent

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-codestyle/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile	24 Nov 2022 12:16:29 -0000	1.17
+++ Makefile	13 Oct 2023 10:28:57 -0000
@@ -1,19 +1,22 @@
 COMMENT =		Python style guide checker
 
-MODPY_EGG_VERSION =	2.10.0
+MODPY_EGG_VERSION =	2.11.1
 DISTNAME =		pycodestyle-${MODPY_EGG_VERSION}
 PKGNAME =		py-codestyle-${MODPY_EGG_VERSION}
 
+# Sources from PyPI don't include testing dir for tests
+DIST_TUPLE =            github PyCQA pycodestyle ${MODPY_EGG_VERSION} .
+
 CATEGORIES =		devel
 
-HOMEPAGE =		https://github.com/PyCQA/pycodestyle
+# https://github.com/PyCQA/pycodestyle
+HOMEPAGE =		https://pycodestyle.pycqa.org
 
 # Expat
 PERMIT_PACKAGE =	Yes
 
 MODULES =		lang/python
 
-MODPY_PI =		Yes
 MODPY_PYBUILD =		setuptools
 
 FLAVORS =		python3
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-codestyle/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo	24 Nov 2022 12:16:29 -0000	1.7
+++ distinfo	13 Oct 2023 10:28:57 -0000
@@ -1,2 +1,2 @@
-SHA256 (pycodestyle-2.10.0.tar.gz) = NHGHvbR2Mp2Y9pXCE9cpWoRtEVL/T+m6y4qVkLjucFM=
-SIZE (pycodestyle-2.10.0.tar.gz) = 101916
+SHA256 (PyCQA-pycodestyle-2.11.1.tar.gz) = oB/diQxkcu68Mui68h4pFzw1d252XGTMg8zQm5ncU5k=
+SIZE (PyCQA-pycodestyle-2.11.1.tar.gz) = 79865

Reply via email to