Upgrade to version 2.4.1 and change the build method from py3 to pyproject
This commit is contained in:
parent
032b25e1cf
commit
57a4e751cd
BIN
asttokens-2.4.1.tar.gz
Normal file
BIN
asttokens-2.4.1.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,22 +1,25 @@
|
|||||||
Name: python-asttokens
|
Name: python-asttokens
|
||||||
Version: 2.2.1
|
Version: 2.4.1
|
||||||
Release: 1%{?dist}
|
Release: 1
|
||||||
Summary: Module to annotate Python abstract syntax trees with source code positions
|
Summary: Module to annotate Python abstract syntax trees with source code positions
|
||||||
|
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/gristlabs/asttokens
|
URL: https://github.com/gristlabs/asttokens
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/45/1d/f03bcb60c4a3212e15f99a56085d93093a497718adf828d050b9d675da81/asttokens-2.4.1.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3dist(setuptools)
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3dist(setuptools-scm)
|
BuildRequires: python3-setuptools_scm
|
||||||
BuildRequires: python3dist(wheel)
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: python3dist(toml)
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3dist(pytest)
|
BuildRequires: python3-wheel
|
||||||
BuildRequires: python3dist(astroid)
|
BuildRequires: python3-hatchling
|
||||||
BuildRequires: python3dist(six)
|
BuildRequires: python3-toml
|
||||||
BuildRequires: python3dist(typing-extensions)
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-astroid
|
||||||
|
BuildRequires: python3-six
|
||||||
|
BuildRequires: python3-typing-extensions
|
||||||
|
|
||||||
%global _description %{expand:
|
%global _description %{expand:
|
||||||
The asttokens module annotates Python abstract syntax trees (ASTs)
|
The asttokens module annotates Python abstract syntax trees (ASTs)
|
||||||
@ -30,7 +33,7 @@ nodes, for example for automated refactoring or highlighting.}
|
|||||||
|
|
||||||
%package -n python3-asttokens
|
%package -n python3-asttokens
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
Requires: python3dist(six)
|
Requires: python3-six
|
||||||
%{?python_provide:%python_provide python3-asttokens}
|
%{?python_provide:%python_provide python3-asttokens}
|
||||||
|
|
||||||
%description -n python3-asttokens %_description
|
%description -n python3-asttokens %_description
|
||||||
@ -41,14 +44,14 @@ Requires: python3dist(six)
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pytest-3 tests/ -v --ignore=tests/testdata/
|
%pytest
|
||||||
|
|
||||||
%files -n python3-asttokens
|
%files -n python3-asttokens
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -57,5 +60,8 @@ pytest-3 tests/ -v --ignore=tests/testdata/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 17 2023 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 2.4.1-1
|
||||||
|
- Upgrade to version 2.4.1 and change the build method from py3 to pyproject
|
||||||
|
|
||||||
* Wed Mar 29 2023 li_zengyi <zengyi@isrc.iscas.ac.cn> - 2.2.1-1
|
* Wed Mar 29 2023 li_zengyi <zengyi@isrc.iscas.ac.cn> - 2.2.1-1
|
||||||
- Init asttokens 2.2.1 package
|
- Init asttokens 2.2.1 package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user