forked from pool/python-wsproto
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
be1b82bc1c | |||
9ae456ab89 | |||
2caf1273ee | |||
cef270033b |
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 13 02:42:47 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 29 21:14:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- spec file cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:38:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-wsproto
|
||||
#
|
||||
# Copyright (c) 2023 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
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-wsproto
|
||||
Version: 1.2.0
|
||||
@@ -28,7 +26,9 @@ Group: Development/Languages/Python
|
||||
URL: https://pypi.python.org/pypi/wsproto
|
||||
Source: https://files.pythonhosted.org/packages/source/w/wsproto/wsproto-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-h11 >= 0.9.0
|
||||
@@ -57,10 +57,10 @@ RFC6455 and Compression Extensions for WebSocket via RFC7692
|
||||
%autosetup -p1 -n wsproto-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -69,6 +69,7 @@ RFC6455 and Compression Extensions for WebSocket via RFC7692
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/wsproto
|
||||
%{python_sitelib}/wsproto-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user