17
0

7 Commits

Author SHA256 Message Date
04783445e5 Accepting request 1285332 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1285332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asttokens?expand=0&rev=13
2025-06-13 16:43:35 +00:00
ee748dc055 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=24
2025-06-13 05:42:07 +00:00
d0d3d533ba Accepting request 1273669 from devel:languages:python
- skip test_deep_recursion, it fails in s390x,
  gh#gristlabs/asttokens#159

OBS-URL: https://build.opensuse.org/request/show/1273669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asttokens?expand=0&rev=12
2025-05-01 13:22:32 +00:00
5bea4afed1 - Fix test filter string
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=22
2025-04-30 12:11:38 +00:00
6bc1b17034 - skip test_deep_recursion, it fails in s390x,
gh#gristlabs/asttokens#159

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=21
2025-04-30 12:08:51 +00:00
53ba061c3e Accepting request 1238044 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1238044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asttokens?expand=0&rev=11
2025-01-17 17:36:54 +00:00
70fcc40ccd Accepting request 1237804 from home:pgajdos:python
- version update to 3.0.0
  * no upstream changelog found
  * remove dependency on six

OBS-URL: https://build.opensuse.org/request/show/1237804
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=19
2025-01-15 12:46:45 +00:00
4 changed files with 32 additions and 14 deletions

Binary file not shown.

BIN
asttokens-3.0.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Jun 13 05:35:07 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Wed Apr 30 12:07:17 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- skip test_deep_recursion, it fails in s390x,
gh#gristlabs/asttokens#159
-------------------------------------------------------------------
Tue Jan 14 12:38:36 UTC 2025 - pgajdos@suse.com
- version update to 3.0.0
* no upstream changelog found
* remove dependency on six
-------------------------------------------------------------------
Fri Oct 27 08:14:19 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-asttokens
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2019-2021 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -17,12 +17,11 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-asttokens
Version: 2.4.1
Version: 3.0.0
Release: 0
Summary: Annotate AST trees with source code positions
License: Apache-2.0
@@ -31,17 +30,14 @@ URL: https://github.com/gristlabs/asttokens
Source: https://files.pythonhosted.org/packages/source/a/asttokens/asttokens-%{version}.tar.gz
BuildRequires: %{python_module astroid}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 44}
BuildRequires: %{python_module setuptools_scm >= 3.4.3}
BuildRequires: %{python_module six}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
## Manual Begin
Requires: python-six
## Manual End
BuildArch: noarch
%python_subpackages
@@ -53,19 +49,23 @@ Annotate AST trees with source code positions
%build
export LC_ALL=en_US.utf8
%python_build
%pyproject_wheel
%install
export LC_ALL=en_US.utf8
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -k 'not TestAstroid'
donttest="TestAstroid"
# Fails in s390x gh#gristlabs/asttokens#159
donttest+=" or test_deep_recursion"
%pytest -k "not ($donttest)"
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/asttokens-%{version}.dist-info
%{python_sitelib}/asttokens
%changelog