From cd0a2b2609d03559e72f601651b9609dcf8ea074 Mon Sep 17 00:00:00 2001
From: Marcel Telka <marcel@telka.sk>
Date: Tue, 09 Apr 2024 06:27:56 +0200
Subject: [PATCH] python/rapidfuzz: update to 3.8.1

---
 transforms/generate-cleanup |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/transforms/generate-cleanup b/transforms/generate-cleanup
index 38056ac..13bc742 100644
--- a/transforms/generate-cleanup
+++ b/transforms/generate-cleanup
@@ -78,12 +78,9 @@
 # PEP 627 made the RECORD file optional.  Since we do not need the file and it
 # could contain inaccurate info we simply drop it.
 <transform dir file link hardlink path=usr\/lib\/python3\.\d+\/vendor-packages\/[^/]+\.dist-info/RECORD$ -> drop>
-# Strip Python 3 cpython ABI extension
+# Replace Python version by $(PYV)
 <transform file -> \
-	edit path "^(usr/lib/python3\.\d+/vendor-packages/(.*/)?[^/]+)\.cpython-3\d+\.so$" "\1.so">
-# Strip Python 3 abi3 ABI extension
-<transform file -> \
-	edit path "^(usr/lib/python3\.\d+/vendor-packages/(.*/)?[^/]+)\.abi3\.so$" "\1.so">
+	edit path "^(usr/lib/python3\.\d+/vendor-packages/(.*/)?[^/]+\.cpython-)3\d+\.so$" "\1$!(PYV).so">
 # Replace Python version by $(PYVER)
 <transform file path=usr/bin/[^/]+-3\.\d+$ -> default tmp.fmri "$(COMPONENT_FMRI)">
 <transform file tmp.fmri=.*runtime/python -> edit path "^(usr/bin/[^/]+-)3\.\d+$" "\1$!(PYVER)">

--
Gitblit v1.9.3