git: 4a760c69a4f0 - main - devel/py-libcst: Update to 1.8.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Jun 2025 16:26:30 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4a760c69a4f0f9ff5fbf3a353aa91de566604150
commit 4a760c69a4f0f9ff5fbf3a353aa91de566604150
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-01 16:12:37 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-01 16:23:23 +0000
devel/py-libcst: Update to 1.8.0
Changes: https://github.com/Instagram/LibCST/releases
---
devel/py-libcst/Makefile | 14 +++++---
devel/py-libcst/Makefile.crates | 37 +++++++++----------
devel/py-libcst/distinfo | 80 +++++++++++++++++++++--------------------
3 files changed, 70 insertions(+), 61 deletions(-)
diff --git a/devel/py-libcst/Makefile b/devel/py-libcst/Makefile
index af0408739952..d4e4944e56ed 100644
--- a/devel/py-libcst/Makefile
+++ b/devel/py-libcst/Makefile
@@ -1,6 +1,5 @@
PORTNAME= libcst
-PORTVERSION= 1.7.0
-PORTREVISION= 1
+PORTVERSION= 1.8.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +16,6 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
${PYTHON_PKGNAMEPREFIX}setuptools-rust>=0:devel/py-setuptools-rust@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.2:devel/py-pyyaml@${PY_FLAVOR}
USES= cargo dos2unix python:3.9+
USE_PYTHON= autoplist concurrent pep517
@@ -30,4 +28,12 @@ CARGO_INSTALL= no
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}libcst03
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31300
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.2:devel/py-pyyaml@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyyaml-ft>=0:devel/py-pyyaml-ft@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-libcst/Makefile.crates b/devel/py-libcst/Makefile.crates
index df561f95ea52..86ff4fa0c2c4 100644
--- a/devel/py-libcst/Makefile.crates
+++ b/devel/py-libcst/Makefile.crates
@@ -47,25 +47,25 @@ CARGO_CRATES= aho-corasick-1.0.4 \
once_cell-1.16.0 \
oorandom-11.1.3 \
paste-1.0.15 \
- peg-0.8.4 \
- peg-macros-0.8.4 \
- peg-runtime-0.8.3 \
+ peg-0.8.5 \
+ peg-macros-0.8.5 \
+ peg-runtime-0.8.5 \
plotters-0.3.1 \
plotters-backend-0.3.2 \
plotters-svg-0.3.1 \
portable-atomic-1.4.3 \
- proc-macro2-1.0.86 \
- pyo3-0.23.5 \
- pyo3-build-config-0.23.5 \
- pyo3-ffi-0.23.5 \
- pyo3-macros-0.23.5 \
- pyo3-macros-backend-0.23.5 \
- quote-1.0.37 \
+ proc-macro2-1.0.95 \
+ pyo3-0.25.0 \
+ pyo3-build-config-0.25.0 \
+ pyo3-ffi-0.25.0 \
+ pyo3-macros-0.25.0 \
+ pyo3-macros-backend-0.25.0 \
+ quote-1.0.40 \
rayon-1.10.0 \
rayon-core-1.12.1 \
- regex-1.10.6 \
- regex-automata-0.4.7 \
- regex-syntax-0.8.4 \
+ regex-1.11.1 \
+ regex-automata-0.4.9 \
+ regex-syntax-0.8.5 \
rustix-0.38.19 \
ryu-1.0.10 \
same-file-1.0.6 \
@@ -75,16 +75,17 @@ CARGO_CRATES= aho-corasick-1.0.4 \
serde_json-1.0.125 \
serde_spanned-0.6.7 \
syn-1.0.109 \
- syn-2.0.75 \
- target-lexicon-0.12.15 \
+ syn-2.0.101 \
+ target-lexicon-0.13.2 \
+ target-triple-0.1.4 \
termcolor-1.1.3 \
- thiserror-1.0.63 \
- thiserror-impl-1.0.63 \
+ thiserror-2.0.12 \
+ thiserror-impl-2.0.12 \
tinytemplate-1.2.1 \
toml-0.8.19 \
toml_datetime-0.6.8 \
toml_edit-0.22.20 \
- trybuild-1.0.99 \
+ trybuild-1.0.105 \
unicode-ident-1.0.1 \
unicode-width-0.2.0 \
unindent-0.2.3 \
diff --git a/devel/py-libcst/distinfo b/devel/py-libcst/distinfo
index 83c33cf853b5..a948cfb05904 100644
--- a/devel/py-libcst/distinfo
+++ b/devel/py-libcst/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1742070364
-SHA256 (libcst-1.7.0.tar.gz) = a63f44ffa81292f183656234c7f2848653ff45c17d867db83c9335119e28aafa
-SIZE (libcst-1.7.0.tar.gz) = 776707
+TIMESTAMP = 1748495775
+SHA256 (libcst-1.8.0.tar.gz) = 21cd41dd9bc7ee16f81a6ecf9dc6c044cdaf6af670b85b4754204a5a0c9890d8
+SIZE (libcst-1.8.0.tar.gz) = 778687
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
@@ -99,12 +99,12 @@ SHA256 (rust/crates/oorandom-11.1.3.crate) = 0ab1bc2a289d34bd04a330323ac98a1b4bc
SIZE (rust/crates/oorandom-11.1.3.crate) = 10068
SHA256 (rust/crates/paste-1.0.15.crate) = 57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a
SIZE (rust/crates/paste-1.0.15.crate) = 18374
-SHA256 (rust/crates/peg-0.8.4.crate) = 295283b02df346d1ef66052a757869b2876ac29a6bb0ac3f5f7cd44aebe40e8f
-SIZE (rust/crates/peg-0.8.4.crate) = 19291
-SHA256 (rust/crates/peg-macros-0.8.4.crate) = bdad6a1d9cf116a059582ce415d5f5566aabcd4008646779dab7fdc2a9a9d426
-SIZE (rust/crates/peg-macros-0.8.4.crate) = 29722
-SHA256 (rust/crates/peg-runtime-0.8.3.crate) = e3aeb8f54c078314c2065ee649a7241f46b9d8e418e1a9581ba0546657d7aa3a
-SIZE (rust/crates/peg-runtime-0.8.3.crate) = 4159
+SHA256 (rust/crates/peg-0.8.5.crate) = 9928cfca101b36ec5163e70049ee5368a8a1c3c6efc9ca9c5f9cc2f816152477
+SIZE (rust/crates/peg-0.8.5.crate) = 22411
+SHA256 (rust/crates/peg-macros-0.8.5.crate) = 6298ab04c202fa5b5d52ba03269fb7b74550b150323038878fe6c372d8280f71
+SIZE (rust/crates/peg-macros-0.8.5.crate) = 30601
+SHA256 (rust/crates/peg-runtime-0.8.5.crate) = 132dca9b868d927b35b5dd728167b2dee150eb1ad686008fc71ccb298b776fca
+SIZE (rust/crates/peg-runtime-0.8.5.crate) = 4458
SHA256 (rust/crates/plotters-0.3.1.crate) = 32a3fd9ec30b9749ce28cd91f255d569591cdf937fe280c312143e3c4bad6f2a
SIZE (rust/crates/plotters-0.3.1.crate) = 8595577
SHA256 (rust/crates/plotters-backend-0.3.2.crate) = d88417318da0eaf0fdcdb51a0ee6c3bed624333bff8f946733049380be67ac1c
@@ -113,30 +113,30 @@ SHA256 (rust/crates/plotters-svg-0.3.1.crate) = 521fa9638fa597e1dc53e9412a4f9cef
SIZE (rust/crates/plotters-svg-0.3.1.crate) = 7596
SHA256 (rust/crates/portable-atomic-1.4.3.crate) = 31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b
SIZE (rust/crates/portable-atomic-1.4.3.crate) = 126291
-SHA256 (rust/crates/proc-macro2-1.0.86.crate) = 5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77
-SIZE (rust/crates/proc-macro2-1.0.86.crate) = 48958
-SHA256 (rust/crates/pyo3-0.23.5.crate) = 7778bffd85cf38175ac1f545509665d0b9b92a198ca7941f131f85f7a4f9a872
-SIZE (rust/crates/pyo3-0.23.5.crate) = 1088533
-SHA256 (rust/crates/pyo3-build-config-0.23.5.crate) = 94f6cbe86ef3bf18998d9df6e0f3fc1050a8c5efa409bf712e661a4366e010fb
-SIZE (rust/crates/pyo3-build-config-0.23.5.crate) = 33885
-SHA256 (rust/crates/pyo3-ffi-0.23.5.crate) = e9f1b4c431c0bb1c8fb0a338709859eed0d030ff6daa34368d3b152a63dfdd8d
-SIZE (rust/crates/pyo3-ffi-0.23.5.crate) = 74867
-SHA256 (rust/crates/pyo3-macros-0.23.5.crate) = fbc2201328f63c4710f68abdf653c89d8dbc2858b88c5d88b0ff38a75288a9da
-SIZE (rust/crates/pyo3-macros-0.23.5.crate) = 8856
-SHA256 (rust/crates/pyo3-macros-backend-0.23.5.crate) = fca6726ad0f3da9c9de093d6f116a93c1a38e417ed73bf138472cf4064f72028
-SIZE (rust/crates/pyo3-macros-backend-0.23.5.crate) = 70938
-SHA256 (rust/crates/quote-1.0.37.crate) = b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af
-SIZE (rust/crates/quote-1.0.37.crate) = 28558
+SHA256 (rust/crates/proc-macro2-1.0.95.crate) = 02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778
+SIZE (rust/crates/proc-macro2-1.0.95.crate) = 51820
+SHA256 (rust/crates/pyo3-0.25.0.crate) = f239d656363bcee73afef85277f1b281e8ac6212a1d42aa90e55b90ed43c47a4
+SIZE (rust/crates/pyo3-0.25.0.crate) = 1120850
+SHA256 (rust/crates/pyo3-build-config-0.25.0.crate) = 755ea671a1c34044fa165247aaf6f419ca39caa6003aee791a0df2713d8f1b6d
+SIZE (rust/crates/pyo3-build-config-0.25.0.crate) = 34122
+SHA256 (rust/crates/pyo3-ffi-0.25.0.crate) = fc95a2e67091e44791d4ea300ff744be5293f394f1bafd9f78c080814d35956e
+SIZE (rust/crates/pyo3-ffi-0.25.0.crate) = 77991
+SHA256 (rust/crates/pyo3-macros-0.25.0.crate) = a179641d1b93920829a62f15e87c0ed791b6c8db2271ba0fd7c2686090510214
+SIZE (rust/crates/pyo3-macros-0.25.0.crate) = 8876
+SHA256 (rust/crates/pyo3-macros-backend-0.25.0.crate) = 9dff85ebcaab8c441b0e3f7ae40a6963ecea8a9f5e74f647e33fcf5ec9a1e89e
+SIZE (rust/crates/pyo3-macros-backend-0.25.0.crate) = 75089
+SHA256 (rust/crates/quote-1.0.40.crate) = 1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d
+SIZE (rust/crates/quote-1.0.40.crate) = 31063
SHA256 (rust/crates/rayon-1.10.0.crate) = b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa
SIZE (rust/crates/rayon-1.10.0.crate) = 180155
SHA256 (rust/crates/rayon-core-1.12.1.crate) = 1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2
SIZE (rust/crates/rayon-core-1.12.1.crate) = 70701
-SHA256 (rust/crates/regex-1.10.6.crate) = 4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619
-SIZE (rust/crates/regex-1.10.6.crate) = 253894
-SHA256 (rust/crates/regex-automata-0.4.7.crate) = 38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df
-SIZE (rust/crates/regex-automata-0.4.7.crate) = 617582
-SHA256 (rust/crates/regex-syntax-0.8.4.crate) = 7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b
-SIZE (rust/crates/regex-syntax-0.8.4.crate) = 347577
+SHA256 (rust/crates/regex-1.11.1.crate) = b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191
+SIZE (rust/crates/regex-1.11.1.crate) = 254170
+SHA256 (rust/crates/regex-automata-0.4.9.crate) = 809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908
+SIZE (rust/crates/regex-automata-0.4.9.crate) = 618525
+SHA256 (rust/crates/regex-syntax-0.8.5.crate) = 2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c
+SIZE (rust/crates/regex-syntax-0.8.5.crate) = 357541
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
@@ -155,16 +155,18 @@ SHA256 (rust/crates/serde_spanned-0.6.7.crate) = eb5b1b31579f3811bf615c144393417
SIZE (rust/crates/serde_spanned-0.6.7.crate) = 9164
SHA256 (rust/crates/syn-1.0.109.crate) = 72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237
SIZE (rust/crates/syn-1.0.109.crate) = 237611
-SHA256 (rust/crates/syn-2.0.75.crate) = f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9
-SIZE (rust/crates/syn-2.0.75.crate) = 268805
-SHA256 (rust/crates/target-lexicon-0.12.15.crate) = 4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2
-SIZE (rust/crates/target-lexicon-0.12.15.crate) = 26384
+SHA256 (rust/crates/syn-2.0.101.crate) = 8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf
+SIZE (rust/crates/syn-2.0.101.crate) = 299250
+SHA256 (rust/crates/target-lexicon-0.13.2.crate) = e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a
+SIZE (rust/crates/target-lexicon-0.13.2.crate) = 27923
+SHA256 (rust/crates/target-triple-0.1.4.crate) = 1ac9aa371f599d22256307c24a9d748c041e548cbf599f35d890f9d365361790
+SIZE (rust/crates/target-triple-0.1.4.crate) = 7143
SHA256 (rust/crates/termcolor-1.1.3.crate) = bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755
SIZE (rust/crates/termcolor-1.1.3.crate) = 17242
-SHA256 (rust/crates/thiserror-1.0.63.crate) = c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724
-SIZE (rust/crates/thiserror-1.0.63.crate) = 21537
-SHA256 (rust/crates/thiserror-impl-1.0.63.crate) = a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261
-SIZE (rust/crates/thiserror-impl-1.0.63.crate) = 16047
+SHA256 (rust/crates/thiserror-2.0.12.crate) = 567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708
+SIZE (rust/crates/thiserror-2.0.12.crate) = 28693
+SHA256 (rust/crates/thiserror-impl-2.0.12.crate) = 7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d
+SIZE (rust/crates/thiserror-impl-2.0.12.crate) = 21141
SHA256 (rust/crates/tinytemplate-1.2.1.crate) = be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc
SIZE (rust/crates/tinytemplate-1.2.1.crate) = 26490
SHA256 (rust/crates/toml-0.8.19.crate) = a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e
@@ -173,8 +175,8 @@ SHA256 (rust/crates/toml_datetime-0.6.8.crate) = 0dd7358ecb8fc2f8d014bf86f6f638c
SIZE (rust/crates/toml_datetime-0.6.8.crate) = 12028
SHA256 (rust/crates/toml_edit-0.22.20.crate) = 583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d
SIZE (rust/crates/toml_edit-0.22.20.crate) = 106726
-SHA256 (rust/crates/trybuild-1.0.99.crate) = 207aa50d36c4be8d8c6ea829478be44a372c6a77669937bb39c698e52f1491e8
-SIZE (rust/crates/trybuild-1.0.99.crate) = 41414
+SHA256 (rust/crates/trybuild-1.0.105.crate) = 1c9bf9513a2f4aeef5fdac8677d7d349c79fdbcc03b9c86da6e9d254f1e43be2
+SIZE (rust/crates/trybuild-1.0.105.crate) = 44901
SHA256 (rust/crates/unicode-ident-1.0.1.crate) = 5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c
SIZE (rust/crates/unicode-ident-1.0.1.crate) = 33770
SHA256 (rust/crates/unicode-width-0.2.0.crate) = 1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd