pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-yapf



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep 27 09:40:15 UTC 2023

Modified Files:
        pkgsrc/devel/py-yapf: Makefile PLIST distinfo

Log Message:
py-yapf: updated to 0.40.2

0.40.2
Changes
- The verification module has been removed. NOTE: this changes the public APIs
  by removing the "verify" parameter.
- Changed FORCE_MULTILINE_DICT to override SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES.
- Adopt pyproject.toml (PEP 517) for build system
Fixed
- Do not treat variables named `match` as the match keyword.
- Fix SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED for one-item argument lists.
- Fix trailing backslash-newline on Windows when using stdin.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-yapf/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-yapf/PLIST \
    pkgsrc/devel/py-yapf/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-yapf/Makefile
diff -u pkgsrc/devel/py-yapf/Makefile:1.9 pkgsrc/devel/py-yapf/Makefile:1.10
--- pkgsrc/devel/py-yapf/Makefile:1.9   Mon Jun 26 15:27:14 2023
+++ pkgsrc/devel/py-yapf/Makefile       Wed Sep 27 09:40:15 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2023/06/26 15:27:14 adam Exp $
+# $NetBSD: Makefile,v 1.10 2023/09/27 09:40:15 adam Exp $
 
-DISTNAME=      yapf-0.40.1
+DISTNAME=      yapf-0.40.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=y/yapf/}
@@ -10,6 +10,8 @@ HOMEPAGE=     https://github.com/google/yapf
 COMMENT=       Python files formatter
 LICENSE=       apache-2.0
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=58.5.0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=6.6.0:../../devel/py-importlib-metadata
 DEPENDS+=      ${PYPKGPREFIX}-platformdirs>=3.5.1:../../misc/py-platformdirs
 DEPENDS+=      ${PYPKGPREFIX}-tomli>=2.0.1:../../textproc/py-tomli
@@ -26,5 +28,5 @@ post-install:
        ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
 .endfor
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-yapf/PLIST
diff -u pkgsrc/devel/py-yapf/PLIST:1.7 pkgsrc/devel/py-yapf/PLIST:1.8
--- pkgsrc/devel/py-yapf/PLIST:1.7      Mon Jun 26 15:27:14 2023
+++ pkgsrc/devel/py-yapf/PLIST  Wed Sep 27 09:40:15 2023
@@ -1,226 +1,159 @@
-@comment $NetBSD: PLIST,v 1.7 2023/06/26 15:27:14 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2023/09/27 09:40:15 adam Exp $
 bin/yapf-${PYVERSSUFFIX}
 bin/yapf-diff-${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}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${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}/yapf/__init__.py
 ${PYSITELIB}/yapf/__init__.pyc
-${PYSITELIB}/yapf/__init__.pyo
 ${PYSITELIB}/yapf/__main__.py
 ${PYSITELIB}/yapf/__main__.pyc
-${PYSITELIB}/yapf/__main__.pyo
 ${PYSITELIB}/yapf/pyparser/__init__.py
 ${PYSITELIB}/yapf/pyparser/__init__.pyc
-${PYSITELIB}/yapf/pyparser/__init__.pyo
 ${PYSITELIB}/yapf/pyparser/pyparser.py
 ${PYSITELIB}/yapf/pyparser/pyparser.pyc
-${PYSITELIB}/yapf/pyparser/pyparser.pyo
 ${PYSITELIB}/yapf/pyparser/pyparser_utils.py
 ${PYSITELIB}/yapf/pyparser/pyparser_utils.pyc
-${PYSITELIB}/yapf/pyparser/pyparser_utils.pyo
 ${PYSITELIB}/yapf/pyparser/split_penalty_visitor.py
 ${PYSITELIB}/yapf/pyparser/split_penalty_visitor.pyc
-${PYSITELIB}/yapf/pyparser/split_penalty_visitor.pyo
 ${PYSITELIB}/yapf/pytree/__init__.py
 ${PYSITELIB}/yapf/pytree/__init__.pyc
-${PYSITELIB}/yapf/pytree/__init__.pyo
 ${PYSITELIB}/yapf/pytree/blank_line_calculator.py
 ${PYSITELIB}/yapf/pytree/blank_line_calculator.pyc
-${PYSITELIB}/yapf/pytree/blank_line_calculator.pyo
 ${PYSITELIB}/yapf/pytree/comment_splicer.py
 ${PYSITELIB}/yapf/pytree/comment_splicer.pyc
