diff --git a/flynt-0.76.tar.gz b/flynt-0.76.tar.gz deleted file mode 100644 index c833254..0000000 --- a/flynt-0.76.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a99c5a550ea9e8c21203f6999ed8ce69cbad7bc8465268469777cf06413193a -size 31839 diff --git a/python-flynt-0.78.tar.gz b/python-flynt-0.78.tar.gz new file mode 100644 index 0000000..a00fce3 --- /dev/null +++ b/python-flynt-0.78.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be3508adad6e15878053ffc011fbc2e8e47b8175997661112119e990ef808ac6 +size 54675 diff --git a/python-flynt.changes b/python-flynt.changes index a7ddbc9..1e30080 100644 --- a/python-flynt.changes +++ b/python-flynt.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Jul 6 13:05:53 UTC 2023 - ecsos + +- Update to 0.78 + - no changelog from upstream +- Change Source from pythonhosted to github because tests are + missing in source from pythonhosted. +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Tue Jan 25 09:50:38 UTC 2022 - Dirk Müller diff --git a/python-flynt.spec b/python-flynt.spec index 658c5c9..110d7be 100644 --- a/python-flynt.spec +++ b/python-flynt.spec @@ -1,7 +1,7 @@ # # spec file for package python-flynt # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,18 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-flynt -Version: 0.76 +Version: 0.78 Release: 0 Summary: CLI tool to convert a python project's %-formatted strings to f-strings License: MIT URL: https://github.com/ikamensh/flynt -Source: https://files.pythonhosted.org/packages/source/f/flynt/flynt-%{version}.tar.gz +Source: https://github.com/ikamensh/flynt/archive/%{version}/%{name}-%{version}.tar.gz +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-astor @@ -44,10 +47,10 @@ CLI tool to convert a python project's %-formatted strings to f-strings. %setup -q -n flynt-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/flynt %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -64,6 +67,7 @@ CLI tool to convert a python project's %-formatted strings to f-strings. %doc README.md %license LICENSE %python_alternative %{_bindir}/flynt -%{python_sitelib}/* +%{python_sitelib}/flynt +%{python_sitelib}/flynt-%{version}*-info %changelog