pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/py-libcst



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May 30 09:28:00 UTC 2023

Modified Files:
        pkgsrc/lang/py-libcst: Makefile PLIST cargo-depends.mk distinfo

Log Message:
py-libcst: updated to 1.0.0

v1.0.0

The first major release of LibCST is essentially the same as 0.4.10, but using the
newer, Rust-based parser implementation by default. The old, pure Python parser is
scheduled for removal in the next (non-patch) release. Until then, it is available with
the LIBCST_PARSER_TYPE environment variable set to pure.

Updated

Switch the default parser implementation to native

v0.4.10

Added

Add py3.11 classifier
Script to regenerate test fixtures, upgrade to Pyre 0.9.10
Allow FullyQualifiedNameProvider to work with absolute paths
Allow running codemods without configuring in YAML
Support PEP 604 in ApplyTypeAnnotationsVisitor

Fixed

fix PEP 604 union annotations in decorators
[AddImportsVisitor] Docstring Check Only for the Top Element of the Body
Fix 855 - fail to parse with statement
Add setuptools-rust to build requirements in setup.py
Relative imports from '' package are not allowed
Use subprocess.DEVNULL instead of opening os.devnull by hand
Ensure current Python interpreter is used for subprocesses
Fix ApplyTypeAnnotationsVisitor behavior on attribute assignments.
Fix spelling and grammar in some comments
skip escaped backslash in rf-string
relax validation rules on decorators


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/py-libcst/Makefile \
    pkgsrc/lang/py-libcst/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/py-libcst/PLIST \
    pkgsrc/lang/py-libcst/cargo-depends.mk

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

Modified files:

Index: pkgsrc/lang/py-libcst/Makefile
diff -u pkgsrc/lang/py-libcst/Makefile:1.5 pkgsrc/lang/py-libcst/Makefile:1.6
--- pkgsrc/lang/py-libcst/Makefile:1.5  Fri Nov 11 11:26:10 2022
+++ pkgsrc/lang/py-libcst/Makefile      Tue May 30 09:28:00 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2022/11/11 11:26:10 adam Exp $
+# $NetBSD: Makefile,v 1.6 2023/05/30 09:28:00 adam Exp $
 
-DISTNAME=      libcst-0.4.9
+DISTNAME=      libcst-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    lang python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/libcst/}
Index: pkgsrc/lang/py-libcst/distinfo
diff -u pkgsrc/lang/py-libcst/distinfo:1.5 pkgsrc/lang/py-libcst/distinfo:1.6
--- pkgsrc/lang/py-libcst/distinfo:1.5  Fri Nov 11 11:26:10 2022
+++ pkgsrc/lang/py-libcst/distinfo      Tue May 30 09:28:00 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2022/11/11 11:26:10 adam Exp $
+$NetBSD: distinfo,v 1.6 2023/05/30 09:28:00 adam Exp $
 
 BLAKE2s (aho-corasick-0.7.18.crate) = 8925e88e2df4b5ca3b31783f527e1bb31dbe27846f409f631148fa239f3b2935
 SHA512 (aho-corasick-0.7.18.crate) = 7a23b16231a90d23ee60ad4c81bc225410599a4560d33d3a203138fc540c39cf1000100fed3aed40dcc371c3635656a3792545dca5dd1aefbde00d8774eebd00
@@ -21,9 +21,9 @@ Size (bitflags-1.3.2.crate) = 23021 byte
 BLAKE2s (bstr-0.2.17.crate) = a970078acf6f8b1a2a6be249cda3a6cc7225239af2aa21cbac2b60fbaab453fd
 SHA512 (bstr-0.2.17.crate) = 883eac8210d14f89517b4dd5e25d02c97cf31602ec74498b5e186112ba0f154d47de8d1c41a8f4e5503f3b53c064e2c976b60bbfd63fc28b186bc006e00f20c2
 Size (bstr-0.2.17.crate) = 330350 bytes
-BLAKE2s (bumpalo-3.10.0.crate) = 7caf7cb1f51b27ce41cf17d30dd476260edc12c930b2af0d9c140555052ae42f
-SHA512 (bumpalo-3.10.0.crate) = 60c686534588524250ea7cb43510dba69d24999769b719127ee07f6015530ac2c5778d9b93477ab075bfc15c13e3ef9adc29ac24059067ac32e109347cd509f8
-Size (bumpalo-3.10.0.crate) = 78915 bytes
+BLAKE2s (bumpalo-3.12.0.crate) = bfc6e2e7c9f508181fdf1dd23725ddd106cf17f013f3f138bfc95ccb2f7c08f9
+SHA512 (bumpalo-3.12.0.crate) = 37f2228f251340e82c27f2b34da2af6eb520077b3809331547cbe4887c0b4791b1a7d75a017decccef162cd02a088d504214b7a44b484a7d93eb6a278b329ee4
+Size (bumpalo-3.12.0.crate) = 81604 bytes
 BLAKE2s (cast-0.2.7.crate) = 015b249581877a12fb406b19f7e5363e4f091e920b582b4d2e9a5daa480733f3
 SHA512 (cast-0.2.7.crate) = 24d204acf21366e088f721714c48bb6431895882263ef3a08f6644abbca5c06f430729fa8bbb4c9f37c95a6baa1b824d3fad95c5f0889e92587490d51bebb4d6
 Size (cast-0.2.7.crate) = 11222 bytes
