From f142e7da6aef45bb80f4699a3e6fd8f5b9af7ddf09285601c2ca52048d6bc616 Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Wed, 23 Jun 2021 13:14:45 +0000 Subject: [PATCH] Accepting request 900415 from home:glaubitz:branches:devel:languages:python - Update to 0.7.0 * Added the aiofiles.tempfile module for async temporary files. #56 * Switched to Poetry and GitHub actions. * Dropped 3.5 support. - Switch Python packaging from setuptools to poetry * Add python-pip to BuildRequires * Add python-poetry-core to BuildRequires * Remove python-setuptools from BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install OBS-URL: https://build.opensuse.org/request/show/900415 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiofiles?expand=0&rev=5 --- aiofiles-0.6.0.tar.gz | 3 --- aiofiles-0.7.0.tar.gz | 3 +++ python-aiofiles.changes | 14 ++++++++++++++ python-aiofiles.spec | 9 +++++---- 4 files changed, 22 insertions(+), 7 deletions(-) delete mode 100644 aiofiles-0.6.0.tar.gz create mode 100644 aiofiles-0.7.0.tar.gz diff --git a/aiofiles-0.6.0.tar.gz b/aiofiles-0.6.0.tar.gz deleted file mode 100644 index 8f722e9..0000000 --- a/aiofiles-0.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6eab26cca53ea091d0e1730b289a5b460e665fad062caec061a8cca33566c375 -size 13585 diff --git a/aiofiles-0.7.0.tar.gz b/aiofiles-0.7.0.tar.gz new file mode 100644 index 0000000..3d3d2bb --- /dev/null +++ b/aiofiles-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2baf8e70f95618214c4910730fd625bfaa4a8b8957838b34364b0a2c7d41db9e +size 23245 diff --git a/python-aiofiles.changes b/python-aiofiles.changes index 4b8601f..7f3de36 100644 --- a/python-aiofiles.changes +++ b/python-aiofiles.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Jun 16 15:13:33 UTC 2021 - John Paul Adrian Glaubitz + +- Update to 0.7.0 + * Added the aiofiles.tempfile module for async temporary files. #56 + * Switched to Poetry and GitHub actions. + * Dropped 3.5 support. +- Switch Python packaging from setuptools to poetry + * Add python-pip to BuildRequires + * Add python-poetry-core to BuildRequires + * Remove python-setuptools from BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install + ------------------------------------------------------------------- Wed Feb 3 10:57:36 UTC 2021 - Antonio Larrosa diff --git a/python-aiofiles.spec b/python-aiofiles.spec index 37465d9..c980ccd 100644 --- a/python-aiofiles.spec +++ b/python-aiofiles.spec @@ -19,14 +19,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-aiofiles -Version: 0.6.0 +Version: 0.7.0 Release: 0 Summary: File support for asyncio License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/Tinche/aiofiles Source: https://github.com/Tinche/aiofiles/archive/v%{version}.tar.gz#/aiofiles-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements @@ -43,10 +44,10 @@ aiofiles: file support for asyncio %setup -q -n aiofiles-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check