Accepting request 928873 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/928873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-executing?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2021-11-03 16:25:54 +00:00 committed by Git OBS Bridge
commit 74d90c2185
4 changed files with 23 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c039c841e0b606fca7774b42302697b2f0eca78b4d0e3e582024cf881776379
size 301720

3
executing-0.8.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c23bf42e9a7b9b212f185b1b2c3c91feb895963378887bb10e64a2e612ec0023
size 481669

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
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>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-executing
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,29 +12,30 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-executing
Version: 0.5.3
Version: 0.8.2
Release: 0
License: MIT
Summary: Get the currently executing AST node of a frame, and other information
Url: https://github.com/alexmojaki/executing
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-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools_scm >= 4.0.0}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module asttokens}
BuildRequires: %{python_module devel}
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
@ -53,8 +54,7 @@ Get the currently executing AST node of a frame, and other information
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
#%%pytest
%python_exec setup.py test
%pyunittest discover -v
%files %{python_files}
%doc README.md