public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-Levenshtein] rawhide: Update to 0.27.5
@ 2026-09-13  2:19 Troy Curtis Jr
  0 siblings, 0 replies; only message in thread
From: Troy Curtis Jr @ 2026-09-13  2:19 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-Levenshtein
            Branch : rawhide
            Commit : 9af8e04103698e61ba83d56fe5d9d5b0b4b3ac1d
            Author : Troy Curtis Jr <troy@troycurtisjr.com>
            Date   : 2026-09-12T22:15:45-04:00
            Stats  : +3/-41 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-Levenshtein/c/9af8e04103698e61ba83d56fe5d9d5b0b4b3ac1d?branch=rawhide

            Log:
            Update to 0.27.5

- Fixes rhbz#2411727
- Drop patches that are no longer necessary

---
diff --git a/.gitignore b/.gitignore
index 477366a..19b3f22 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ python-Levenshtein-0.10.1.tar.bz2
 /Levenshtein-0.26.1.tar.gz
 /Levenshtein-0.27.1.tar.gz
 /Levenshtein-0.27.3.tar.gz
+/Levenshtein-0.27.5.tar.gz

diff --git a/levenshtein-0.20.8-cython-0.29.patch b/levenshtein-0.20.8-cython-0.29.patch
deleted file mode 100644
index 1d9a8e7..0000000
--- a/levenshtein-0.20.8-cython-0.29.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/_custom_build/backend.py b/_custom_build/backend.py
-index 08c3c06..43b0b22 100644
---- a/_custom_build/backend.py
-+++ b/_custom_build/backend.py
-@@ -36,7 +36,7 @@ def _ninja_required():
- 
-     return True
- 
--def get_requires_for_build_wheel(self, config_settings=None):
-+def get_requires_for_build_wheel(config_settings=None):
-     packages = []
-     if _cmake_required():
-         packages.append('cmake')
-diff --git a/pyproject.toml b/pyproject.toml
-index 88df1c3..8ff41bb 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -2,7 +2,7 @@
- requires = [
-     "setuptools",
-     "scikit-build>=0.13.0",
--    "Cython>=3.0.0a11"
-+    "Cython>=0.29.26"
- ]
- build-backend = "backend"
- backend-path = ["_custom_build"]

diff --git a/levenshtein-0.27.1-cython-cpp.patch b/levenshtein-0.27.1-cython-cpp.patch
deleted file mode 100644
index 78710f3..0000000
--- a/levenshtein-0.27.1-cython-cpp.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up a/src/Levenshtein/CMakeLists.txt b/src/Levenshtein/CMakeLists.txt
---- a/src/Levenshtein/CMakeLists.txt	2026-01-10 17:00:11.456685025 -0500
-+++ b/src/Levenshtein/CMakeLists.txt	2026-01-10 17:00:37.252954218 -0500
-@@ -9,7 +9,7 @@ function(create_cython_target _name)
-       MAIN_DEPENDENCY "${CMAKE_CURRENT_LIST_DIR}/${_name}.pyx"
-       VERBATIM
-       COMMAND
--        Python::Interpreter -m cython "${CMAKE_CURRENT_LIST_DIR}/${_name}.pyx"
-+        Python::Interpreter -m cython --cplus "${CMAKE_CURRENT_LIST_DIR}/${_name}.pyx"
-         --output-file "${CMAKE_CURRENT_BINARY_DIR}/${_name}.cxx")
- 
-     set(${_name}

diff --git a/python-Levenshtein.spec b/python-Levenshtein.spec
index 61fdd25..f647e00 100644
--- a/python-Levenshtein.spec
+++ b/python-Levenshtein.spec
@@ -1,7 +1,7 @@
 %global srcname Levenshtein
 
 %global forgeurl https://github.com/rapidfuzz/%{srcname}
-Version:        0.27.3
+Version:        0.27.5
 %forgemeta
 
 Name:         python-%{srcname}
@@ -15,7 +15,6 @@ License:      GPL-2.0-or-later
 URL:          %{forgeurl}
 
 Source0:      %{forgesource}
-Patch0:       levenshtein-0.27.1-cython-cpp.patch
 
 BuildRequires: cmake
 BuildRequires: gcc

diff --git a/sources b/sources
index d4344d7..407edb4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Levenshtein-0.27.3.tar.gz) = 1102d6421066ea59c821416d80eec99044fd574659db2e063a5564249afddac097e740788b8d0f5c1c3c72c1a4d3ae94f027ac8609f5ad1cadde378aaee9bf43
+SHA512 (Levenshtein-0.27.5.tar.gz) = bd63e2b1eb57ea67a079631ca09485dfdfc29ecebfbb973466f25610d461dbc993f75903bde9fb945558cb339d229df5a8351f7a839df2c8c1d20b9aab56cdad

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-13  2:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-13  2:19 [rpms/python-Levenshtein] rawhide: Update to 0.27.5 Troy Curtis Jr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox