[packages/python3-beniget] - updated to 0.4.2.post1 (removes runtime setuptools dependency), fixed tests with current setuptool
qboosh
qboosh at pld-linux.org
Tue Oct 28 20:11:42 CET 2025
commit 5972773880050d106b063716fbd3d522016c2b0c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Oct 28 20:11:38 2025 +0100
- updated to 0.4.2.post1 (removes runtime setuptools dependency), fixed tests with current setuptools
python3-beniget.spec | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/python3-beniget.spec b/python3-beniget.spec
index 4ed9657..58f64f2 100644
--- a/python3-beniget.spec
+++ b/python3-beniget.spec
@@ -5,13 +5,13 @@
Summary: Extract semantic information about static Python code
Summary(pl.UTF-8): Wydobywanie informacji semantycznych o statycznym kodzie w Pythonie
Name: python3-beniget
-Version: 0.4.2
+Version: 0.4.2.post1
Release: 1
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: 499c6c442b54ec297970de80adba330d
+# Source0-md5: f49610696dd4682006f63e6cf4b7ddc8
URL: https://pypi.org/project/beniget/
BuildRequires: python3-modules >= 1:3.6
BuildRequires: python3-setuptools
@@ -36,13 +36,17 @@ Statyczny analizator kodu Pythona 3.
Beniget zapewnia statyczną (nad)aproksymację globalnych i lokalnych
definicji wewnątrz modułów/klas/funkcji pythonowych. Potrafi także
-wyliczać łańcuchy def-użyć z każdej definicji.
+wyliczać łańcuchy definicji-użyć z każdej definicji.
%prep
%setup -q -n beniget-%{version}
%build
-%py3_build %{?with_tests:test}
+%py3_build
+
+%if %{with tests}
+%{__python3} -m unittest discover -s tests
+%endif
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-beniget.git/commitdiff/5972773880050d106b063716fbd3d522016c2b0c
More information about the pld-cvs-commit
mailing list