forked from pool/python-aiohttp-socks
up to 0.10.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp-socks?expand=0&rev=30
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
aiohttp_socks-0.10.1.tar.gz
Normal file
3
aiohttp_socks-0.10.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:49f2e1f8051f2885719beb1b77e312b5a27c3e4b60f0b045a388f194d995e068
|
||||
size 10445
|
||||
3
aiohttp_socks-0.8.4.tar.gz
Normal file
3
aiohttp_socks-0.8.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6b611d4ce838e9cf2c2fed5e0dba447cc84824a6cba95dc5747606201da46cb4
|
||||
size 8510
|
||||
3
aiohttp_socks-0.9.0.tar.gz
Normal file
3
aiohttp_socks-0.9.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:22159a1af026b229cfe5ea007e065bb3fe56385a951a82623a6f4588a6758003
|
||||
size 10201
|
||||
3
aiohttp_socks-0.9.1.tar.gz
Normal file
3
aiohttp_socks-0.9.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b320d1bb156fc56d0b31f9de8d5b9b0affbcf1f2df9b8172334dc10e63e4e2f
|
||||
size 10337
|
||||
119
python-aiohttp-socks.changes
Normal file
119
python-aiohttp-socks.changes
Normal file
@@ -0,0 +1,119 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 27 07:02:43 UTC 2024 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- Update to 0.10.1
|
||||
* fix ProxyConnector port type hint: str -> int
|
||||
* Update README.md
|
||||
* Refactoring
|
||||
* Make host and port arguments required
|
||||
* Fix compatibility with Python 3.8
|
||||
* minimal typing changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 08:32:57 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 0.9.1
|
||||
* Update Github CI configuration
|
||||
* Update README.md
|
||||
* Update .gitignore
|
||||
* Move project metadata to pyproject.toml
|
||||
* Update pyproject.toml, bump version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 21 13:18:11 UTC 2024 - Frantisek Simorda <frantisek.simorda@suse.com>
|
||||
|
||||
- Update to 0.9.0:
|
||||
* Fix compatibility with aiohttp v3.10
|
||||
* Update requirements-dev.txt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 29 18:52:05 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add missing buildrequire to fix Leap build error.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 10 13:35:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.8.4:
|
||||
* Reimplement proxy chains
|
||||
* Implement another solution to fix issue #27
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 18 10:18:43 UTC 2023 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- update to 0.8.3:
|
||||
* fixes for https://github.com/romis2012/aiohttp-socks/issues/27
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 5 07:14:50 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Clean up SPEC file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 4 11:31:01 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 23 14:34:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.8.0:
|
||||
* Added `proxy_ssl` parameter
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 15 17:22:13 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.7.1:
|
||||
Pin python-socks dependency to the >=2.0.0
|
||||
Upgrade python-socks to 2.0.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to 0.5.5:
|
||||
* Fix asyncio DeprecationWarning: The loop argument is deprecated
|
||||
* Make deprecated API (SocksConnector etc) available again
|
||||
* Misc fixes, remove deprecated API (SocksConnector etc)
|
||||
* Fix cancellation handling
|
||||
* Improve timeouts handling
|
||||
* First use ipv4 when resolving hostnames
|
||||
* Change the default value of the family parameter to AF_UNSPEC
|
||||
* Make it compatible with aiohttp 2.x again
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 16 16:21:13 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to 0.3.4
|
||||
* Resolve proxy host explicitly
|
||||
* Add Proxy chaining support
|
||||
* Fix StreamSocketReadWriteMixin.read_all
|
||||
* Add HTTP proxy support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 25 11:09:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Use pypi archive instead of github one, no difference for us
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 12 15:00:30 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Disable the tests as they do not work without direct network
|
||||
access
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 11 11:25:03 UTC 2019 - Jiri Slaby <jslaby@suse.com>
|
||||
|
||||
- clean up spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 6 12:59:49 UTC 2019 - Jiri Slaby <jslaby@suse.com>
|
||||
|
||||
- initial package
|
||||
72
python-aiohttp-socks.spec
Normal file
72
python-aiohttp-socks.spec
Normal file
@@ -0,0 +1,72 @@
|
||||
#
|
||||
# spec file for package python-aiohttp-socks
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-aiohttp-socks
|
||||
Version: 0.10.1
|
||||
Release: 0
|
||||
Summary: SOCKS proxy connector for aiohttp
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/romis2012/aiohttp-socks
|
||||
Source: https://files.pythonhosted.org/packages/source/a/aiohttp_socks/aiohttp_socks-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-aiohttp >= 2.3.2
|
||||
Requires: python-attrs >= 19.2.0
|
||||
Requires: python-python-socks >= 2.0.0
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module aiohttp >= 2.3.2}
|
||||
BuildRequires: %{python_module async_timeout}
|
||||
BuildRequires: %{python_module attrs >= 1.0.1}
|
||||
BuildRequires: %{python_module python-socks >= 2.0.0}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
SOCKS proxy connector for aiohttp
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n aiohttp_socks-%{version}
|
||||
dos2unix README.md
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# tests need access to the internet
|
||||
#%%pytest
|
||||
|
||||
# so try at least a simple import
|
||||
%python_exec -c 'from aiohttp_socks import ProxyConnector'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/aiohttp_socks
|
||||
%{python_sitelib}/aiohttp_socks-%{version}*-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user