git: 093f494e9e48 - main - devel/py-libcst: Update to 1.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:12:18 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=093f494e9e48bef2335b55b8a4ebeac61ae5cb5f

commit 093f494e9e48bef2335b55b8a4ebeac61ae5cb5f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:47:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:05:51 +0000

    devel/py-libcst: Update to 1.2.0
    
    Changes:        https://github.com/Instagram/LibCST/releases
---
 devel/py-libcst/Makefile        |  7 ++---
 devel/py-libcst/Makefile.crates | 29 ++++++++++---------
 devel/py-libcst/distinfo        | 64 ++++++++++++++++++++++-------------------
 3 files changed, 54 insertions(+), 46 deletions(-)

diff --git a/devel/py-libcst/Makefile b/devel/py-libcst/Makefile
index 17ad020fe292..54b0f47d70d1 100644
--- a/devel/py-libcst/Makefile
+++ b/devel/py-libcst/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libcst
-PORTVERSION=	1.1.0
-PORTREVISION=	4
+PORTVERSION=	1.2.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -21,14 +20,14 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>=5.2:devel/py-yaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.2:devel/py-typing-extensions@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-inspect>=0.4.0:devel/py-typing-inspect@${PY_FLAVOR}
 
-USES=		cargo dos2unix python
+USES=		cargo dos2unix python:3.9+
 USE_PYTHON=	autoplist concurrent pep517
 
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 CARGO_BUILD=	no
-CARGO_INSTALL=	no
 CARGO_CARGOLOCK=${WRKSRC}/native/Cargo.lock
 CARGO_CARGOTOML=${WRKSRC}/native/Cargo.toml
+CARGO_INSTALL=	no
 
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}libcst03
 
diff --git a/devel/py-libcst/Makefile.crates b/devel/py-libcst/Makefile.crates
index e7234c971d42..93230bb196a0 100644
--- a/devel/py-libcst/Makefile.crates
+++ b/devel/py-libcst/Makefile.crates
@@ -28,9 +28,10 @@ CARGO_CRATES=	aho-corasick-1.0.4 \
 		errno-dragonfly-0.1.2 \
 		glob-0.3.0 \
 		half-1.8.2 \
+		heck-0.4.1 \
 		hermit-abi-0.1.19 \
 		hermit-abi-0.3.2 \
-		indoc-1.0.6 \
+		indoc-2.0.4 \
 		instant-0.1.12 \
 		is-terminal-0.4.9 \
 		itertools-0.10.5 \
@@ -38,12 +39,13 @@ CARGO_CRATES=	aho-corasick-1.0.4 \
 		itoa-1.0.2 \
 		js-sys-0.3.58 \
 		lazy_static-1.4.0 \
-		libc-0.2.147 \
-		linux-raw-sys-0.4.5 \
+		libc-0.2.149 \
+		linux-raw-sys-0.4.10 \
 		lock_api-0.4.7 \
 		log-0.4.17 \
 		memchr-2.5.0 \
 		memoffset-0.6.5 \
+		memoffset-0.9.0 \
 		num-traits-0.2.15 \
 		num_cpus-1.13.1 \
 		once_cell-1.16.0 \
@@ -57,20 +59,20 @@ CARGO_CRATES=	aho-corasick-1.0.4 \
 		plotters-0.3.1 \
 		plotters-backend-0.3.2 \
 		plotters-svg-0.3.1 \
-		proc-macro2-1.0.46 \
-		pyo3-0.17.3 \
-		pyo3-build-config-0.17.3 \
-		pyo3-ffi-0.17.3 \
-		pyo3-macros-0.17.3 \
-		pyo3-macros-backend-0.17.3 \
-		quote-1.0.21 \
+		proc-macro2-1.0.70 \
+		pyo3-0.20.2 \
+		pyo3-build-config-0.20.2 \
+		pyo3-ffi-0.20.2 \
+		pyo3-macros-0.20.2 \
+		pyo3-macros-backend-0.20.2 \
+		quote-1.0.33 \
 		rayon-1.7.0 \
 		rayon-core-1.11.0 \
 		redox_syscall-0.2.13 \
 		regex-1.9.3 \
 		regex-automata-0.3.6 \
 		regex-syntax-0.7.4 \
-		rustix-0.38.9 \
+		rustix-0.38.19 \
 		ryu-1.0.10 \
 		same-file-1.0.6 \
 		scopeguard-1.1.0 \
