From deb05bcb5d40ab7e8095d36ca6d99cdb3d491aac975ac59f7ffdad5d320071b6 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 10 Jul 2025 04:53:39 +0000 Subject: [PATCH] - Upgrade to 1.4.0: * Added decorator functionality to Signal as a convenient way to add a callback * Improved type safety by allowing callback parameters to be type checked (typing-extensions is now required for Python <3.13). Parameters for a Signal callback should now be defined like Signal[int, str] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosignal?expand=0&rev=12 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + aiosignal-1.3.1.tar.gz | 3 ++ aiosignal-1.3.2.tar.gz | 3 ++ aiosignal-1.4.0.tar.gz | 3 ++ python-aiosignal.changes | 54 +++++++++++++++++++++++++++++++ python-aiosignal.spec | 70 ++++++++++++++++++++++++++++++++++++++++ 7 files changed, 157 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 aiosignal-1.3.1.tar.gz create mode 100644 aiosignal-1.3.2.tar.gz create mode 100644 aiosignal-1.4.0.tar.gz create mode 100644 python-aiosignal.changes create mode 100644 python-aiosignal.spec 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/aiosignal-1.3.1.tar.gz b/aiosignal-1.3.1.tar.gz new file mode 100644 index 0000000..376852f --- /dev/null +++ b/aiosignal-1.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc +size 19422 diff --git a/aiosignal-1.3.2.tar.gz b/aiosignal-1.3.2.tar.gz new file mode 100644 index 0000000..bcc1084 --- /dev/null +++ b/aiosignal-1.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8c255c66fafb1e499c9351d0bf32ff2d8a0321595ebac3b93713656d2436f54 +size 19424 diff --git a/aiosignal-1.4.0.tar.gz b/aiosignal-1.4.0.tar.gz new file mode 100644 index 0000000..4538233 --- /dev/null +++ b/aiosignal-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7 +size 25007 diff --git a/python-aiosignal.changes b/python-aiosignal.changes new file mode 100644 index 0000000..1956ef5 --- /dev/null +++ b/python-aiosignal.changes @@ -0,0 +1,54 @@ +------------------------------------------------------------------- +Thu Jul 10 04:53:25 UTC 2025 - Steve Kowalik + +- Upgrade to 1.4.0: + * Added decorator functionality to Signal as a convenient way to add a + callback + * Improved type safety by allowing callback parameters to be type checked + (typing-extensions is now required for Python <3.13). Parameters for a + Signal callback should now be defined like Signal[int, str] + +------------------------------------------------------------------- +Fri Jun 13 05:35:05 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + +------------------------------------------------------------------- +Tue Jan 21 10:06:18 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.3.2 + * Dropped Python 3.7 support. (#413) + * Dropped Python 3.8 support. (#645) + * Remove redundant wheel dep from pyproject.toml. (#362) + +------------------------------------------------------------------- +Fri May 5 10:16:37 UTC 2023 - Daniel Garcia + +- Update to 1.3.1: + * Removed stray quote and comma from setup.cfg preventing PyPI from + accepting a release. (#361) +- 1.3.0: + * Switched to declarative package setup. #267 + * Added support for Python 3.11. #360 + * Dropped Python 3.6 support. #267 + +------------------------------------------------------------------- +Fri Apr 21 12:21:44 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:39:52 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Mon Dec 20 21:08:34 UTC 2021 - Matej Cepl + +- Add missing test dependency pytest-asyncio + +------------------------------------------------------------------- +Sat Dec 11 19:21:30 UTC 2021 - Ben Greiner + +- initial specfile for version 1.2.0 +- required by aiohttp 3.8 diff --git a/python-aiosignal.spec b/python-aiosignal.spec new file mode 100644 index 0000000..67a15de --- /dev/null +++ b/python-aiosignal.spec @@ -0,0 +1,70 @@ +# +# spec file for package python-aiosignal +# +# 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-aiosignal +Version: 1.4.0 +Release: 0 +Summary: a list of registered asynchronous callbacks +License: Apache-2.0 +URL: https://github.com/aio-libs/aiosignal +Source: https://files.pythonhosted.org/packages/source/a/aiosignal/aiosignal-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.9} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-frozenlist >= 1.1.0 +%if 0%{?python_version_nodots} < 313 +Requires: python-typing_extensions >= 4.4 +%endif +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module frozenlist >= 1.1.0} +BuildRequires: %{python_module pytest-asyncio} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module typing_extensions >= 4.4} +# /SECTION +%python_subpackages + +%description +A project to manage callbacks in asyncio projects. +Signal is a list of registered asynchronous callbacks. + +%prep +%setup -q -n aiosignal-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc CHANGES.rst README.rst +%license LICENSE +%{python_sitelib}/aiosignal +%{python_sitelib}/aiosignal-%{version}.dist-info + +%changelog