14
0
forked from pool/python-unsync

Accepting request 1235517 from home:glaubitz:branches:devel:languages:python

- Update to version 1.3.2
  * Delete print("DERP") (#39)
- from version 1.3.1
  * Add a multi-process example
  * Cleanup README
  * Modify async example in documentation (#36)
  * Support setting custom event loops (#34)
  * Refactor lazy initialized unsync class members into properties
- Switch package to modern Python Stack on SLE-15
  * Use Python 3.11 on SLE-15 by default
  * Drop support for older Python versions
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install

OBS-URL: https://build.opensuse.org/request/show/1235517
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unsync?expand=0&rev=3
This commit is contained in:
2025-01-07 09:16:18 +00:00
committed by Git OBS Bridge
parent ac61b30175
commit c3fb7c3c2c
4 changed files with 30 additions and 9 deletions

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Jan 7 08:46:22 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 1.3.2
* Delete print("DERP") (#39)
- from version 1.3.1
* Add a multi-process example
* Cleanup README
* Modify async example in documentation (#36)
* Support setting custom event loops (#34)
* Refactor lazy initialized unsync class members into properties
- Switch package to modern Python Stack on SLE-15
* Use Python 3.11 on SLE-15 by default
* Drop support for older Python versions
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 2 01:40:00 UTC 2021 - Matej Cepl <mcepl@suse.com> Sat Jan 2 01:40:00 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-unsync # spec file for package python-unsync
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -15,17 +15,19 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
%define modname unsync %define modname unsync
Name: python-unsync Name: python-unsync
Version: 1.3 Version: 1.3.2
Release: 0 Release: 0
Summary: Unsynchronize asyncio Summary: Unsynchronize asyncio
License: MIT License: MIT
URL: https://github.com/alex-sherman/unsync URL: https://github.com/alex-sherman/unsync
Source: https://github.com/alex-sherman/%{modname}/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz Source: https://github.com/alex-sherman/%{modname}/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -62,10 +64,10 @@ Unsynchronize `asyncio` by using an ambient event loop in a separate thread.
%setup -q -n unsync-%{version} %setup -q -n unsync-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check

3
unsync-1.3.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:511124deb8135718d1b27361ceca1d61a48c224d242fb6a204f082a972d76dba
size 8945

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c1c585a7b5e108b89cb40ef2af99fe10ba49011a81985dfea100305c13c5b839
size 8284