]> git.pld-linux.org Git - packages/python3-astroid.git/blobdiff - python3-astroid.spec
up to 2.9.0
[packages/python3-astroid.git] / python3-astroid.spec
index 7dbe963203d950ceb09e505edd59f07112a1cba2..6c22cd0b4a57d027a3c8b69b8231f7366139e700 100644 (file)
@@ -1,18 +1,18 @@
 #
 # Conditional build:
-%bcond_without tests   # unit tests
+%bcond_with    tests   # unit tests
 
 %define        module  astroid
 Summary:       An abstract syntax tree for Python 3 with inference support
 Summary(pl.UTF-8):     Abstrakcyjnego drzewa składniowe dla Pythona 3 z obsługą wywodu
 Name:          python3-%{module}
-Version:       2.3.3
-Release:       3
+Version:       2.9.0
+Release:       1
 License:       LGPL v2.1+
 Group:         Development/Languages/Python
 #Source0Download: https://pypi.org/simple/astroid/
 Source0:       https://files.pythonhosted.org/packages/source/a/astroid/astroid-%{version}.tar.gz
-# Source0-md5: 5f3d73d82d1753b59bb49a6bc6046dee
+# Source0-md5: 24818fd52a4f51bec86d3801f5f8eccc
 Patch0:                %{name}-deps.patch
 URL:           https://github.com/PyCQA/astroid
 BuildRequires: python3-devel >= 1:3.5
@@ -53,16 +53,11 @@ potrzebami pylinta. Dawniej nazywała się logilab-astng.
 %setup -q -n %{module}-%{version}
 %patch0 -p1
 
-# non-deterministic (skipped if numpy not installed; unittest_brain_numpy_core_multiarray.py fails with numpy 1.16.5
-%{__rm} astroid/tests/unittest_brain_numpy_*
-# test_knownValues_get_builtin_module_part fails
-%{__rm} astroid/tests/unittest_modutils.py
-
 %build
 %py3_build
 
 %if %{with tests}
-%{__python3} -m pytest astroid/tests
+%{__python3} -m pytest tests
 %endif
 
 %install
@@ -75,6 +70,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README.rst
 %{py3_sitescriptdir}/astroid
 %{py3_sitescriptdir}/astroid-%{version}-py*.egg-info
This page took 0.055605 seconds and 4 git commands to generate.