14
0

Accepting request 887218 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/887218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp-socks?expand=0&rev=4
This commit is contained in:
2021-04-23 15:50:35 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 7 deletions

View File

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

View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Apr 21 05:47:04 UTC 2021 - Jiri Slaby <jslaby@suse.cz>
- Update to 0.6.0:
* Use a custom proxy server and local http server for tests
* Use python-socks extended API
- Add a simple import test at least
-------------------------------------------------------------------
Tue Feb 23 03:56:05 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -19,7 +19,7 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-aiohttp-socks
Version: 0.5.5
Version: 0.6.0
Release: 0
Summary: SOCKS proxy connector for aiohttp
License: Apache-2.0
@@ -31,11 +31,14 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-aiohttp >= 2.3.2
Requires: python-attrs >= 19.2.0
Requires: python-python-socks >= 1.0.1
BuildArch: noarch
# SECTION test requirements
#BuildRequires: %{python_module aiohttp >= 2.3.2}
#BuildRequires: %{python_module pytest-asyncio}
#BuildRequires: %{python_module pytest}
BuildRequires: %{python_module aiohttp >= 2.3.2}
BuildRequires: %{python_module attrs >= 1.0.1}
#BuildRequires: %%{python_module pytest-asyncio}
BuildRequires: %{python_module python-socks >= 1.0.1}
#BuildRequires: %%{python_module pytest}
#BuildRequires: 3proxy
# /SECTION
%python_subpackages
@@ -58,6 +61,9 @@ dos2unix README.md
# tests need access to the internet
#%%pytest
# so try at least a simple import
echo 'from aiohttp_socks import ProxyConnector'|python3
%files %{python_files}
%doc README.md
%license LICENSE.txt