@@ -78,7 +80,8 @@ CARGO_CRATES=	aho-corasick-1.0.4 \
 		serde_derive-1.0.145 \
 		serde_json-1.0.81 \
 		smallvec-1.8.1 \
-		syn-1.0.103 \
+		syn-1.0.109 \
+		syn-2.0.41 \
 		target-lexicon-0.12.4 \
 		termcolor-1.1.3 \
 		thiserror-1.0.37 \
@@ -87,7 +90,7 @@ CARGO_CRATES=	aho-corasick-1.0.4 \
 		toml-0.5.9 \
 		trybuild-1.0.71 \
 		unicode-ident-1.0.1 \
-		unindent-0.1.9 \
+		unindent-0.2.3 \
 		walkdir-2.3.2 \
 		wasm-bindgen-0.2.81 \
 		wasm-bindgen-backend-0.2.81 \
diff --git a/devel/py-libcst/distinfo b/devel/py-libcst/distinfo
index 49532fe8ae6e..b0cd617d60a5 100644
--- a/devel/py-libcst/distinfo
+++ b/devel/py-libcst/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1696753654
-SHA256 (libcst-1.1.0.tar.gz) = 0acbacb9a170455701845b7e940e2d7b9519db35a86768d86330a0b0deae1086
-SIZE (libcst-1.1.0.tar.gz) = 764691
+TIMESTAMP = 1709390556
+SHA256 (libcst-1.2.0.tar.gz) = 71dd69fff76e7edaf8fae0f63ffcdbf5016e8cd83165b1d0688d6856aa48186a
+SIZE (libcst-1.2.0.tar.gz) = 765209
 SHA256 (rust/crates/aho-corasick-1.0.4.crate) = 6748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a
 SIZE (rust/crates/aho-corasick-1.0.4.crate) = 171175
 SHA256 (rust/crates/anes-0.1.6.crate) = 4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299
@@ -61,12 +61,14 @@ SHA256 (rust/crates/glob-0.3.0.crate) = 9b919933a397b79c37e33b77bb2aa3dc8eb6e165
 SIZE (rust/crates/glob-0.3.0.crate) = 18724
 SHA256 (rust/crates/half-1.8.2.crate) = eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7
 SIZE (rust/crates/half-1.8.2.crate) = 41874
+SHA256 (rust/crates/heck-0.4.1.crate) = 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8
+SIZE (rust/crates/heck-0.4.1.crate) = 11567
 SHA256 (rust/crates/hermit-abi-0.1.19.crate) = 62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33
 SIZE (rust/crates/hermit-abi-0.1.19.crate) = 9979
 SHA256 (rust/crates/hermit-abi-0.3.2.crate) = 443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b
 SIZE (rust/crates/hermit-abi-0.3.2.crate) = 13783
-SHA256 (rust/crates/indoc-1.0.6.crate) = 05a0bd019339e5d968b37855180087b7b9d512c5046fbd244cf8c95687927d6e
-SIZE (rust/crates/indoc-1.0.6.crate) = 14312
+SHA256 (rust/crates/indoc-2.0.4.crate) = 1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8
+SIZE (rust/crates/indoc-2.0.4.crate) = 14311
 SHA256 (rust/crates/instant-0.1.12.crate) = 7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c
 SIZE (rust/crates/instant-0.1.12.crate) = 6128
 SHA256 (rust/crates/is-terminal-0.4.9.crate) = cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b
@@ -81,10 +83,10 @@ SHA256 (rust/crates/js-sys-0.3.58.crate) = c3fac17f7123a73ca62df411b1bf727ccc805
 SIZE (rust/crates/js-sys-0.3.58.crate) = 78794
 SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
 SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443
-SHA256 (rust/crates/libc-0.2.147.crate) = b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3
-SIZE (rust/crates/libc-0.2.147.crate) = 686772
-SHA256 (rust/crates/linux-raw-sys-0.4.5.crate) = 57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503
-SIZE (rust/crates/linux-raw-sys-0.4.5.crate) = 1274380
+SHA256 (rust/crates/libc-0.2.149.crate) = a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b
+SIZE (rust/crates/libc-0.2.149.crate) = 715592
+SHA256 (rust/crates/linux-raw-sys-0.4.10.crate) = da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f
+SIZE (rust/crates/linux-raw-sys-0.4.10.crate) = 1407767
 SHA256 (rust/crates/lock_api-0.4.7.crate) = 327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53
 SIZE (rust/crates/lock_api-0.4.7.crate) = 25371
 SHA256 (rust/crates/log-0.4.17.crate) = abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e