-${PYSITELIB}/yapf/pytree/comment_splicer.pyo
 ${PYSITELIB}/yapf/pytree/continuation_splicer.py
 ${PYSITELIB}/yapf/pytree/continuation_splicer.pyc
-${PYSITELIB}/yapf/pytree/continuation_splicer.pyo
 ${PYSITELIB}/yapf/pytree/pytree_unwrapper.py
 ${PYSITELIB}/yapf/pytree/pytree_unwrapper.pyc
-${PYSITELIB}/yapf/pytree/pytree_unwrapper.pyo
 ${PYSITELIB}/yapf/pytree/pytree_utils.py
 ${PYSITELIB}/yapf/pytree/pytree_utils.pyc
-${PYSITELIB}/yapf/pytree/pytree_utils.pyo
 ${PYSITELIB}/yapf/pytree/pytree_visitor.py
 ${PYSITELIB}/yapf/pytree/pytree_visitor.pyc
-${PYSITELIB}/yapf/pytree/pytree_visitor.pyo
 ${PYSITELIB}/yapf/pytree/split_penalty.py
 ${PYSITELIB}/yapf/pytree/split_penalty.pyc
-${PYSITELIB}/yapf/pytree/split_penalty.pyo
 ${PYSITELIB}/yapf/pytree/subtype_assigner.py
 ${PYSITELIB}/yapf/pytree/subtype_assigner.pyc
-${PYSITELIB}/yapf/pytree/subtype_assigner.pyo
 ${PYSITELIB}/yapf/yapflib/__init__.py
 ${PYSITELIB}/yapf/yapflib/__init__.pyc
-${PYSITELIB}/yapf/yapflib/__init__.pyo
 ${PYSITELIB}/yapf/yapflib/errors.py
 ${PYSITELIB}/yapf/yapflib/errors.pyc
-${PYSITELIB}/yapf/yapflib/errors.pyo
 ${PYSITELIB}/yapf/yapflib/file_resources.py
 ${PYSITELIB}/yapf/yapflib/file_resources.pyc
-${PYSITELIB}/yapf/yapflib/file_resources.pyo
 ${PYSITELIB}/yapf/yapflib/format_decision_state.py
 ${PYSITELIB}/yapf/yapflib/format_decision_state.pyc
-${PYSITELIB}/yapf/yapflib/format_decision_state.pyo
 ${PYSITELIB}/yapf/yapflib/format_token.py
 ${PYSITELIB}/yapf/yapflib/format_token.pyc
-${PYSITELIB}/yapf/yapflib/format_token.pyo
 ${PYSITELIB}/yapf/yapflib/identify_container.py
 ${PYSITELIB}/yapf/yapflib/identify_container.pyc
-${PYSITELIB}/yapf/yapflib/identify_container.pyo
 ${PYSITELIB}/yapf/yapflib/line_joiner.py
 ${PYSITELIB}/yapf/yapflib/line_joiner.pyc
-${PYSITELIB}/yapf/yapflib/line_joiner.pyo
 ${PYSITELIB}/yapf/yapflib/logical_line.py
 ${PYSITELIB}/yapf/yapflib/logical_line.pyc
-${PYSITELIB}/yapf/yapflib/logical_line.pyo
 ${PYSITELIB}/yapf/yapflib/object_state.py
 ${PYSITELIB}/yapf/yapflib/object_state.pyc
-${PYSITELIB}/yapf/yapflib/object_state.pyo
 ${PYSITELIB}/yapf/yapflib/reformatter.py
 ${PYSITELIB}/yapf/yapflib/reformatter.pyc
-${PYSITELIB}/yapf/yapflib/reformatter.pyo
 ${PYSITELIB}/yapf/yapflib/split_penalty.py
 ${PYSITELIB}/yapf/yapflib/split_penalty.pyc
-${PYSITELIB}/yapf/yapflib/split_penalty.pyo
 ${PYSITELIB}/yapf/yapflib/style.py
 ${PYSITELIB}/yapf/yapflib/style.pyc
-${PYSITELIB}/yapf/yapflib/style.pyo
 ${PYSITELIB}/yapf/yapflib/subtypes.py
 ${PYSITELIB}/yapf/yapflib/subtypes.pyc
-${PYSITELIB}/yapf/yapflib/subtypes.pyo
-${PYSITELIB}/yapf/yapflib/verifier.py
-${PYSITELIB}/yapf/yapflib/verifier.pyc
-${PYSITELIB}/yapf/yapflib/verifier.pyo
 ${PYSITELIB}/yapf/yapflib/yapf_api.py
 ${PYSITELIB}/yapf/yapflib/yapf_api.pyc
