forked from pool/python-python-socks
Accepting request 1096796 from home:ecsos:python
- Add %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/request/show/1096796 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-socks?expand=0&rev=8
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-python-socks
|
||||
Version: 2.1.1
|
||||
Release: 0
|
||||
@@ -49,7 +48,7 @@ directly. It is used internally by aiohttp-socks and httpx-socks packages.
|
||||
|
||||
%check
|
||||
# try at least a simple import
|
||||
echo 'from python_socks import ProxyType' | python3
|
||||
echo 'from python_socks import ProxyType' | $python
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
Reference in New Issue
Block a user