diff --git a/dialite-0.5.3.tar.gz b/dialite-0.5.3.tar.gz deleted file mode 100644 index 36e77a0..0000000 --- a/dialite-0.5.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de968f805fdc7f5545f15f5e17c2472198e0f6665b77f72be056f553d99292ef -size 10091 diff --git a/dialite-0.6.0.tar.gz b/dialite-0.6.0.tar.gz new file mode 100644 index 0000000..31cd4a2 --- /dev/null +++ b/dialite-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d36c144f5c2388431b9e00a5eae817648df9277e22b5cac29c678663c7cf52f +size 17284 diff --git a/python-dialite.changes b/python-dialite.changes index 07e83c1..1133a52 100644 --- a/python-dialite.changes +++ b/python-dialite.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Feb 10 12:01:04 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.6.0 + * Modernized repo after a few years. + * Dropped Python 2.7 support. + * For python 2.7 use version 0.5.3. +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install + * Update name for dist directory in %files section +- Update BuildRequires from pyproject.toml + ------------------------------------------------------------------- Sat Jan 2 19:35:13 UTC 2021 - Benjamin Greiner diff --git a/python-dialite.spec b/python-dialite.spec index 02776ab..4252552 100644 --- a/python-dialite.spec +++ b/python-dialite.spec @@ -1,7 +1,7 @@ # # spec file for package python-dialite # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,20 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-dialite -Version: 0.5.3 +Version: 0.6.0 Release: 0 Summary: Python library to show simple dialogs License: BSD-2-Clause Group: Development/Languages/Python URL: http://dialite.readthedocs.io Source: https://files.pythonhosted.org/packages/source/d/dialite/dialite-%{version}.tar.gz +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Recommends: zenity @@ -47,10 +50,10 @@ platform, or for SSH connections). %setup -q -n dialite-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -60,6 +63,6 @@ platform, or for SSH connections). %doc README.md %license LICENSE %{python_sitelib}/dialite -%{python_sitelib}/dialite-%{version}*-info +%{python_sitelib}/dialite-%{version}.dist-info %changelog