[packages/python-beniget] - patch to allow gast 0.6.0, release 7
qboosh
qboosh at pld-linux.org
Tue Oct 28 18:51:34 CET 2025
commit b46d6a3243ddd0834716aedba4ccb97d767bedf5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Oct 28 18:51:22 2025 +0100
- patch to allow gast 0.6.0, release 7
beniget-requires.patch | 5 +++++
python-beniget.spec | 4 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/python-beniget.spec b/python-beniget.spec
index ca2e5d8..fb6f34d 100644
--- a/python-beniget.spec
+++ b/python-beniget.spec
@@ -8,12 +8,13 @@ Summary: Extract semantic information about static Python code
Summary(pl.UTF-8): Wydobywanie informacji semantycznych o statycznym kodzie w Pythonie
Name: python-beniget
Version: 0.4.1
-Release: 6
+Release: 7
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/beniget/
Source0: https://files.pythonhosted.org/packages/source/b/beniget/beniget-%{version}.tar.gz
# Source0-md5: a2bbe7f17f10f9c127d8ef00692ddc55
+Patch0: beniget-requires.patch
URL: https://pypi.org/project/beniget/
%if %{with python2}
BuildRequires: python-modules >= 1:2.7
@@ -71,6 +72,7 @@ wyliczać łańcuchy def-użyć z każdej definicji.
%prep
%setup -q -n beniget-%{version}
+%patch -P0 -p1
%build
%if %{with python2}
diff --git a/beniget-requires.patch b/beniget-requires.patch
new file mode 100644
index 0000000..e6d524e
--- /dev/null
+++ b/beniget-requires.patch
@@ -0,0 +1,5 @@
+--- beniget-0.4.1/requirements.txt.orig 2021-06-29 08:05:57.000000000 +0200
++++ beniget-0.4.1/requirements.txt 2025-10-28 18:38:53.735351356 +0100
+@@ -1 +1 @@
+-gast ~= 0.5.0
++gast >= 0.5.0
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-beniget.git/commitdiff/b46d6a3243ddd0834716aedba4ccb97d767bedf5
More information about the pld-cvs-commit
mailing list