forked from pool/python-executing
- update to 2.0.1:
* fix: self.fail() is only available in TestCase classes
* fix: mark expressions which can be evaluated at compile time
as deadcode
* fix: implemented DELETE_DEREF
* feat: 3.12 support for the PositionNodeFinder
* feat: support LOAD_CONST
* test: verify exception generation for asserts >= python 3.11.2
* test: skip test of module_files for the SentinelNodeFinder
* test: do not check qualnames for files with syntax errors
* fix: handle List/Set/DictComp inlining
* fix: handle super optimization
* fix: type parameter related things
* fix: f-string
* fix: disabled type checking for 3.12
* test: added test results for 3.12
* fix: workaround for a bug in six
* remove python2 code
* feat: support for __iter__
* feat: support for __next__
Clear caches when modules are reloaded
- Update to 0.9.0
* handle new iphython cell code names
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=11
This commit is contained in:
@@ -16,31 +16,26 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-executing
|
||||
Version: 1.2.0
|
||||
Version: 2.0.1
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: Get the currently executing AST node of a frame, and other information
|
||||
URL: https://github.com/alexmojaki/executing
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
#Source: https://github.com/alexmojaki/executing/archive/v%%{version}/%%{name}-%%{version}.tar.gz
|
||||
URL: https://github.com/alexmojaki/executing
|
||||
Source: https://files.pythonhosted.org/packages/source/e/executing/executing-%{version}.tar.gz
|
||||
BuildRequires: %{python_module asttokens}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module littleutils}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools_scm >= 4.0.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module toml}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -50,10 +45,10 @@ Get the currently executing AST node of a frame, and other information
|
||||
%setup -q -n executing-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -62,6 +57,7 @@ Get the currently executing AST node of a frame, and other information
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/executing
|
||||
%{python_sitelib}/executing-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user