@@ -132,9 +132,9 @@ Size (lazy_static-1.4.0.crate) = 10443 b
 BLAKE2s (libc-0.2.126.crate) = e5ad668716e21545426b33f2344c5b94e6b6832ee47688a376e19f32d7568672
 SHA512 (libc-0.2.126.crate) = 9bbb17f64a7503819616a71076ebe8ee317daf07b17b9fff783a4459da0439aecee535c09e7185bf148b1993e6fc958d182a490fc9c9a7b9fb635429c491ca44
 Size (libc-0.2.126.crate) = 590481 bytes
-BLAKE2s (libcst-0.4.9.tar.gz) = d3116b00cc16540cd17130efef4a13a897b063d4146231a679c7f4e3d26eb5ef
-SHA512 (libcst-0.4.9.tar.gz) = f4f6b89ae06b319d8a7ce29e3a2446318b587684adcc80fae32fd4cf4cb3744ef20e11543d38b27622b4b748df1ca4f829d23cf0327f0f4639c93a4fc118c4df
-Size (libcst-0.4.9.tar.gz) = 742071 bytes
+BLAKE2s (libcst-1.0.0.tar.gz) = 2da2ab39d39a517be754fbf11f6621901a390835629e7c83a9eb3a41b10e9dbd
+SHA512 (libcst-1.0.0.tar.gz) = 250f8e6fd58689119f58851ca37958bc3ee03088c1e987fd2e5117d6e767b2f8569fcc29962fa81d7bf1e775f8b16da64ff44fb73508684c97953e6fe19f712e
+Size (libcst-1.0.0.tar.gz) = 747838 bytes
 BLAKE2s (lock_api-0.4.7.crate) = 5a9edfbf4f9a1dead442261c649f91d375519ad8d675d14f5da83be5e3827b6e
 SHA512 (lock_api-0.4.7.crate) = b1a5227fd131edaa70e017f7ddb43af8b4efa58488007b898ca1dfc818a3a441b732b7adbf1270e72a68ee5d2a99a5d48f33b2bca8e2cf78694953d20d27636d
 Size (lock_api-0.4.7.crate) = 25371 bytes

Index: pkgsrc/lang/py-libcst/PLIST
diff -u pkgsrc/lang/py-libcst/PLIST:1.4 pkgsrc/lang/py-libcst/PLIST:1.5
--- pkgsrc/lang/py-libcst/PLIST:1.4     Fri Nov 11 11:26:10 2022
+++ pkgsrc/lang/py-libcst/PLIST Tue May 30 09:28:00 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2022/11/11 11:26:10 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2023/05/30 09:28:00 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -224,6 +224,7 @@ ${PYSITELIB}/libcst/_parser/__init__.pyo
 ${PYSITELIB}/libcst/_parser/base_parser.py
 ${PYSITELIB}/libcst/_parser/base_parser.pyc
 ${PYSITELIB}/libcst/_parser/base_parser.pyo
+${PYSITELIB}/libcst/_parser/conversions/README.md
 ${PYSITELIB}/libcst/_parser/conversions/__init__.py
 ${PYSITELIB}/libcst/_parser/conversions/__init__.pyc
 ${PYSITELIB}/libcst/_parser/conversions/__init__.pyo
@@ -636,6 +637,9 @@ ${PYSITELIB}/libcst/helpers/expression.p
 ${PYSITELIB}/libcst/helpers/module.py
 ${PYSITELIB}/libcst/helpers/module.pyc
 ${PYSITELIB}/libcst/helpers/module.pyo
+${PYSITELIB}/libcst/helpers/paths.py
+${PYSITELIB}/libcst/helpers/paths.pyc
+${PYSITELIB}/libcst/helpers/paths.pyo
 ${PYSITELIB}/libcst/helpers/tests/__init__.py
 ${PYSITELIB}/libcst/helpers/tests/__init__.pyc
 ${PYSITELIB}/libcst/helpers/tests/__init__.pyo
@@ -645,6 +649,9 @@ ${PYSITELIB}/libcst/helpers/tests/test_e
 ${PYSITELIB}/libcst/helpers/tests/test_module.py
 ${PYSITELIB}/libcst/helpers/tests/test_module.pyc
 ${PYSITELIB}/libcst/helpers/tests/test_module.pyo
