package created using the webbuild interface [release 3.3.4-1mamba;Tue May 11 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 10:45:45 +01:00
parent e8b43f6aad
commit df9134b7bf
2 changed files with 51 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-asgiref
ASGI specs, helper code, and adapters.

49
python-asgiref.spec Normal file
View File

@ -0,0 +1,49 @@
Name: python-asgiref
Version: 3.3.4
Release: 1mamba
Summary: ASGI specs, helper code, and adapters
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/django/asgiref/
Source: https://pypi.debian.net/asgiref/asgiref-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(typing-extensions)
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n asgiref-%{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
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/asgiref-%{version}-py*.egg-info
%{python_sitearch}/asgiref-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* Tue May 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.4-1mamba
- package created using the webbuild interface