From 307f8b3c7ddb11b1923fedc5f444837e91f22fb5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:48:52 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.7.4.3-1mamba;Mon Jan 25 2021] --- README.md | 2 ++ python-typing_extensions.spec | 51 +++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 python-typing_extensions.spec diff --git a/README.md b/README.md index 7ad3b44..cbcd1aa 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-typing_extensions +https://pypi.org/project/typing-extensions/. + diff --git a/python-typing_extensions.spec b/python-typing_extensions.spec new file mode 100644 index 0000000..3180517 --- /dev/null +++ b/python-typing_extensions.spec @@ -0,0 +1,51 @@ +Name: python-typing_extensions +Version: 3.7.4.3 +Release: 1mamba +Summary: https://pypi.org/project/typing-extensions/ +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pypi.org/project/typing-extensions/ +Source: https://pypi.debian.net/typing-extensions/typing_extensions-%{version}.tar.gz +License: Python Software Foundation License +## AUTOBUILDREQ-BEGIN +BuildRequires: python3 +## AUTOBUILDREQ-END +BuildRequires: libpython-devel +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%if 0%{?with_pyver} +%define py_requires_append \ +Requires: python-typing%{?pyappend:-%pyappend} +%pyver_package +%endif + +%prep +%setup -q -n typing_extensions-%{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 "s,.*/man/.*,&.gz," %{name}.filelist + +%files %{?pyappend} -f %{name}.filelist +%defattr(-,root,root) +%doc LICENSE + +%changelog +* Mon Jan 25 2021 Silvan Calarco 3.7.4.3-1mamba +- package created using the webbuild interface