Accepting request 682136 from devel:languages:python
- Update to 2.2.1: * Many changes inside, see ChangeLog OBS-URL: https://build.opensuse.org/request/show/682136 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=18
This commit is contained in:
commit
02757c0205
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:35b032003d6a863f5dcd7ec11abd5cd5893428beaa31ab164982403bcb311f22
|
|
||||||
size 276196
|
|
3
astroid-2.2.4.tar.gz
Normal file
3
astroid-2.2.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:62bd1d8d2ace3e812b3a22eb3c4b7856536d8cc0cdb37466f6a53cf881dbad1f
|
||||||
|
size 281284
|
@ -1,3 +0,0 @@
|
|||||||
[pytest]
|
|
||||||
python_files = astroid/tests/unittest_*.py
|
|
||||||
norecursedirs = _build.* build
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 6 12:27:13 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.2.1:
|
||||||
|
* Many changes inside, see ChangeLog
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 31 08:59:36 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
Mon Dec 31 08:59:36 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-astroid
|
# spec file for package python-astroid
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -19,14 +19,13 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-astroid
|
Name: python-astroid
|
||||||
Version: 2.1.0
|
Version: 2.2.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Representation of Python source as an AST for pylint
|
Summary: Representation of Python source as an AST for pylint
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
URL: https://github.com/pycqa/astroid
|
URL: https://github.com/pycqa/astroid
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/astroid/astroid-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/astroid/astroid-%{version}.tar.gz
|
||||||
Source1: pytest.ini
|
|
||||||
BuildRequires: %{python_module lazy-object-proxy}
|
BuildRequires: %{python_module lazy-object-proxy}
|
||||||
BuildRequires: %{python_module pytest-runner}
|
BuildRequires: %{python_module pytest-runner}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@ -60,9 +59,6 @@ objects.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n astroid-%{version}
|
%setup -q -n astroid-%{version}
|
||||||
# FIXME: with next release verify again
|
|
||||||
# The numpy checks are broken on py3 completely
|
|
||||||
rm -f astroid/tests/unittest_brain_numpy.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -72,8 +68,7 @@ rm -f astroid/tests/unittest_brain_numpy.py
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
cp %{SOURCE1} .
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
||||||
%python_exec -m pytest -s
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING COPYING.LESSER
|
%license COPYING COPYING.LESSER
|
||||||
|
Loading…
Reference in New Issue
Block a user