Sync from SUSE:SLFO:Main python-executing revision 54e264ff98c60078e61b5c6674b0f4b5

This commit is contained in:
Adrian Schröter 2024-05-03 20:36:57 +02:00
commit 86a7ff4f7e
4 changed files with 171 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
executing-1.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

78
python-executing.changes Normal file
View File

@ -0,0 +1,78 @@
-------------------------------------------------------------------
Fri Apr 21 12:24:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:41:09 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Fri Dec 2 17:32:34 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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
-------------------------------------------------------------------
Sun Mar 27 10:48:50 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.8.3:
* handle new iphython cell code names
* link to futurecoder
-------------------------------------------------------------------
Thu Dec 2 12:42:43 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Skip python 3.6 since python-asttokens dropped it
-------------------------------------------------------------------
Tue Nov 2 13:47:37 UTC 2021 - pgajdos@suse.com
- version update to 0.8.2
* no upstream changelog
- %check: use %pyunittest rpm macro
-------------------------------------------------------------------
Wed Dec 2 20:23:30 UTC 2020 - ecsos <ecsos@opensuse.org>
- Update to 0.5.3
- Handle pypy saying the current instruction is an extended arg
- Changes from 0.5.2
- Convert path to string before checking filename cache
- Changes from 0.5.1
- Get top level statement containing IPython node
- Changes from 0.5.0
- Also cache Source objects by contents (lines)
- Changes from 0.4.4
- Move packaging metadata into setup.cfg
- Changes from 0.4.3
- Bump to 0.4.3
-------------------------------------------------------------------
Wed Mar 11 09:51:32 PM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v0.4.2

67
python-executing.spec Normal file
View File

@ -0,0 +1,67 @@
#
# spec file for package python-executing
#
# Copyright (c) 2023 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
%{?sle15_python_module_pythons}
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