Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-flynt for openSUSE:Factory 
checked in at 2023-07-11 15:57:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flynt (Old)
 and      /work/SRC/openSUSE:Factory/.python-flynt.new.8922 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-flynt"

Tue Jul 11 15:57:08 2023 rev:2 rq:1098032 version:0.78

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-flynt/python-flynt.changes        
2022-01-25 17:37:57.469553911 +0100
+++ /work/SRC/openSUSE:Factory/.python-flynt.new.8922/python-flynt.changes      
2023-07-11 15:57:29.093234750 +0200
@@ -1,0 +2,9 @@
+Thu Jul  6 13:05:53 UTC 2023 - ecsos <[email protected]>
+
+- 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}
+
+-------------------------------------------------------------------

Old:
----
  flynt-0.76.tar.gz

New:
----
  python-flynt-0.78.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-flynt.spec ++++++
--- /var/tmp/diff_new_pack.yU4Eal/_old  2023-07-11 15:57:29.769238683 +0200
+++ /var/tmp/diff_new_pack.yU4Eal/_new  2023-07-11 15:57:29.769238683 +0200
@@ -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 @@
 %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 @@
 %doc README.md
 %license LICENSE
 %python_alternative %{_bindir}/flynt
-%{python_sitelib}/*
+%{python_sitelib}/flynt
+%{python_sitelib}/flynt-%{version}*-info
 
 %changelog

Reply via email to