+${PYSITELIB}/libcst/helpers/tests/test_paths.py
+${PYSITELIB}/libcst/helpers/tests/test_paths.pyc
+${PYSITELIB}/libcst/helpers/tests/test_paths.pyo
 ${PYSITELIB}/libcst/helpers/tests/test_template.py
 ${PYSITELIB}/libcst/helpers/tests/test_template.pyc
 ${PYSITELIB}/libcst/helpers/tests/test_template.pyo
@@ -699,6 +706,9 @@ ${PYSITELIB}/libcst/metadata/base_provid
 ${PYSITELIB}/libcst/metadata/expression_context_provider.py
 ${PYSITELIB}/libcst/metadata/expression_context_provider.pyc
 ${PYSITELIB}/libcst/metadata/expression_context_provider.pyo
+${PYSITELIB}/libcst/metadata/file_path_provider.py
+${PYSITELIB}/libcst/metadata/file_path_provider.pyc
+${PYSITELIB}/libcst/metadata/file_path_provider.pyo
 ${PYSITELIB}/libcst/metadata/full_repo_manager.py
 ${PYSITELIB}/libcst/metadata/full_repo_manager.pyc
 ${PYSITELIB}/libcst/metadata/full_repo_manager.pyo
@@ -732,6 +742,9 @@ ${PYSITELIB}/libcst/metadata/tests/test_
 ${PYSITELIB}/libcst/metadata/tests/test_expression_context_provider.py
 ${PYSITELIB}/libcst/metadata/tests/test_expression_context_provider.pyc
 ${PYSITELIB}/libcst/metadata/tests/test_expression_context_provider.pyo
+${PYSITELIB}/libcst/metadata/tests/test_file_path_provider.py
+${PYSITELIB}/libcst/metadata/tests/test_file_path_provider.pyc
+${PYSITELIB}/libcst/metadata/tests/test_file_path_provider.pyo
 ${PYSITELIB}/libcst/metadata/tests/test_full_repo_manager.py
 ${PYSITELIB}/libcst/metadata/tests/test_full_repo_manager.pyc
 ${PYSITELIB}/libcst/metadata/tests/test_full_repo_manager.pyo
@@ -779,6 +792,14 @@ ${PYSITELIB}/libcst/testing/utils.pyo
 ${PYSITELIB}/libcst/tests/__init__.py
 ${PYSITELIB}/libcst/tests/__init__.pyc
 ${PYSITELIB}/libcst/tests/__init__.pyo
+${PYSITELIB}/libcst/tests/__main__.py
+${PYSITELIB}/libcst/tests/__main__.pyc
+${PYSITELIB}/libcst/tests/__main__.pyo
+${PYSITELIB}/libcst/tests/pyre/.pyre_configuration
+${PYSITELIB}/libcst/tests/pyre/simple_class.json
+${PYSITELIB}/libcst/tests/pyre/simple_class.py
+${PYSITELIB}/libcst/tests/pyre/simple_class.pyc
+${PYSITELIB}/libcst/tests/pyre/simple_class.pyo
 ${PYSITELIB}/libcst/tests/test_add_slots.py
 ${PYSITELIB}/libcst/tests/test_add_slots.pyc
 ${PYSITELIB}/libcst/tests/test_add_slots.pyo
Index: pkgsrc/lang/py-libcst/cargo-depends.mk
diff -u pkgsrc/lang/py-libcst/cargo-depends.mk:1.4 pkgsrc/lang/py-libcst/cargo-depends.mk:1.5
--- pkgsrc/lang/py-libcst/cargo-depends.mk:1.4  Fri Nov 11 11:26:10 2022
+++ pkgsrc/lang/py-libcst/cargo-depends.mk      Tue May 30 09:28:00 2023
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.4 2022/11/11 11:26:10 adam Exp $
+# $NetBSD: cargo-depends.mk,v 1.5 2023/05/30 09:28:00 adam Exp $
 
 CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.18
 CARGO_CRATE_DEPENDS+=  anes-0.1.6
@@ -7,7 +7,7 @@ CARGO_CRATE_DEPENDS+=   atty-0.2.14
 CARGO_CRATE_DEPENDS+=  autocfg-1.1.0
 CARGO_CRATE_DEPENDS+=  bitflags-1.3.2
 CARGO_CRATE_DEPENDS+=  bstr-0.2.17
-CARGO_CRATE_DEPENDS+=  bumpalo-3.10.0
+CARGO_CRATE_DEPENDS+=  bumpalo-3.12.0
 CARGO_CRATE_DEPENDS+=  cast-0.2.7
 CARGO_CRATE_DEPENDS+=  cast-0.3.0
 CARGO_CRATE_DEPENDS+=  cfg-if-1.0.0



Home | Main Index | Thread Index | Old Index