From 834d7fee7f0aa9bf834784cfaa5c7693f1547c42 Mon Sep 17 00:00:00 2001
From: Marcel Telka <marcel@telka.sk>
Date: Thu, 04 Apr 2024 18:45:30 +0200
Subject: [PATCH] python/libcst: update to 1.3.1

---
 components/python/libcst/patches/01-no-pyre-check.patch |    4 ++--
 components/python/libcst/test/results-all.master        |    1 +
 components/python/libcst/manifests/sample-manifest.p5m  |    2 --
 components/python/libcst/pkg5                           |    2 --
 components/python/libcst/Makefile                       |    6 ++----
 components/python/libcst/libcst-PYVER.p5m               |    2 --
 6 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/components/python/libcst/Makefile b/components/python/libcst/Makefile
index 434f47a..a0da941 100644
--- a/components/python/libcst/Makefile
+++ b/components/python/libcst/Makefile
@@ -19,10 +19,10 @@
 include ../../../make-rules/shared-macros.mk
 
 COMPONENT_NAME =		libcst
-HUMAN_VERSION =			1.2.0
+HUMAN_VERSION =			1.3.1
 COMPONENT_SUMMARY =		libcst - A concrete syntax tree with AST-like properties for Python 3.0 through 3.12 programs.
 COMPONENT_ARCHIVE_HASH =	\
-	sha256:71dd69fff76e7edaf8fae0f63ffcdbf5016e8cd83165b1d0688d6856aa48186a
+	sha256:03b1df1ae02456f1d465fcd5ead1d0d454bb483caefd8c8e6bde515ffdb53d1b
 COMPONENT_LICENSE =		MIT OR PSF-2.0
 COMPONENT_LICENSE_FILE =	LICENSE
 
@@ -69,8 +69,6 @@
 PYTHON_REQUIRED_PACKAGES += library/python/setuptools
 PYTHON_REQUIRED_PACKAGES += library/python/setuptools-rust
 PYTHON_REQUIRED_PACKAGES += library/python/setuptools-scm
-PYTHON_REQUIRED_PACKAGES += library/python/typing-extensions
-PYTHON_REQUIRED_PACKAGES += library/python/typing-inspect
 PYTHON_REQUIRED_PACKAGES += library/python/wheel
 PYTHON_REQUIRED_PACKAGES += runtime/python
 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
diff --git a/components/python/libcst/libcst-PYVER.p5m b/components/python/libcst/libcst-PYVER.p5m
index f513424..572d6ef 100644
--- a/components/python/libcst/libcst-PYVER.p5m
+++ b/components/python/libcst/libcst-PYVER.p5m
@@ -318,5 +318,3 @@
 
 # Automatically generated dependencies based on distribution metadata
 depend type=require fmri=pkg:/library/python/pyyaml-$(PYV)
-depend type=require fmri=pkg:/library/python/typing-extensions-$(PYV)
-depend type=require fmri=pkg:/library/python/typing-inspect-$(PYV)
diff --git a/components/python/libcst/manifests/sample-manifest.p5m b/components/python/libcst/manifests/sample-manifest.p5m
index 16d7192..34339a5 100644
--- a/components/python/libcst/manifests/sample-manifest.p5m
+++ b/components/python/libcst/manifests/sample-manifest.p5m
@@ -318,5 +318,3 @@
 
 # Automatically generated dependencies based on distribution metadata
 depend type=require fmri=pkg:/library/python/pyyaml-$(PYV)
-depend type=require fmri=pkg:/library/python/typing-extensions-$(PYV)
-depend type=require fmri=pkg:/library/python/typing-inspect-$(PYV)
diff --git a/components/python/libcst/patches/01-no-pyre-check.patch b/components/python/libcst/patches/01-no-pyre-check.patch
index 5a09abb..bdf75e9 100644
--- a/components/python/libcst/patches/01-no-pyre-check.patch
+++ b/components/python/libcst/patches/01-no-pyre-check.patch
@@ -1,5 +1,5 @@
---- libcst-1.2.0/libcst/metadata/tests/test_type_inference_provider.py.orig
-+++ libcst-1.2.0/libcst/metadata/tests/test_type_inference_provider.py
+--- libcst-1.3.1/libcst/metadata/tests/test_type_inference_provider.py.orig
++++ libcst-1.3.1/libcst/metadata/tests/test_type_inference_provider.py
 @@ -10,7 +10,7 @@
  import sys
  from pathlib import Path
diff --git a/components/python/libcst/pkg5 b/components/python/libcst/pkg5
index a29e8be..0364ff2 100644
--- a/components/python/libcst/pkg5
+++ b/components/python/libcst/pkg5
@@ -4,8 +4,6 @@
         "library/python/setuptools-39",
         "library/python/setuptools-rust-39",
         "library/python/setuptools-scm-39",
-        "library/python/typing-extensions-39",
-        "library/python/typing-inspect-39",
         "library/python/wheel-39",
         "runtime/python-39",
         "system/library",
diff --git a/components/python/libcst/test/results-all.master b/components/python/libcst/test/results-all.master
index 616b5b3..a3eea66 100644
--- a/components/python/libcst/test/results-all.master
+++ b/components/python/libcst/test/results-all.master
@@ -2,6 +2,7 @@
 platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON)
 cachedir: .pytest_cache
 rootdir: $(@D)
+configfile: pyproject.toml
 collecting ... collected 2034 items
 
 libcst/_nodes/tests/test_assert.py::AssertConstructionTest::test_invalid_0 PASSED

--
Gitblit v1.9.3