15
0
Files
python-executing/python-executing.spec
Dirk Mueller d0a1905467 Accepting request 1039628 from home:yarunachalam:branches:devel:languages:python
- Update to 1.2.0
  Merge pull request #56 from alexmojaki/init_tokens
      Use new asttokens.ASTText
- Update to 1.1.1
  tox is breaking weirdly with too much parallelism
- Update to 1.1.0
  3.11 in setup.cfg
- Update to 1.0.0
  Merge pull request #46 from alexmojaki/checkcache
      Always check linecache
- Update to 0.10.0
  Merge pull request #45 from alexmojaki/reload
      Clear caches when modules are reloaded  
- Update to 0.9.1
  Merge pull request #41 from alexmojaki/node_linenos
      Extract node_linenos to account for end_lineno and use in assert_linenos
- Update to 0.9.0 
  * Merge pull request #38 from alexmojaki/pwwang/master
      Support STORE_ATTR and STORE_SUBSCR

OBS-URL: https://build.opensuse.org/request/show/1039628
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=7
2022-12-02 21:39:05 +00:00

67 lines
2.1 KiB
RPMSpec

#
# spec file for package python-executing
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
Name: python-executing
Version: 1.2.0
Release: 0
License: MIT
Summary: Get the currently executing AST node of a frame, and other information
URL: https://github.com/alexmojaki/executing
Group: Development/Languages/Python
#Source: https://github.com/alexmojaki/executing/archive/v%%{version}/%%{name}-%%{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 littleutils}
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
Get the currently executing AST node of a frame, and other information
%prep
%setup -q -n executing-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest discover -v
%files %{python_files}
%doc README.md
%license LICENSE.txt
%{python_sitelib}/*
%changelog