@@ -93,6 +95,8 @@ SHA256 (rust/crates/memchr-2.5.0.crate) = 2dffe52ecf27772e601905b7522cb4ef790d2c
 SIZE (rust/crates/memchr-2.5.0.crate) = 65812
 SHA256 (rust/crates/memoffset-0.6.5.crate) = 5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce
 SIZE (rust/crates/memoffset-0.6.5.crate) = 7686
+SHA256 (rust/crates/memoffset-0.9.0.crate) = 5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c
+SIZE (rust/crates/memoffset-0.9.0.crate) = 9033
 SHA256 (rust/crates/num-traits-0.2.15.crate) = 578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd
 SIZE (rust/crates/num-traits-0.2.15.crate) = 49262
 SHA256 (rust/crates/num_cpus-1.13.1.crate) = 19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1
@@ -119,20 +123,20 @@ SHA256 (rust/crates/plotters-backend-0.3.2.crate) = d88417318da0eaf0fdcdb51a0ee6
 SIZE (rust/crates/plotters-backend-0.3.2.crate) = 13524
 SHA256 (rust/crates/plotters-svg-0.3.1.crate) = 521fa9638fa597e1dc53e9412a4f9cefb01187ee1f7413076f9e6749e2885ba9
 SIZE (rust/crates/plotters-svg-0.3.1.crate) = 7596
-SHA256 (rust/crates/proc-macro2-1.0.46.crate) = 94e2ef8dbfc347b10c094890f778ee2e36ca9bb4262e86dc99cd217e35f3470b
-SIZE (rust/crates/proc-macro2-1.0.46.crate) = 41954
-SHA256 (rust/crates/pyo3-0.17.3.crate) = 268be0c73583c183f2b14052337465768c07726936a260f480f0857cb95ba543
-SIZE (rust/crates/pyo3-0.17.3.crate) = 408939
-SHA256 (rust/crates/pyo3-build-config-0.17.3.crate) = 28fcd1e73f06ec85bf3280c48c67e731d8290ad3d730f8be9dc07946923005c8
-SIZE (rust/crates/pyo3-build-config-0.17.3.crate) = 29230
-SHA256 (rust/crates/pyo3-ffi-0.17.3.crate) = 0f6cb136e222e49115b3c51c32792886defbfb0adead26a688142b346a0b9ffc
-SIZE (rust/crates/pyo3-ffi-0.17.3.crate) = 62854
-SHA256 (rust/crates/pyo3-macros-0.17.3.crate) = 94144a1266e236b1c932682136dc35a9dee8d3589728f68130c7c3861ef96b28
-SIZE (rust/crates/pyo3-macros-0.17.3.crate) = 7257
-SHA256 (rust/crates/pyo3-macros-backend-0.17.3.crate) = c8df9be978a2d2f0cdebabb03206ed73b11314701a5bfe71b0d753b81997777f
-SIZE (rust/crates/pyo3-macros-backend-0.17.3.crate) = 49992
-SHA256 (rust/crates/quote-1.0.21.crate) = bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179
-SIZE (rust/crates/quote-1.0.21.crate) = 28030
+SHA256 (rust/crates/proc-macro2-1.0.70.crate) = 39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b
+SIZE (rust/crates/proc-macro2-1.0.70.crate) = 44343
+SHA256 (rust/crates/pyo3-0.20.2.crate) = 9a89dc7a5850d0e983be1ec2a463a171d20990487c3cfcd68b5363f1ee3d6fe0
+SIZE (rust/crates/pyo3-0.20.2.crate) = 434326
+SHA256 (rust/crates/pyo3-build-config-0.20.2.crate) = 07426f0d8fe5a601f26293f300afd1a7b1ed5e78b2a705870c5f30893c5163be
+SIZE (rust/crates/pyo3-build-config-0.20.2.crate) = 30029
+SHA256 (rust/crates/pyo3-ffi-0.20.2.crate) = dbb7dec17e17766b46bca4f1a4215a85006b4c2ecde122076c562dd058da6cf1
+SIZE (rust/crates/pyo3-ffi-0.20.2.crate) = 64601
+SHA256 (rust/crates/pyo3-macros-0.20.2.crate) = 05f738b4e40d50b5711957f142878cfa0f28e054aa0ebdfc3fd137a843f74ed3
+SIZE (rust/crates/pyo3-macros-0.20.2.crate) = 7925
+SHA256 (rust/crates/pyo3-macros-backend-0.20.2.crate) = 0fc910d4851847827daf9d6cdd4a823fbdaab5b8818325c5e97a86da79e8881f
+SIZE (rust/crates/pyo3-macros-backend-0.20.2.crate) = 49710
+SHA256 (rust/crates/quote-1.0.33.crate) = 5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae
+SIZE (rust/crates/quote-1.0.33.crate) = 28090
 SHA256 (rust/crates/rayon-1.7.0.crate) = 1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b
 SIZE (rust/crates/rayon-1.7.0.crate) = 169488
 SHA256 (rust/crates/rayon-core-1.11.0.crate) = 4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d
