Search
SailfishOS Open Build Service
>
Projects
>
home:nephros
:
devel
:
python
>
python3-websockets
> python3-websockets.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-websockets.spec of Package python3-websockets
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.32 # Name: python3-websockets # >> macros # << macros %define srcname websockets Summary: library for building WebSocket servers and clients in Python Version: 12.0 Release: 0 Group: Applications License: BSD-3-Clause URL: https://pypi.org/project/websockets/ Source0: https://files.pythonhosted.org/packages/w/%{srcname}/%{srcname}-%{version}.tar.gz Source100: python3-websockets.yaml BuildRequires: pkgconfig(python3) BuildRequires: pyproject-rpm-macros BuildRequires: python3dist(pip) BuildRequires: python3dist(toml) BuildRequires: python3dist(tomli) BuildRequires: python3dist(packaging) BuildRequires: python3dist(wheel) %description %{summary}. %if "%{?vendor}" == "chum" PackagerName: nephros Categories: - Library Icon: https://raw.githubusercontent.com/aaugustin/websockets/main/logo/icon.svg Url: Help: https://websockets.readthedocs.io/en/stable Donations: https://tidelift.com/funding/github/pypi/websockets %endif %define ignore_this_macro please %generate_buildrequires %pyproject_buildrequires %prep %setup -q -n %{srcname}-%{version} # >> setup # << setup %build # >> build pre %pyproject_wheel # << build pre # >> build post # << build post %install rm -rf %{buildroot} # >> install pre %pyproject_install # << install pre # >> install post # this breaks if install fails: %pyproject_save_files %{srcname} # << install post %files -f %{pyproject_files} %defattr(-,root,root,-) %doc README.rst # >> files # << files