pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-codespell py-codespell: updated to 2.2.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac2d73b521cc
branches:  trunk
changeset: 389067:ac2d73b521cc
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 29 21:05:08 2022 +0000

description:
py-codespell: updated to 2.2.2

v2.2.2

What's Changed

MAINT: Bump to dev
Capitalize LessTif
Add several spelling corrections
aexs->axes
MAINT: Add tests as submodule
diffues->diffuse, defuse,
conviencece->convenience
htose->those, these,
Add several spelling corrections
move ro to code dictionary
Add ascconciated->associated
Fix various spelling corrections
Add several spelling corrections
Add sorkflow->workflow
Add spelling corrections for install and variants.
Capitalize all suggested fixes
Add several spelling corrections and refinements
Add knowladge->knowledge
Add several spelling corrections
Change "circularly" to "circulary".
Use grep -E instead of egrep
move warmup to code dictionary
downoload->download and friends
Add some alternative line endings and whitespace checks
occulusion->occlusion
Add another suggestion for relected
add dependendenc(y|ies)->dependenc(y|ies)
Add application(s) spelling corrections.
Add spelling correction for place
Add spelling correction
'analyses' is the plural of 'analysis'
Add spelling corrections for dictionar(y|ies)
Add spelling correction for export
Fix 2055: Add support for PEP 518
Add regresison->regression
DOC: Better docs
Fix build_exclude_hashes fails: UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 2244: character maps to
Add alternative for 'bu'
Add alternative for 'tooo'
Fix uncaught exception on empty files
Add combintaion(s)->combination(s)
MAINT: Use pyproject and setuptools_scm

diffstat:

 devel/py-codespell/Makefile |  25 +++++++++++++------------
 devel/py-codespell/PLIST    |  31 +++++++++++++++++++------------
 devel/py-codespell/distinfo |   8 ++++----
 3 files changed, 36 insertions(+), 28 deletions(-)

diffs (108 lines):

diff -r fa140cf91bb7 -r ac2d73b521cc devel/py-codespell/Makefile
--- a/devel/py-codespell/Makefile       Tue Nov 29 20:45:21 2022 +0000
+++ b/devel/py-codespell/Makefile       Tue Nov 29 21:05:08 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:02 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/11/29 21:05:08 adam Exp $
 
-DISTNAME=      codespell-2.1.0
+DISTNAME=      codespell-2.2.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/codespell/}
 
@@ -11,18 +10,20 @@
 COMMENT=       Check code for common misspellings
 LICENSE=       gnu-gpl-v2
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
 USE_LANGUAGES= # none
 
+REPLACE_PYTHON=        bin/codespell
+
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-USE_PKG_RESOURCES=     yes
-
-PYTHON_VERSIONED_DEPENDENCIES+=        test:test
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} codespell codespell-${PYVERSSUFFIX} || ${TRUE}
 
-post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/codespell \
-               ${DESTDIR}${PREFIX}/bin/codespell-${PYVERSSUFFIX}
-
-.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r fa140cf91bb7 -r ac2d73b521cc devel/py-codespell/PLIST
--- a/devel/py-codespell/PLIST  Tue Nov 29 20:45:21 2022 +0000
+++ b/devel/py-codespell/PLIST  Tue Nov 29 21:05:08 2022 +0000
@@ -1,24 +1,25 @@
-@comment $NetBSD: PLIST,v 1.3 2021/01/25 10:56:05 fcambus Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/11/29 21:05:08 adam Exp $
 bin/codespell-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/COPYING
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/bin/codespell
 ${PYSITELIB}/codespell_lib/__init__.py
 ${PYSITELIB}/codespell_lib/__init__.pyc
-${PYSITELIB}/codespell_lib/__init__.pyo
 ${PYSITELIB}/codespell_lib/__main__.py
 ${PYSITELIB}/codespell_lib/__main__.pyc
-${PYSITELIB}/codespell_lib/__main__.pyo
 ${PYSITELIB}/codespell_lib/_codespell.py
 ${PYSITELIB}/codespell_lib/_codespell.pyc
-${PYSITELIB}/codespell_lib/_codespell.pyo
+${PYSITELIB}/codespell_lib/_version.py
+${PYSITELIB}/codespell_lib/_version.pyc
 ${PYSITELIB}/codespell_lib/data/__init__.py
 ${PYSITELIB}/codespell_lib/data/__init__.pyc
-${PYSITELIB}/codespell_lib/data/__init__.pyo
 ${PYSITELIB}/codespell_lib/data/dictionary.txt
 ${PYSITELIB}/codespell_lib/data/dictionary_code.txt
 ${PYSITELIB}/codespell_lib/data/dictionary_en-GB_to_en-US.txt
@@ -27,3 +28,9 @@
 ${PYSITELIB}/codespell_lib/data/dictionary_rare.txt
 ${PYSITELIB}/codespell_lib/data/dictionary_usage.txt
 ${PYSITELIB}/codespell_lib/data/linux-kernel.exclude
+${PYSITELIB}/codespell_lib/tests/__init__.py
+${PYSITELIB}/codespell_lib/tests/__init__.pyc
+${PYSITELIB}/codespell_lib/tests/test_basic.py
+${PYSITELIB}/codespell_lib/tests/test_basic.pyc
+${PYSITELIB}/codespell_lib/tests/test_dictionary.py
+${PYSITELIB}/codespell_lib/tests/test_dictionary.pyc
diff -r fa140cf91bb7 -r ac2d73b521cc devel/py-codespell/distinfo
--- a/devel/py-codespell/distinfo       Tue Nov 29 20:45:21 2022 +0000
+++ b/devel/py-codespell/distinfo       Tue Nov 29 21:05:08 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:18:18 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/11/29 21:05:08 adam Exp $
 
-BLAKE2s (codespell-2.1.0.tar.gz) = 21033c0c68f457fbc8d3810e90ec84cf172a1f151ab1313cfb91884e2c3f43c9
-SHA512 (codespell-2.1.0.tar.gz) = bdc96f3e99e06c7995d22822dadc1e48953ad16b6c8fd591199d1ddd024c3c88f9420be9c7c3dfbf5a8bd8922da85ca5e436310e162dced955affb1a8be3a8e1
-Size (codespell-2.1.0.tar.gz) = 185923 bytes
+BLAKE2s (codespell-2.2.2.tar.gz) = 14159aee3eb7b26c7b18803f79e0f67fc19c0745546393e928094a703f2eaaee
+SHA512 (codespell-2.2.2.tar.gz) = 48be00aa32e55a66814193014e97fcb27ff323ea2db0622f68cd2d3ab31ab8be61f60a09ed91fe3425cbd63b2592bcc44ee9b58fe79e2d498bc27a83a4e93ddd
+Size (codespell-2.2.2.tar.gz) = 213652 bytes



Home | Main Index | Thread Index | Old Index