Compare commits
9 Commits
Author | SHA256 | Date | |
---|---|---|---|
afdc6e9eb7 | |||
5d962247ee | |||
5fabf6ed46 | |||
|
4cd93ef5bd | ||
6d2656f56a | |||
|
f46e67fbd9 | ||
|
84d10b5357 | ||
d4ac2f83a2 | |||
|
34e00b7ccf |
23
58.patch
Normal file
23
58.patch
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
From ce1da838d74031cfbd3c4dae3a28b9c3c11b5000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Robert Scheck <robert@fedoraproject.org>
|
||||||
|
Date: Sun, 16 Jun 2024 19:03:43 +0200
|
||||||
|
Subject: [PATCH] Change incompatible pointer type from RadixNodeObject to
|
||||||
|
PyObject
|
||||||
|
|
||||||
|
---
|
||||||
|
radix/_radix.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/radix/_radix.c b/radix/_radix.c
|
||||||
|
index 5a1b88f..5dcfc59 100644
|
||||||
|
--- a/radix/_radix.c
|
||||||
|
+++ b/radix/_radix.c
|
||||||
|
@@ -524,7 +524,7 @@ add_node_to_list(radix_node_t *node, void *arg)
|
||||||
|
PyObject *ret = arg;
|
||||||
|
|
||||||
|
if (node->data != NULL)
|
||||||
|
- PyList_Append(ret, ((RadixNodeObject *)node->data));
|
||||||
|
+ PyList_Append(ret, ((PyObject *)node->data));
|
||||||
|
return (0);
|
||||||
|
}
|
||||||
|
|
@@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 11 05:54:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 26 13:36:59 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Use %autosetup: eliminates usage of deprecated %patchN syntax.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 15 16:47:28 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- fix patch syntax for 15.6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 18 10:45:53 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Cherry-pick upstream patch to fix build with GCC 14
|
||||||
|
* https://github.com/mjschultz/py-radix/pull/58.patch
|
||||||
|
- Switch package to modern Python Stack on SLE-15
|
||||||
|
+ Use Python 3.11 on SLE-15 by default
|
||||||
|
+ Drop support for older Python versions
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 25 11:52:58 UTC 2018 - sebix+novell.com@sebix.at
|
Thu Jan 25 11:52:58 UTC 2018 - sebix+novell.com@sebix.at
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-py-radix
|
# spec file for package python-py-radix
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,21 +12,25 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-py-radix
|
Name: python-py-radix
|
||||||
Version: 0.10.0
|
Version: 0.10.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Radix tree implementation
|
Summary: Radix tree implementation
|
||||||
License: ISC AND BSD-4-Clause
|
License: BSD-4-Clause AND ISC
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/mjschultz/py-radix
|
URL: https://github.com/mjschultz/py-radix
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/py-radix/py-radix-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/py-radix/py-radix-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM - Change incompatible pointer type from RadixNodeObject to PyObject
|
||||||
|
Patch0: https://github.com/mjschultz/py-radix/pull/58.patch
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -42,19 +46,20 @@ containing networks.
|
|||||||
This package includes the C-extension.
|
This package includes the C-extension.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n py-radix-%{version}
|
%autosetup -p1 -n py-radix-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/radix
|
||||||
|
%{python_sitearch}/py_radix-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user