forked from pool/python-pyupgrade
Accepting request 1198060 from devel:languages:python
- update to 3.17.0: * remove python 3.8 support * rewrite TypeVar defaults for Generator / AsyncGenerator * run pyupgrade on itself OBS-URL: https://build.opensuse.org/request/show/1198060 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyupgrade?expand=0&rev=35
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:22db026d0bf7e26c9955b45d12cf269f0fe71b32157b3e59ce6792688dd7b5f1
|
||||
size 65582
|
3
python-pyupgrade-3.17.0.tar.gz
Normal file
3
python-pyupgrade-3.17.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7e0ad5086fd4e4e6c175799d601684ca8c71a9181bcdc089981f46eb2a3f6d1a
|
||||
size 66098
|
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 31 12:15:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.17.0:
|
||||
* remove python 3.8 support
|
||||
* rewrite TypeVar defaults for Generator / AsyncGenerator
|
||||
* run pyupgrade on itself
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 24 15:44:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -18,16 +18,16 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyupgrade
|
||||
Version: 3.16.0
|
||||
Version: 3.17.0
|
||||
Release: 0
|
||||
Summary: A tool to automatically upgrade syntax for newer versions
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/asottile/pyupgrade
|
||||
# pypi tarball does not include tests, use github instead. PR for inclusion was denied https://github.com/asottile/pyupgrade/pull/326
|
||||
Source: https://github.com/asottile/pyupgrade/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
#Source: https://files.pythonhosted.org/packages/source/p/pyupgrade/pyupgrade-%%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
@@ -49,10 +49,10 @@ programming language.
|
||||
%setup -q -n pyupgrade-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/pyupgrade
|
||||
|
||||
@@ -69,6 +69,7 @@ programming language.
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/pyupgrade
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/pyupgrade
|
||||
%{python_sitelib}/pyupgrade-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user