diff --git a/Pykka-2.0.2.tar.gz b/Pykka-2.0.2.tar.gz deleted file mode 100644 index 2fa9eb6..0000000 --- a/Pykka-2.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:895cc2ed8779b65dd14a90ba3f4b8cb0f7904c7bf0710fe96a923019f8e82a39 -size 51858 diff --git a/pykka-3.0.2.tar.gz b/pykka-3.0.2.tar.gz new file mode 100644 index 0000000..4faf4c0 --- /dev/null +++ b/pykka-3.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b146203f0266207ca132520a10f1c2de872a2186a7a9c778bdaa45f681ae3d07 +size 44440 diff --git a/python-Pykka.changes b/python-Pykka.changes deleted file mode 100644 index fd422d1..0000000 --- a/python-Pykka.changes +++ /dev/null @@ -1,32 +0,0 @@ -------------------------------------------------------------------- -Mon Dec 2 14:30:24 CET 2019 - Matej Cepl - -- Update to 2.0.2: - - Make :class:`~pykka.ActorRef` hashable - - Fix test suite run with pytest-mocker >= 1.11.2. - -------------------------------------------------------------------- -Tue May 21 10:49:22 UTC 2019 - Ondřej Súkup - -- update to 2.0.0 -- enable tests - -------------------------------------------------------------------- -Wed Dec 19 00:32:45 UTC 2018 - Jan Engelhardt - -- Trim bias from description. Avoid name repetition in summary. - -------------------------------------------------------------------- -Tue Dec 4 12:52:22 UTC 2018 - Matej Cepl - -- Remove superfluous devel dependency for noarch package - -------------------------------------------------------------------- -Wed Jan 10 08:23:50 UTC 2018 - tbechtold@suse.com - -- Convert to singlespec - -------------------------------------------------------------------- -Wed Jan 10 08:19:52 UTC 2018 - tbechtold@suse.com - -- Initial packaging (version 1.2.1) diff --git a/python-pykka.changes b/python-pykka.changes new file mode 100644 index 0000000..37afdef --- /dev/null +++ b/python-pykka.changes @@ -0,0 +1,70 @@ +------------------------------------------------------------------- +Fri May 27 12:11:57 UTC 2022 - Matej Cepl + +- Follow the upstream and rename Pykka to pykka. +- Update to 3.0.2: + - Add support for Python 3.10. Tests are now run on Python 3.10 + too. No other changes required. + - Minor reorganization of docs. + - Use SPDX identifier for license in project metadata. + - Remove upper version boundary for importlib_metadata. + - Remove support for Python 2.7. It reached end-of-life in + January 2020. + - Remove support for Python 3.5. It reached end-of-life in + September 2020. + - Remove support for running actors on top of eventlet. This + was deprecated in Pykka 2.0.3. + - Remove support for running actors on top of gevent. This was + deprecated in Pykka 2.0.3 + - Remove support for automatically upgrading the internal + message format used by Pykka < 2.0 to the message types used + by Pykka >= 2.0. + - Include complete type hint stubs for all public APIs in the + PyPI distribution. + - Remove PyPy from the test matrix. There are no known changes + that should cause Pykka to stop working on PyPy, but we will + no longer spend any effort to keep CI for PyPy running. + - Mark eventlet and gevent support as deprecated. The support + will be removed in Pykka 3.0. + - These were somewhat interesting ways to implement concurrency + in Python when Pykka was conceived in 2011. Today, it is + unclear it these libraries still have any mindshare or if + keeping the support for them just adds an unnecessary burden + to Pykka's maintenance. + - Include Python 3.9 in the test matrix. + - Add missing None default value for the timeout keyword + argument to pykka.eventlet.EventletEvent.wait(), so that it + matches the threading.Event API. + +------------------------------------------------------------------- +Mon Dec 2 14:30:24 CET 2019 - Matej Cepl + +- Update to 2.0.2: + - Make :class:`~pykka.ActorRef` hashable + - Fix test suite run with pytest-mocker >= 1.11.2. + +------------------------------------------------------------------- +Tue May 21 10:49:22 UTC 2019 - Ondřej Súkup + +- update to 2.0.0 +- enable tests + +------------------------------------------------------------------- +Wed Dec 19 00:32:45 UTC 2018 - Jan Engelhardt + +- Trim bias from description. Avoid name repetition in summary. + +------------------------------------------------------------------- +Tue Dec 4 12:52:22 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Wed Jan 10 08:23:50 UTC 2018 - tbechtold@suse.com + +- Convert to singlespec + +------------------------------------------------------------------- +Wed Jan 10 08:19:52 UTC 2018 - tbechtold@suse.com + +- Initial packaging (version 1.2.1) diff --git a/python-Pykka.spec b/python-pykka.spec similarity index 68% rename from python-Pykka.spec rename to python-pykka.spec index 17c42fa..ce2b253 100644 --- a/python-Pykka.spec +++ b/python-pykka.spec @@ -1,7 +1,7 @@ # -# spec file for package python-Pykka +# spec file for package python-pykka # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,25 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-Pykka -Version: 2.0.2 +%define modname pykka +Name: python-pykka +Version: 3.0.2 Release: 0 Summary: A Python implementation of the actor model License: Apache-2.0 Group: Development/Languages/Python URL: http://www.pykka.org/ -Source: https://files.pythonhosted.org/packages/source/P/Pykka/Pykka-%{version}.tar.gz +Source: https://github.com/jodal/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch +Provides: python-Pykka < %{version}-%{release} +Obsoletes: python-Pykka = %{version}-%{release} %python_subpackages %description @@ -40,14 +45,15 @@ rules to control the sharing of state and cooperation between execution units, with which one can build concurrent applications. %prep -%setup -q -n Pykka-%{version} -%autopatch -p1 +%autosetup -p1 -n %{modname}-%{version} + +rm -v docs/_build/.gitignore %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -55,7 +61,8 @@ units, with which one can build concurrent applications. %files %{python_files} %license LICENSE -%doc README.rst -%{python_sitelib}/* +%doc README.md docs/ +%{python_sitelib}/pykka +%{python_sitelib}/pykka-%{version}*-info %changelog