forked from pool/python-executing
Compare commits
11 Commits
Author | SHA256 | Date | |
---|---|---|---|
2225355c1c | |||
b4972a92de | |||
c1711054df | |||
99e2f9fe62 | |||
c9ffd7439b | |||
86dd7e31f3 | |||
2bc77f1780 | |||
670786715f | |||
8079568381 | |||
234322b8d1 | |||
2c4a66a529 |
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
BIN
executing-2.1.0.tar.gz
(Stored with Git LFS)
BIN
executing-2.1.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
executing-2.2.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
executing-2.2.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,40 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 10 09:25:36 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.2.0
|
||||||
|
* fix: backward compatibility fix for changed source positions in 3.12.6 (#85)
|
||||||
|
* fix: handle changed positions for __exit__ of ast.With
|
||||||
|
* update and fix table of contents link, 'libraries' → 'projects' (#93)
|
||||||
|
* fix: check for pytest compatibility (#94)
|
||||||
|
- Drop new-python-312.patch, merged upstream
|
||||||
|
- Drop pytest.patch, merged upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 17 16:19:38 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Add pytest.patch to fix compatibility with new pytest
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 23 13:02:57 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Remove ipython dependency for Leap
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 26 09:27:25 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Split test run into separate build using _multibuild.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 20 20:29:20 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- The test suite has to be run with pytest, unittest is not enough
|
||||||
|
- Add missing BuildRequires: ipython
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 18 06:18:15 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Add new-python-312.patch to fix build with recent Python 3.12 release
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 10 07:06:40 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Tue Sep 10 07:06:40 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-executing
|
# spec file for package python-executing
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# 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
|
||||||
@ -16,25 +16,39 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if "%{flavor}" == "test"
|
||||||
|
%define psuffix -test
|
||||||
|
%bcond_without test
|
||||||
|
%else
|
||||||
|
%define psuffix %{nil}
|
||||||
|
%bcond_with test
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-executing
|
Name: python-executing%{psuffix}
|
||||||
Version: 2.1.0
|
Version: 2.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Get the currently executing AST node of a frame, and other information
|
Summary: Get the currently executing AST node of a frame, and other information
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/alexmojaki/executing
|
URL: https://github.com/alexmojaki/executing
|
||||||
Source: https://files.pythonhosted.org/packages/source/e/executing/executing-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/e/executing/executing-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module asttokens}
|
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module littleutils}
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module setuptools_scm >= 4.0.0}
|
BuildRequires: %{python_module setuptools_scm >= 4.0.0}
|
||||||
BuildRequires: %{python_module toml}
|
BuildRequires: %{python_module toml}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module asttokens}
|
||||||
|
%if 0%{?suse_version} > 1600
|
||||||
|
BuildRequires: %{python_module ipython}
|
||||||
|
%endif
|
||||||
|
BuildRequires: %{python_module littleutils}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module rich}
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -44,19 +58,34 @@ Get the currently executing AST node of a frame, and other information
|
|||||||
%autosetup -p1 -n executing-%{version}
|
%autosetup -p1 -n executing-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if %{without test}
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if %{without test}
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pyunittest discover -v
|
%if %{with test}
|
||||||
|
|
||||||
|
# Don't have ipython build requirement in Leap
|
||||||
|
%if 0%{?suse_version} <= 1600
|
||||||
|
%pytest -k "not test_ipython"
|
||||||
|
%else
|
||||||
|
%pytest
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{without test}
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/executing
|
%{python_sitelib}/executing
|
||||||
%{python_sitelib}/executing-%{version}.dist-info
|
%{python_sitelib}/executing-%{version}.dist-info
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user