From 5566d571c5158a02ee100967dfa01defeb7e194a065a0f4b644fea350dcc4cf3 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 4 Sep 2023 01:26:57 +0000 Subject: [PATCH] - Initial release of 0.9.3. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psygnal?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + psygnal-0.9.3.tar.gz | 3 ++ python-psygnal.changes | 4 ++ python-psygnal.spec | 83 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 114 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 psygnal-0.9.3.tar.gz create mode 100644 python-psygnal.changes create mode 100644 python-psygnal.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/psygnal-0.9.3.tar.gz b/psygnal-0.9.3.tar.gz new file mode 100644 index 0000000..ba8e90e --- /dev/null +++ b/psygnal-0.9.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:649a9b40c4ba2df93179e7b849593b3b0856e337f67ce4618a2a8e699c838048 +size 82489 diff --git a/python-psygnal.changes b/python-psygnal.changes new file mode 100644 index 0000000..c345c77 --- /dev/null +++ b/python-psygnal.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Sep 4 01:26:37 UTC 2023 - Steve Kowalik + +- Initial release of 0.9.3. diff --git a/python-psygnal.spec b/python-psygnal.spec new file mode 100644 index 0000000..98c0320 --- /dev/null +++ b/python-psygnal.spec @@ -0,0 +1,83 @@ +# +# spec file for package python-psygnal +# +# Copyright (c) 2023 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-psygnal +Version: 0.9.3 +Release: 0 +Summary: Fast python callback/event system modeled after Qt Signals +License: BSD-3-Clause +URL: https://github.com/pyapp-kit/psygnal +Source: https://files.pythonhosted.org/packages/source/p/psygnal/psygnal-%{version}.tar.gz +BuildRequires: %{python_module hatch-vcs} +BuildRequires: %{python_module hatchling >= 1.8.0} +BuildRequires: %{python_module pip} +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module mypy_extensions} +BuildRequires: %{python_module attrs} +BuildRequires: %{python_module dask} +BuildRequires: %{python_module msgspec} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pydantic} +BuildRequires: %{python_module pytest >= 6.0} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module toolz} +BuildRequires: %{python_module typing-extensions >= 3.7.4.2} +BuildRequires: %{python_module wrapt} +# /SECTION +BuildRequires: fdupes +Requires: python-mypy_extensions +Requires: python-typing-extensions >= 3.7.4.2 +Suggests: python-dask +Suggests: python-ipython +Suggests: python-numpy +Suggests: python-pydantic +Suggests: python-qtpy +Suggests: python-rich +Suggests: python-wrapt +Suggests: python-griffe == 0.25.5 +Suggests: python-wrapt +BuildArch: noarch +%python_subpackages + +%description +Psygnal (pronounced "signal") is a pure python implementation of the [observer +pattern](https://en.wikipedia.org/wiki/Observer_pattern), with the API of +[Qt-style Signals](https://doc.qt.io/qt-5/signalsandslots.html) with (optional) +signature and type checking, and support for threading. + +%prep +%autosetup -p1 -n psygnal-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc CHANGELOG.md README.md +%license LICENSE +%{python_sitelib}/psygnal +%{python_sitelib}/psygnal-%{version}.dist-info + +%changelog