commit 39977319db4033744762d2eaeccdf57caa0f9fc05f1e0f7854fc630d93a1efaa Author: Nico Krapp Date: Fri May 16 13:22:44 2025 +0000 - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-threading?expand=0&rev=12 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/click-threading-0.5.0.tar.gz b/click-threading-0.5.0.tar.gz new file mode 100644 index 0000000..9a5a401 --- /dev/null +++ b/click-threading-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:adcfe623c02a595c107c314072f67a2278fe4eb40b72c0d1a2c903cc78af3439 +size 10484 diff --git a/python-click-threading.changes b/python-click-threading.changes new file mode 100644 index 0000000..2b8167b --- /dev/null +++ b/python-click-threading.changes @@ -0,0 +1,73 @@ +------------------------------------------------------------------- +Fri May 16 08:27:53 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Wed Jul 28 09:32:20 UTC 2021 - Markéta Machová + +- Update to 0.5.0 + * Fix monkey-patching of functions with annotations + +------------------------------------------------------------------- +Thu Apr 23 11:16:18 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + +------------------------------------------------------------------- +Mon Oct 14 11:44:00 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +------------------------------------------------------------------- +Thu Sep 19 03:46:05 UTC 2019 - John Vandenberg + +- Add LANG to %check to fix build on Leap + +------------------------------------------------------------------- +Thu Mar 7 10:26:05 UTC 2019 - Tomáš Chvátal + +- 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! + diff --git a/python-click-threading.spec b/python-click-threading.spec new file mode 100644 index 0000000..5992770 --- /dev/null +++ b/python-click-threading.spec @@ -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 . +*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