15
0

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
This commit is contained in:
2021-06-23 13:14:45 +00:00
committed by Git OBS Bridge
parent 2099601b18
commit f142e7da6a
4 changed files with 22 additions and 7 deletions

View File

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

3
aiofiles-0.7.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Jun 16 15:13:33 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <alarrosa@suse.com>

View File

@@ -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