@@ -145,8 +149,8 @@ SHA256 (rust/crates/regex-automata-0.3.6.crate) = fed1ceff11a1dddaee50c9dc8e4938
 SIZE (rust/crates/regex-automata-0.3.6.crate) = 607174
 SHA256 (rust/crates/regex-syntax-0.7.4.crate) = e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2
 SIZE (rust/crates/regex-syntax-0.7.4.crate) = 343365
-SHA256 (rust/crates/rustix-0.38.9.crate) = 9bfe0f2582b4931a45d1fa608f8a8722e8b3c7ac54dd6d5f3b3212791fedef49
-SIZE (rust/crates/rustix-0.38.9.crate) = 340102
+SHA256 (rust/crates/rustix-0.38.19.crate) = 745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed
+SIZE (rust/crates/rustix-0.38.19.crate) = 357358
 SHA256 (rust/crates/ryu-1.0.10.crate) = f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695
 SIZE (rust/crates/ryu-1.0.10.crate) = 48485
 SHA256 (rust/crates/same-file-1.0.6.crate) = 93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502
@@ -161,8 +165,10 @@ SHA256 (rust/crates/serde_json-1.0.81.crate) = 9b7ce2b32a1aed03c558dc61a5cd328f1
 SIZE (rust/crates/serde_json-1.0.81.crate) = 144480
 SHA256 (rust/crates/smallvec-1.8.1.crate) = cc88c725d61fc6c3132893370cac4a0200e3fedf5da8331c570664b1987f5ca2
 SIZE (rust/crates/smallvec-1.8.1.crate) = 28295
-SHA256 (rust/crates/syn-1.0.103.crate) = a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d
-SIZE (rust/crates/syn-1.0.103.crate) = 236495
+SHA256 (rust/crates/syn-1.0.109.crate) = 72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237
+SIZE (rust/crates/syn-1.0.109.crate) = 237611
+SHA256 (rust/crates/syn-2.0.41.crate) = 44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269
+SIZE (rust/crates/syn-2.0.41.crate) = 246016
 SHA256 (rust/crates/target-lexicon-0.12.4.crate) = c02424087780c9b71cc96799eaeddff35af2bc513278cda5c99fc1f5d026d3c1
 SIZE (rust/crates/target-lexicon-0.12.4.crate) = 23020
 SHA256 (rust/crates/termcolor-1.1.3.crate) = bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755
@@ -179,8 +185,8 @@ SHA256 (rust/crates/trybuild-1.0.71.crate) = ea496675d71016e9bc76aa42d87f16aefd9
 SIZE (rust/crates/trybuild-1.0.71.crate) = 38006
 SHA256 (rust/crates/unicode-ident-1.0.1.crate) = 5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c
 SIZE (rust/crates/unicode-ident-1.0.1.crate) = 33770
-SHA256 (rust/crates/unindent-0.1.9.crate) = 52fee519a3e570f7df377a06a1a7775cdbfb7aa460be7e08de2b1f0e69973a44
-SIZE (rust/crates/unindent-0.1.9.crate) = 8392
+SHA256 (rust/crates/unindent-0.2.3.crate) = c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce
+SIZE (rust/crates/unindent-0.2.3.crate) = 7306
 SHA256 (rust/crates/walkdir-2.3.2.crate) = 808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56
 SIZE (rust/crates/walkdir-2.3.2.crate) = 23516
 SHA256 (rust/crates/wasm-bindgen-0.2.81.crate) = 7c53b543413a17a202f4be280a7e5c62a1c69345f5de525ee64f8cfdbc954994