Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 04783445e5 | |||
| ee748dc055 | |||
| d0d3d533ba | |||
| 5bea4afed1 | |||
| 6bc1b17034 | |||
| 53ba061c3e | |||
| 70fcc40ccd |
BIN
asttokens-2.4.1.tar.gz
LFS
BIN
asttokens-2.4.1.tar.gz
LFS
Binary file not shown.
BIN
asttokens-3.0.0.tar.gz
LFS
Normal file
BIN
asttokens-3.0.0.tar.gz
LFS
Normal file
Binary file not shown.
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user