Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 80857acb86 | |||
| 4b6330629a |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 12 12:06:15 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 4 22:57:54 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-siosocks
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,8 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-siosocks
|
||||
Version: 0.3.0
|
||||
Release: 0
|
||||
@@ -26,11 +24,13 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/pohmelie/siosocks
|
||||
Source: https://files.pythonhosted.org/packages/source/s/siosocks/siosocks-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest-trio}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module trio}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-trio
|
||||
@@ -59,19 +59,20 @@ Sans-io (https://sans-io.readthedocs.io/) socks 4/5 client/server library/framew
|
||||
%setup -q -n siosocks-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%check
|
||||
# hangs for unclear reason (January 2022)
|
||||
%pytest -k 'not test_connection_socks_success'
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%doc readme.md
|
||||
%license license.txt
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/siosocks
|
||||
%{python_sitelib}/siosocks-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user