package created using the webbuild interface [release 3.2-1mamba;Sat Oct 15 2016]

This commit is contained in:
Davide Madrisan 2024-01-05 16:52:25 +01:00
parent 6be31a4764
commit 7951dec3de
2 changed files with 53 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-websocket-client
Websocket client for Python.

View File

@ -0,0 +1,51 @@
Name: python-websocket-client
Version: 0.37.0
Release: 1mamba
Summary: Websocket client for Python
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://github.com/liris/websocket-client
Source: https://github.com/liris/websocket-client/archive/v%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%if 0%{?with_pyver}
BuildRequires: libpython%{?with_pyver}-devel
%else
BuildRequires: libpython-devel
%endif
BuildRequires: libpython-devel
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n websocket-client-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%doc LICENSE README.rst
%changelog
* Sat Oct 15 2016 Davide Madrisan <davide.madrisan@gmail.com> 3.2-1mamba
- package created using the webbuild interface