From df9134b7bfa133a946624ce218dd0024a353ba79 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:45:45 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.3.4-1mamba;Tue May 11 2021] --- README.md | 2 ++ python-asgiref.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 python-asgiref.spec diff --git a/README.md b/README.md index bb37f63..8579c6f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-asgiref +ASGI specs, helper code, and adapters. + diff --git a/python-asgiref.spec b/python-asgiref.spec new file mode 100644 index 0000000..82a228a --- /dev/null +++ b/python-asgiref.spec @@ -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 +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 3.3.4-1mamba +- package created using the webbuild interface