-${PYSITELIB}/yapf/yapflib/yapf_api.pyo
 ${PYSITELIB}/yapf_third_party/__init__.py
 ${PYSITELIB}/yapf_third_party/__init__.pyc
-${PYSITELIB}/yapf_third_party/__init__.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/Grammar.txt
 ${PYSITELIB}/yapf_third_party/_ylib2to3/LICENSE
 ${PYSITELIB}/yapf_third_party/_ylib2to3/PatternGrammar.txt
 ${PYSITELIB}/yapf_third_party/_ylib2to3/__init__.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/__init__.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/__init__.pyo
+${PYSITELIB}/yapf_third_party/_ylib2to3/fixer_base.py
+${PYSITELIB}/yapf_third_party/_ylib2to3/fixer_base.pyc
 ${PYSITELIB}/yapf_third_party/_ylib2to3/fixer_util.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/fixer_util.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/fixer_util.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/patcomp.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/patcomp.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/patcomp.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/__init__.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/__init__.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/__init__.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/conv.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/conv.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/conv.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/driver.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/driver.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/driver.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/grammar.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/grammar.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/grammar.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/literals.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/literals.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/literals.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/parse.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/parse.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/parse.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/pgen.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/pgen.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/pgen.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/token.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/token.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/token.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/tokenize.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/tokenize.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/pgen2/tokenize.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pygram.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pygram.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/pygram.pyo
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pytree.py
 ${PYSITELIB}/yapf_third_party/_ylib2to3/pytree.pyc
-${PYSITELIB}/yapf_third_party/_ylib2to3/pytree.pyo
 ${PYSITELIB}/yapf_third_party/yapf_diff/LICENSE
 ${PYSITELIB}/yapf_third_party/yapf_diff/__init__.py
 ${PYSITELIB}/yapf_third_party/yapf_diff/__init__.pyc
-${PYSITELIB}/yapf_third_party/yapf_diff/__init__.pyo
 ${PYSITELIB}/yapf_third_party/yapf_diff/yapf_diff.py
 ${PYSITELIB}/yapf_third_party/yapf_diff/yapf_diff.pyc
-${PYSITELIB}/yapf_third_party/yapf_diff/yapf_diff.pyo
 ${PYSITELIB}/yapftests/__init__.py
 ${PYSITELIB}/yapftests/__init__.pyc
-${PYSITELIB}/yapftests/__init__.pyo
 ${PYSITELIB}/yapftests/blank_line_calculator_test.py
 ${PYSITELIB}/yapftests/blank_line_calculator_test.pyc
-${PYSITELIB}/yapftests/blank_line_calculator_test.pyo
 ${PYSITELIB}/yapftests/comment_splicer_test.py
 ${PYSITELIB}/yapftests/comment_splicer_test.pyc
-${PYSITELIB}/yapftests/comment_splicer_test.pyo
 ${PYSITELIB}/yapftests/file_resources_test.py
 ${PYSITELIB}/yapftests/file_resources_test.pyc
-${PYSITELIB}/yapftests/file_resources_test.pyo
 ${PYSITELIB}/yapftests/format_decision_state_test.py
 ${PYSITELIB}/yapftests/format_decision_state_test.pyc
-${PYSITELIB}/yapftests/format_decision_state_test.pyo
 ${PYSITELIB}/yapftests/format_token_test.py
 ${PYSITELIB}/yapftests/format_token_test.pyc
-${PYSITELIB}/yapftests/format_token_test.pyo
 ${PYSITELIB}/yapftests/line_joiner_test.py
 ${PYSITELIB}/yapftests/line_joiner_test.pyc
-${PYSITELIB}/yapftests/line_joiner_test.pyo
 ${PYSITELIB}/yapftests/logical_line_test.py
 ${PYSITELIB}/yapftests/logical_line_test.pyc
-${PYSITELIB}/yapftests/logical_line_test.pyo
 ${PYSITELIB}/yapftests/main_test.py
 ${PYSITELIB}/yapftests/main_test.pyc
-${PYSITELIB}/yapftests/main_test.pyo
 ${PYSITELIB}/yapftests/pytree_unwrapper_test.py
 ${PYSITELIB}/yapftests/pytree_unwrapper_test.pyc
-${PYSITELIB}/yapftests/pytree_unwrapper_test.pyo
 ${PYSITELIB}/yapftests/pytree_utils_test.py
 ${PYSITELIB}/yapftests/pytree_utils_test.pyc
