forked from pool/python-dialite
- 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dialite?expand=0&rev=10
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
dialite-0.5.3.tar.gz
Normal file
3
dialite-0.5.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:de968f805fdc7f5545f15f5e17c2472198e0f6665b77f72be056f553d99292ef
|
||||
size 10091
|
||||
3
dialite-0.6.0.tar.gz
Normal file
3
dialite-0.6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8d36c144f5c2388431b9e00a5eae817648df9277e22b5cac29c678663c7cf52f
|
||||
size 17284
|
||||
45
python-dialite.changes
Normal file
45
python-dialite.changes
Normal file
@@ -0,0 +1,45 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 12:01:04 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
- Update to 0.5.3
|
||||
* fix logging argument bug (#5)
|
||||
* formatting
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 14:25:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.5.2:
|
||||
* include tests
|
||||
- Execute tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:47:16 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove superfluous devel dependency for noarch package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 30 09:33:18 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Ensure neutrality and relevance of description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 29 14:51:40 UTC 2018 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Initial version
|
||||
68
python-dialite.spec
Normal file
68
python-dialite.spec
Normal file
@@ -0,0 +1,68 @@
|
||||
#
|
||||
# spec file for package python-dialite
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-dialite
|
||||
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
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Dialite is a pure Python package to show dialogs. It provides a
|
||||
handful of functions, each a verb, that can be used to inform(),
|
||||
warn() or fail() the user, or to ask_ok(), ask_retry() or
|
||||
ask_yesno().
|
||||
|
||||
Dialite can show graphical dialogs, and falls back to a terminal
|
||||
interface if dialogs are unavailable (e.g. if not supported by the
|
||||
platform, or for SSH connections).
|
||||
|
||||
%prep
|
||||
%setup -q -n dialite-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/dialite
|
||||
%{python_sitelib}/dialite-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user