17
0
2025-05-16 13:22:44 +00:00
committed by Git OBS Bridge
commit 39977319db
5 changed files with 167 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:adcfe623c02a595c107c314072f67a2278fe4eb40b72c0d1a2c903cc78af3439
size 10484

View File

@@ -0,0 +1,73 @@
-------------------------------------------------------------------
Fri May 16 08:27:53 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Wed Jul 28 09:32:20 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Update to 0.5.0
* Fix monkey-patching of functions with annotations
-------------------------------------------------------------------
Thu Apr 23 11:16:18 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Mon Oct 14 11:44:00 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
-------------------------------------------------------------------
Thu Sep 19 03:46:05 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add LANG to %check to fix build on Leap
-------------------------------------------------------------------
Thu Mar 7 10:26:05 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Enable tests
- Update to 0.4.4:
* no upstream changelog provided
- Add missing deps
-------------------------------------------------------------------
Fri Jun 30 17:26:59 UTC 2017 - aloisio@gmx.com
- Update to version 0.4.3
- Converted to single-spec
-------------------------------------------------------------------
Sun Jul 17 17:30:19 UTC 2016 - arun@gmx.de
- update to version 0.4.0:
* Rewrite using Future from the stdlib
- changes from version 0.3.0:
* Directly execute if on main thread
- changes from version 0.2.0:
* Put UI worker onto click context
-------------------------------------------------------------------
Sun May 8 07:15:51 UTC 2016 - arun@gmx.de
- specfile:
* updated source url to files.pythonhosted.org
-------------------------------------------------------------------
Tue Jan 19 23:04:49 UTC 2016 - sleep_walker@opensuse.org
- added comment about test not being present
-------------------------------------------------------------------
Tue Jan 19 10:56:06 UTC 2016 - sleep_walker@opensuse.org
- polish spec file (not only) with spec-cleaner
-------------------------------------------------------------------
Tue Jan 19 00:03:15 UTC 2016 - sleep_walker@opensuse.org
- let there be python3-click-threading!

View File

@@ -0,0 +1,67 @@
#
# spec file for package python-click-threading
#
# 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/
#
Name: python-click-threading
Version: 0.5.0
Release: 0
Summary: Multithreaded Click apps made easy
License: MIT
URL: https://github.com/click-contrib/click-threading
Source: https://files.pythonhosted.org/packages/source/c/click-threading/click-threading-%{version}.tar.gz
BuildRequires: %{python_module click >= 5.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-click >= 5.0
BuildArch: noarch
%if %{with python2}
BuildRequires: python-futures
%endif
%ifpython2
Requires: python-futures
%endif
%python_subpackages
%description
Utilities for multithreading in click <http://click.pocoo.org/>.
*This is rather experimental. See tests for usage for now.*
%prep
%setup -q -n click-threading-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export LANG=en_US.UTF-8
%pytest tests
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/click[-_]threading
%{python_sitelib}/click[-_]threading-%{version}*-info
%changelog