-${PYSITELIB}/yapftests/pytree_utils_test.pyo
 ${PYSITELIB}/yapftests/pytree_visitor_test.py
 ${PYSITELIB}/yapftests/pytree_visitor_test.pyc
-${PYSITELIB}/yapftests/pytree_visitor_test.pyo
 ${PYSITELIB}/yapftests/reformatter_basic_test.py
 ${PYSITELIB}/yapftests/reformatter_basic_test.pyc
-${PYSITELIB}/yapftests/reformatter_basic_test.pyo
 ${PYSITELIB}/yapftests/reformatter_buganizer_test.py
 ${PYSITELIB}/yapftests/reformatter_buganizer_test.pyc
-${PYSITELIB}/yapftests/reformatter_buganizer_test.pyo
 ${PYSITELIB}/yapftests/reformatter_facebook_test.py
 ${PYSITELIB}/yapftests/reformatter_facebook_test.pyc
-${PYSITELIB}/yapftests/reformatter_facebook_test.pyo
 ${PYSITELIB}/yapftests/reformatter_pep8_test.py
 ${PYSITELIB}/yapftests/reformatter_pep8_test.pyc
-${PYSITELIB}/yapftests/reformatter_pep8_test.pyo
 ${PYSITELIB}/yapftests/reformatter_python3_test.py
 ${PYSITELIB}/yapftests/reformatter_python3_test.pyc
-${PYSITELIB}/yapftests/reformatter_python3_test.pyo
 ${PYSITELIB}/yapftests/reformatter_style_config_test.py
 ${PYSITELIB}/yapftests/reformatter_style_config_test.pyc
-${PYSITELIB}/yapftests/reformatter_style_config_test.pyo
 ${PYSITELIB}/yapftests/split_penalty_test.py
 ${PYSITELIB}/yapftests/split_penalty_test.pyc
-${PYSITELIB}/yapftests/split_penalty_test.pyo
 ${PYSITELIB}/yapftests/style_test.py
 ${PYSITELIB}/yapftests/style_test.pyc
-${PYSITELIB}/yapftests/style_test.pyo
 ${PYSITELIB}/yapftests/subtype_assigner_test.py
 ${PYSITELIB}/yapftests/subtype_assigner_test.pyc
-${PYSITELIB}/yapftests/subtype_assigner_test.pyo
 ${PYSITELIB}/yapftests/utils.py
 ${PYSITELIB}/yapftests/utils.pyc
-${PYSITELIB}/yapftests/utils.pyo
 ${PYSITELIB}/yapftests/yapf_test.py
 ${PYSITELIB}/yapftests/yapf_test.pyc
-${PYSITELIB}/yapftests/yapf_test.pyo
 ${PYSITELIB}/yapftests/yapf_test_helper.py
 ${PYSITELIB}/yapftests/yapf_test_helper.pyc
-${PYSITELIB}/yapftests/yapf_test_helper.pyo
Index: pkgsrc/devel/py-yapf/distinfo
diff -u pkgsrc/devel/py-yapf/distinfo:1.7 pkgsrc/devel/py-yapf/distinfo:1.8
--- pkgsrc/devel/py-yapf/distinfo:1.7   Mon Jun 26 15:27:14 2023
+++ pkgsrc/devel/py-yapf/distinfo       Wed Sep 27 09:40:15 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2023/06/26 15:27:14 adam Exp $
+$NetBSD: distinfo,v 1.8 2023/09/27 09:40:15 adam Exp $
 
-BLAKE2s (yapf-0.40.1.tar.gz) = 4d3912056d67f5277dea00efbaad7b3acb8b7cda7516396b605719a6f53eac8a
-SHA512 (yapf-0.40.1.tar.gz) = 89e217683ca42b6a3f5b5117de68ba5c0c93d3c77b9a571c6826f9c057d208f35a52c4e9dbc50e3626d659f5f23742f08de5f95fba2e100d49131683b7fafaf7
-Size (yapf-0.40.1.tar.gz) = 247509 bytes
+BLAKE2s (yapf-0.40.2.tar.gz) = 8618822a7a01588eff4d37c709f0f0d04d462ead861d8c959045304e45f47c7e
+SHA512 (yapf-0.40.2.tar.gz) = a4c02e76ad9e4a2749daba4c1ecbf6e34d63a7414ec09d88cecc0caaa204fd0a561f27078940c020925f8c283aa2406efba93c835c8241bd4feaa4d9b4352889
+Size (yapf-0.40.2.tar.gz) = 252068 bytes



Home | Main Index | Thread Index | Old Index