commit 47fbbe49d4f72d3b42fecb306d8bb1641bd986882c79b135ba16fd93e2b5b6bf Author: Matej Cepl Date: Tue Nov 30 06:25:42 2021 +0000 Accepting request 934649 from home:oleksis.fraga Use BSD 2-Clause "Simplified" License OBS-URL: https://build.opensuse.org/request/show/934649 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypubsub?expand=0&rev=1 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/_service b/_service new file mode 100644 index 0000000..11a67eb --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + https + github.com + schollii/pypubsub/archive/refs/tags/v4.0.3.tar.gz + + + _service:download_url:v4.0.3.tar.gz + sha256 + 0df83daa1cb0021bab858ff6812d836c9712dea59a5172be1888bb554c3a89a2 + + diff --git a/_service:download_url:v4.0.3.tar.gz b/_service:download_url:v4.0.3.tar.gz new file mode 100644 index 0000000..237e974 --- /dev/null +++ b/_service:download_url:v4.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0df83daa1cb0021bab858ff6812d836c9712dea59a5172be1888bb554c3a89a2 +size 174033 diff --git a/python-pypubsub.changes b/python-pypubsub.changes new file mode 100644 index 0000000..274de38 --- /dev/null +++ b/python-pypubsub.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 30 04:30:49 UTC 2021 - Oleksis Fraga + +- Use BSD 2-Clause "Simplified" License + +------------------------------------------------------------------- +Sun Nov 28 22:19:37 UTC 2021 - Oleksis Fraga + +- update to version 4.0.3-1 + * initial package python-pypubsub diff --git a/python-pypubsub.spec b/python-pypubsub.spec new file mode 100644 index 0000000..4f137a1 --- /dev/null +++ b/python-pypubsub.spec @@ -0,0 +1,81 @@ +# +# spec file for package python-pypubsub +# +# Copyright (c) 2021 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/ +# + + +%define debug_package %{nil} +%global pypi_name pypubsub +%global src_name Pypubsub +%define skip_python2 1 + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} + +Name: python-%{pypi_name} +Version: 4.0.3 +Release: 0 +Summary: Python Publish-Subscribe Package +Group: Development/Python +License: BSD-2-Clause +URL: https://github.com/schollii/pypubsub +Source: https://github.com/schollii/%{pypi_name}/archive/refs/tags/v%{version}.tar.gz + +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros + +BuildArch: noarch + +%python_subpackages + +%description +PyPubSub provides a publish - subscribe API that facilitates the development of +event-based / message-based applications. PyPubSub supports sending and +receiving messages between objects of an application. It is centered on the +notion of a topic; senders publish messages of a given topic, and listeners +subscribe to messages of a given topic. The package also supports a variety of +advanced features that facilitate debugging and maintaining pypubsub topics and +messages in larger applications. + +%prep +%setup -q -n %{pypi_name}-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +pushd tests/suite +%pytest +popd + +%files %{python_files} +%doc README.rst src/pubsub/RELEASE_NOTES.txt +%license src/pubsub/LICENSE_BSD_Simple.txt +%dir %{python_sitelib}/%{src_name}-%{version}-py%{python_version}.egg-info +%{python_sitelib}/pubsub +%{python_sitelib}/%{src_name}-%{version}*-info + +%changelog +* Tue Nov 30 04:30:49 UTC 2021 - Oleksis Fraga +- Use BSD 2-Clause "Simplified" License +* Sun Nov 28 22:19:37 UTC 2021 - Oleksis Fraga +- update to version 4.0.3-1 + * initial package python-pypubsub +