forked from pool/python-txWS
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
f87813cf36 | |||
c4ce424e19 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 4 06:08:04 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 29 15:35:52 UTC 2023 - pgajdos@suse.com
|
Mon May 29 15:35:52 UTC 2023 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-txWS
|
# spec file for package python-txWS
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -21,7 +21,6 @@ Version: 0.9.1
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Twisted WebSockets wrapper
|
Summary: Twisted WebSockets wrapper
|
||||||
License: X11
|
License: X11
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/MostAwesomeDude/txWS
|
URL: https://github.com/MostAwesomeDude/txWS
|
||||||
Source0: https://files.pythonhosted.org/packages/source/t/txWS/txWS-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/t/txWS/txWS-%{version}.tar.gz
|
||||||
# https://github.com/MostAwesomeDude/txWS/commit/9e3a2a464b1c908086c82b293c271e58196f83df
|
# https://github.com/MostAwesomeDude/txWS/commit/9e3a2a464b1c908086c82b293c271e58196f83df
|
||||||
@@ -31,8 +30,10 @@ Patch0: python-txWS-no-python2.patch
|
|||||||
# https://github.com/MostAwesomeDude/txWS/commit/05aadd036a7d9a0959c0d915a139779706e960d7
|
# https://github.com/MostAwesomeDude/txWS/commit/05aadd036a7d9a0959c0d915a139779706e960d7
|
||||||
Patch1: python-txWS-tobytes.patch
|
Patch1: python-txWS-tobytes.patch
|
||||||
BuildRequires: %{python_module Twisted}
|
BuildRequires: %{python_module Twisted}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module vcversioner}
|
BuildRequires: %{python_module vcversioner}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-pyupgrade
|
BuildRequires: python3-pyupgrade
|
||||||
@@ -48,10 +49,10 @@ adding WebSockets server support to Twisted applications.
|
|||||||
%autosetup -p1 -n txWS-%{version}
|
%autosetup -p1 -n txWS-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -65,7 +66,8 @@ sed -i 's:\(challenge = \)\(.*\):\1b\2:' tests.py
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGELOG.rst README.rst
|
%doc CHANGELOG.rst README.rst
|
||||||
%{python_sitelib}/tx{WS,ws}*
|
%{python_sitelib}/tx{WS,ws}.py
|
||||||
%{python_sitelib}/__pycache__
|
%pycache_only %{python_sitelib}/__pycache__/tx{WS,ws}*.pyc
|
||||||
|
%{python_sitelib}/tx{WS,ws}-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user