14
0

4 Commits

2 changed files with 19 additions and 5 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 23 01:30:16 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Tue Sep 24 18:43:34 UTC 2024 - Guang Yee <gyee@suse.com>
- Enable sle15_python_module_pythons.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 29 20:05:53 UTC 2022 - Dirk Müller <dmueller@suse.com> Sun May 29 20:05:53 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-easygui # spec file for package python-easygui
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
%define py_name easygui %define py_name easygui
Name: python-easygui Name: python-easygui
Version: 0.98.3 Version: 0.98.3
@@ -25,7 +25,9 @@ Summary: Function-driven python GUI programming
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/robertlugg/easygui URL: https://github.com/robertlugg/easygui
Source0: https://files.pythonhosted.org/packages/source/e/easygui/easygui-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/e/easygui/easygui-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -40,14 +42,15 @@ anything about tkinter, frames, widgets, callbacks or lambda.
%setup -q -n %{py_name}-%{version} %setup -q -n %{py_name}-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%doc README.txt %doc README.txt
%{python_sitelib}/* %{python_sitelib}/easygui
%{python_sitelib}/easygui-%{version}.dist-info
%changelog %changelog